Commit Graph

78 Commits

Author SHA1 Message Date
Zoryn Aaron 51d293e29e adds 'obsolete' tag to deprecated things. these things will need to be removed in the future. compatability should not be effected. 2016-03-21 14:33:10 -04:00
Zoryn Aaron bda9adc353 adds first update tick 2016-03-21 01:57:42 -04:00
Zoryn Aaron ab0fdb76b0 adds some new events for the update loop 2016-03-20 20:52:26 -04:00
Zoryn Aaron 17021ae351 commit things 2016-03-20 18:50:31 -04:00
Zoryn Aaron b47f3a7e23 Content paths removed. Mods need to define their own. 2016-03-20 17:51:49 -04:00
Zoryn Aaron cb9cdad62d adds support for old-style mods that don't use manifest. It will be removed in future version 2016-03-20 17:45:45 -04:00
Zoryn Aaron 47178d9641 tick version counter 2016-03-20 17:25:37 -04:00
Zoryn Aaron f0cb2c0e63 converted mod loading to a manifest structure. mods now go in ./Mods/<MODNAME>/ - in there you need a 'manifest.json' and your dll. See trainermod for example. 2016-03-20 17:19:02 -04:00
Zoryn Aaron cee85c8888 config all setup. 2016-03-20 16:30:44 -04:00
Zoryn Aaron 2be0c20ff7 don't ignore packages what's wrong with you 2016-03-20 15:47:50 -04:00
Zoryn Aaron c50891a093 Zoryn returns. Added JSON. Added Config.cs. 2016-03-20 15:43:31 -04:00
ClxS d367b0a7bc Updated readme. Switched on Optimise Code switch. It only have minimal impact in C#, but might as well. 2016-03-12 22:35:45 +00:00
Carl 1b6244c087 Merge pull request #15 from Jtfinlay/master
Use choose to select build location
2016-03-08 16:51:23 +00:00
James Finlay 626452834f Perf improvements
- The original '+=' of the GetHash method was taking ~10% of CPU usage for the game. This should improve performance considerably.

 - The next largest CPU usage we care about is the 'GetHash' method that gets called very often. Pulling the objects.GetHash() out will reduce hits on the method.
2016-03-07 21:47:52 -08:00
James Finlay dbe648486d Use choose to select build location
- Supports by reference & env var
2016-03-07 19:02:53 -08:00
ClxS eebbab0e1e Updated version, and stopped TrainerMod spamming the window with "Cyan" 2016-03-07 17:37:08 +00:00
ClxS 0462c9de79 Finished gamepad input events 2016-03-07 17:25:51 +00:00
ClxS 71bcfc11de Partially completed events for gamepad input 2016-03-07 13:49:45 +00:00
ClxS 49090c98fc Fixed mod content path not being set correctly. Fixed object draw code. Custom objects can now be placed and show up correctly. 2016-03-06 23:28:32 +00:00
James Finlay bfd8d04766 Reverting GetFolderPath change 2016-03-06 14:04:22 -08:00
James Finlay 93112cbb32 Additional cleanup
- Moved Version & static strings to 'Constants' class
 - Cleaned out unused code that is not being used
2016-03-06 13:58:40 -08:00
James Finlay 04abcec53c Quick fixes 2016-03-06 12:51:22 -08:00
James Finlay ac8b738985 Merge 2016-03-06 12:25:14 -08:00
James Finlay 65c7c9b733 Basic refactor of Main
- Moved sections of Main out into: ConfigureUI, ConfigurePaths, ConfigureInjector, ConfigureSDV, GameRunInvoker
2016-03-06 12:19:59 -08:00
ClxS bfe6537f84 Added KeyReleased event 2016-03-06 19:46:47 +00:00
ClxS 1fbbd653a2 Added version.cs 2016-03-06 16:48:43 +00:00
ClxS 55b5770718 Readded Program.cs Logging commands but with Obsolete attribute 2016-03-06 15:54:09 +00:00
James Finlay 0e24d862a9 Resolving conflict
- Cleaning up two trailing vars from Program that are no longer being used
2016-03-05 10:20:40 -08:00
James Finlay bae7878ecd Merge branch 'master' into release 2016-03-05 10:10:35 -08:00
James Finlay 64a0552aea Merge remote-tracking branch 'upstream/master' 2016-03-05 10:08:33 -08:00
ClxS b417604466 Removed StardewInjector. That'll go in it's own testing branch when we get around trying to integrate it. 2016-03-05 12:14:53 +00:00
James Finlay a5a32e148b Pulled Logs into new Log object
- Greatly simplifies Program.cs
 - Removed the 'Colour' method so that logging is more consistent for users - willing to discuss this change. I believe it is beneficial.
 - Added uses of #DEBUG
2016-03-04 22:55:47 -08:00
James Finlay 9420dfb071 Modify default steam path
- Tries to read from ENV variable 'SteamInstallPath'.
 - We can investigate  using a choose for normal Steam installation paths, this'll be better for now than having to modify the csproj for every dev.
2016-03-04 20:17:42 -08:00
ClxS ed3bf29600 A few small clean ups and removed a lot of the readme until I think of what to put there 2016-03-04 22:21:16 +00:00
ClxS b8a9f8fc88 Added event handlers for each of the level up events 2016-03-04 20:40:46 +00:00
ClxS 4712da9f2d Improved Inventory Changed command to show which items were added/removed/alteredQuantity 2016-03-04 20:20:58 +00:00
ClxS 210db71a92 Fixed bug due to accidental early commit 2016-03-04 19:14:19 +00:00
ClxS c145e5f727 Added event for Inventory change 2016-03-04 19:10:39 +00:00
ClxS afef5648ca Refactored all of the events into their own categories 2016-03-04 14:05:36 +00:00
ClxS ec81b3306e Merged Zoryn4163/master into master 2016-03-04 13:27:22 +00:00
cjones 0887a0a22a Deleted unwanted files. Ideally these would not be in source control. 2016-03-04 13:16:50 +00:00
Zoryn Aaron a2e3039c27 i can't find a way to support #14 2016-03-03 17:08:40 -05:00
ClxS c488d35b94 Merged Feature_AdditionalEventHandlers 2016-03-03 20:42:53 +00:00
ClxS d741f46aab Added event for when item is placed on ground 2016-03-03 20:36:53 +00:00
ClxS f77e922ad0 Merged Zoryn4163/master into master 2016-03-03 20:17:40 +00:00
Zoryn 9a1b910ea3 resync for merge conflicts 2016-03-03 15:06:25 -05:00
Zoryn de3f161a49 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Release/StardewModdingAPI.exe
#	StardewModdingAPI/Program.cs
#	StardewModdingAPI/StardewModdingAPI.csproj

#	StardewModdingAPI/obj/x86/Debug/StardewModdingAPI.csproj.FileListAbsolute.txt
#	TrainerMod/bin/Debug/TrainerMod.dll
#	TrainerMod/obj/Debug/TrainerMod.dll
2016-03-03 14:04:29 -05:00
Zoryn eee4e9c0fe updates to change working location 2016-03-03 14:01:32 -05:00
ClxS de0cd2ac50 Forgot to remove unneeded BlankEventHandler 2016-03-03 18:55:36 +00:00
ClxS 4e26cb7abc Resolved static analysis issues
Standardised event handlers so there's less hassle with future changes
2016-03-03 18:50:22 +00:00