Commit graph

206 commits

Author SHA1 Message Date
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
Gered 7e23c4d024 reorganize a bunch of platform-class stuff 2013-08-17 17:44:24 -04:00
Gered 6f7d3bfa40 reset the OpenTK OpenGL context when destroying the SDL OpenGL context 2013-08-17 16:48:11 -04:00
Gered fa9120c4ef fix SDL->key mapping 2013-08-17 15:41:50 -04:00
Gered 6e321c77f3 initial SDL platform implementation support
yay for code-dumps!
2013-08-17 15:15:24 -04:00
Gered 1b4abf1bfe add some basic SDL initialization and cleanup 2013-08-16 22:17:19 -04:00
Gered 469e460a31 add ILooper.Run 2013-08-16 21:42:19 -04:00
Gered cb56371ba2 add IGameApp interface 2013-08-16 18:43:25 -04:00
Gered 32f9203cee add ScreenOrientation 2013-08-15 19:42:49 -04:00
Gered 39283c095e expand IPlatformServices a bit 2013-08-15 19:13:49 -04:00
Gered e766bbf7bc add SDL logger implementation 2013-08-15 18:45:24 -04:00
Gered 42db6d83ae add SDL filesystem implementation 2013-08-15 18:41:41 -04:00
Gered 42a19a4008 add SDL input device class implementations 2013-08-15 18:33:07 -04:00
Gered 78ca2c5cb5 woops 2013-08-15 18:05:49 -04:00