Commit graph

33 commits

Author SHA1 Message Date
Gered 9bd3a42744 add extremely basic support for opening files in more modes then reading
The "storage path" idea needs to be fleshed out quite a lot more still.
Ideally it should be pointing to OS-specific application-writeable
locations (e.g. ~/Library/Application Support/$APP_NAME/)
2013-08-29 23:14:56 -04:00
Gered b28498fae6 extend methods by which the correct assets path is "discovered" 2013-08-25 13:21:51 -04:00
Gered f48a599411 remove unused field 2013-08-24 22:18:58 -04:00
Gered cbec3ddd90 register main framework objects as services with ServiceContainer 2013-08-24 14:10:21 -04:00
Gered 2aff66eac9 rename Platform to Framework 2013-08-23 18:02:02 -04:00
Gered ec724c78e5 minor and mostly unnecessary "cleanups" 2013-08-22 19:15:02 -04:00
Gered eaccf9f875 add base application "shutdown" event 2013-08-22 18:34:16 -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 6e5d8f08ba fix bug in how render/update time is tracked 2013-08-18 18:09:24 -04:00
Gered 19193ffd2f code formatting 2013-08-18 14:19:57 -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 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 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 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 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 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 37f8d8e1b0 initial commit 2013-08-13 17:55:26 -04:00