Commit Graph

27 Commits

Author SHA1 Message Date
ClxS e1bfd54894 Further test on injecting. Injecting a callback to the constructor and capturing the instance that way seems to work. 2016-03-10 20:13:57 +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
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
ClxS bfe6537f84 Added KeyReleased event 2016-03-06 19:46:47 +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
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 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 d741f46aab Added event for when item is placed on ground 2016-03-03 20:36:53 +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
Zoryn Aaron 659825ea78 pu to work from another location 2016-03-03 09:44:10 -05:00
Zoryn Aaron 250559d227 we can have more than 2 args in a command, c'mon brain 2016-03-02 23:38:51 -05:00
Zoryn Aaron 47fecbd81e more events 2016-03-02 22:54:37 -05:00
Zoryn Aaron 900c804c29 update for new event and other crap 2016-03-02 12:24:15 -05:00
Zoryn Aaron 63392a21e4 fixes my derping 2016-03-01 19:36:12 -05:00
Zoryn Aaron 069589db98 sloppy 0.3 release for network dll loads and separation of trainer 2016-03-01 18:44:41 -05:00
Zoryn Aaron c7ecc201bb partial implement of Required event handlers 2016-03-01 17:22:19 -05:00
Zoryn Aaron dddb8d129b i got it to draw without crashing im going to bed. custom content is still nyi don't try it yet 2016-03-01 02:16:35 -05:00
Zoryn Aaron f511c36ad3 HandsomeMatt pull request accepted 2016-03-01 01:37:56 -05:00
Zoryn Aaron 9a32b3afdd trying to get custom content working - do NOT try to implement cc yet 2016-03-01 01:35:52 -05:00
Zoryn Aaron 9f1ecbcd27 update 2016-02-29 13:22:24 -05:00
Zoryn Aaron e60ed21dc7 wow exposing private vars is annoying 2016-02-28 23:00:49 -05:00
Zoryn Aaron 524dc9e002 expose some private fields for modding 2016-02-28 22:16:32 -05:00