Commit Graph

2951 Commits

Author SHA1 Message Date
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
Carl d65c97ab48 Merge pull request #16 from Jtfinlay/dev
Perf improvements
2016-03-08 16:51:13 +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 38f59b079e Updated readme 2016-03-07 17:41:39 +00: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 ba6420efac Updated readme to be a little less shouty 2016-03-07 14:36:11 +00:00
ClxS dcda664c83 Updated readme 2016-03-07 14:35:24 +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
Carl 8bf9e74096 Merge pull request #9 from Jtfinlay/dev
Main refactor
2016-03-06 22:32:55 +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 126ce53618 Updated readme. Small change to prevent trainermod using copy-local 2016-03-06 18:01:52 +00:00
ClxS bc84a66a6f Updated readme 2016-03-06 17:53:37 +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
ClxS ff96bba617 Merge pull request #4 from Jtfinlay/release
Logging refactor
2016-03-06 15:26:04 +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 14b59117a7 Reverting .sln changes.... 2016-03-04 23:01:45 -08: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
Zoryn 7fa375ea66 Merge pull request #18 from ClxS/Feature_AdditionalEventListeners
Added event for when item is placed on ground
2016-03-03 16:40:53 -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 7adcb3930f Updated StardewInjector to target x86 to remove MSIL warning 2016-03-03 20:20:30 +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
ClxS d3f0e00db9 Updated gitignore to ignore C# and VS files 2016-03-03 19:56:54 +00:00
ClxS 4d737740d0 Deleted bin\Debug and obj\Debug 2016-03-03 19:54:26 +00:00
ClxS ef9bb45e2d Fixed warning by TrainerMod using AnyCPU 2016-03-03 19:06:44 +00: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