Commit graph

169 commits

Author SHA1 Message Date
Gered 2487670cc3 rename EventHandler to avoid naming conflict with other .NET event stuff 2013-08-22 12:45:12 -04:00
Gered 8098ea057d add port of event manangement code 2013-08-22 12:35:16 -04:00
Gered 6d27325155 remove "new()" generic type constraints, mimic using reflection 2013-08-22 12:33:35 -04:00
Gered d4b861dd58 add ObjectPools helper to manage multiple pools for different types automatically 2013-08-22 10:39:28 -04:00
Gered 4d49304ec4 add some basic object pooling support 2013-08-22 10:13:41 -04:00
Gered b22d442343 add bit manipulation extension methods 2013-08-22 09:30:57 -04:00
Gered 4d43be4d8f fix incorrect attribute index 2013-08-22 09:00:13 -04:00
Gered 9bf514d7bd woops! 2013-08-18 20:14:27 -04:00
Gered 6863966bb3 display the current render interpolation value for debugging purposes 2013-08-18 20:14:14 -04:00
Gered 3c2810873b calculate and pass a proper render interpolation value in the main loop 2013-08-18 20:13:42 -04:00
Gered 31cd186cb7 add GraphicHelpers 2013-08-18 20:11:04 -04:00
Gered 4ae0ef4c08 add non-ref overloads to GeometryDebugRenderer 2013-08-18 20:10:54 -04:00
Gered 6e5d8f08ba fix bug in how render/update time is tracked 2013-08-18 18:09:24 -04:00
Gered d748563b8d render fps-related stats to the screen 2013-08-18 18:03:28 -04:00
Gered a7dba64e18 add StringBuilder extension methods to allow garbage-free number appends 2013-08-18 17:44:02 -04:00
Gered 8831788f14 add SpriteBatch text rendering method overloads accepting a StringBuilder directly 2013-08-18 17:01:58 -04:00
Gered ab33f3bfe4 add BillboardSpriteBatch render overloads with non-ref arguments for laziness 2013-08-18 16:13:03 -04:00
Gered 1a7566d28c refactor SpriteBatch render overloads a bit, and add non-ref variants for laziness 2013-08-18 15:58:10 -04:00
Gered 44a871f4e0 simple free-flying camera boring-ness 2013-08-18 14:20:42 -04:00
Gered 19193ffd2f code formatting 2013-08-18 14:19:57 -04:00
Gered 7d8a917998 run input device post-update callbacks 2013-08-18 14:19:41 -04:00
Gered 1ecbd29546 update SDL2# library 2013-08-18 14:19:23 -04:00
Gered e400adba0b add FreeMovementCamera 2013-08-18 13:11:31 -04:00
Gered 9d9203c625 add FlatWireframeGrid helper class 2013-08-18 13:07:47 -04:00
Gered c8253221ea add BillboardSpriteBatch 2013-08-18 13:04:39 -04:00
Gered 86cef6a5dd don't call OpenGL methods directly from core game code unless needed 2013-08-18 12:59:55 -04:00
Gered 2461a7ca26 add SpriteBatch 2013-08-18 12:59:17 -04:00
Gered d53ed4147e add custom shader support classes (based off the "standard" shader types) 2013-08-18 12:53:18 -04:00
Gered b48a13757b add platform-independant interface for loading Image objects from streams. add SDL backend support
SDL2# does not include anything suitable for using Streams with, so we
just use System.Drawing instead for now
2013-08-18 11:54:22 -04:00
Gered a914c2bcab add support for selecting an OpenGL context version via the SDL configuration object 2013-08-17 23:49:23 -04:00
Gered 9ecc28e61b call important GraphicsDevice events in BaseApplication 2013-08-17 23:39:12 -04:00
Gered 2550d1c13e change log tag strings 2013-08-17 23:28:34 -04:00
Gered 82236acfa7 add GraphicsDevice object to the application object. minor adjustments to make it easier to clean up platform-independant "system" objects 2013-08-17 23:08:09 -04:00
Gered 044bf67f46 add GraphicsDevice class and all other classes necessary to support it
based on ported code
2013-08-17 22:43:29 -04:00
Gered 63132f52cd update PortableGL library (again!) 2013-08-17 22:42:47 -04:00
Gered cc696c6411 add TrueTypeSharp library 2013-08-17 18:53:16 -04:00
Gered 8befa7adb6 update PortableGL library 2013-08-17 18:32:16 -04:00
Gered c7b00469ae forgot to remove these too 2013-08-17 18:10:36 -04:00
Gered 78e1a0df25 should be private 2013-08-17 18:09:22 -04:00
Gered 71fb739670 log tag const changes 2013-08-17 18:08:44 -04:00
Gered 6b6c4b6436 erm, we were already disposing of GameApp ! 2013-08-17 18:07:51 -04:00
Gered 76a8d77e2a rename classes named using "looper" to "application" 2013-08-17 18:06:24 -04:00
Gered fe789ffab1 dispose method logging 2013-08-17 18:00:44 -04:00
Gered 26ed52d390 add method to signal a main loop exit from the game app class 2013-08-17 18:00:34 -04:00
Gered b7af755418 code organization 2013-08-17 17:54:50 -04:00
Gered e239c5d1ee rename logger interface 2013-08-17 17:51:18 -04:00
Gered 7e193e493a rename const 2013-08-17 17:50:23 -04:00
Gered fe8fe1f766 add window object property 2013-08-17 17:49:43 -04:00
Gered ba5872a1de don't really need the full (external) window dimensions, just the client-area stuff 2013-08-17 17:48:14 -04:00
Gered de5d96068a logging of events 2013-08-17 17:47:41 -04:00