Commit graph

126 commits

Author SHA1 Message Date
Gered b28498fae6 extend methods by which the correct assets path is "discovered" 2013-08-25 13:21:51 -04:00
Gered c72838c7fd add state manager OnUnload call in BasicGameApp 2013-08-25 13:02:15 -04:00
Gered 17f41fe218 fix how OnUnload and OnLostContext game app callbacks are invoked
The game app's callbacks should fire before the framework object's
equivalent callbacks are called (since most of those will forcefully
free resources that the game app should be given the chance to deal with
itself first)
2013-08-25 13:01:58 -04:00
Gered 52a262659f refactor forceful state/process removal code. add OnUnload callback to StateManager 2013-08-25 13:00:26 -04:00
Gered bce646819d add method to remove tile animation sequences 2013-08-25 12:44:39 -04:00
Gered 2825e9feb6 add TextureAtlasTileAnimator (ported) 2013-08-25 12:35:16 -04:00
Gered f9386ed8cf add Image constructor/copy method overloads accepting a Rect 2013-08-25 11:25:49 -04:00
Gered faf5d09ca1 add tile grid addition support to CustomTextureAtlas 2013-08-25 10:47:06 -04:00
Gered d1f874e32f move texture atlas classes into a separate namespace 2013-08-25 10:40:44 -04:00
Gered 860a10237a sillyness 2013-08-24 22:36:33 -04:00
Gered f48a599411 remove unused field 2013-08-24 22:18:58 -04:00
Gered 1ceecdc6b5 add some missing direction/axis constants 2013-08-24 22:18:17 -04:00
Gered 060b1c7ab2 minor code cleanups, and use fast inverse square root in a few places 2013-08-24 22:12:58 -04:00
Gered d008ce4875 add fast inverse sqrt method 2013-08-24 20:08:26 -04:00
Gered 70acec6b0f add pixel scaler support to Camera's 3D coordinate projection 2013-08-24 19:30:54 -04:00
Gered dfe2b59156 add basic pixel scaler support to SpriteBatch 2013-08-24 19:25:09 -04:00
Gered b04f7b52c1 add "retro" pixel scaler (chunky pixels style) 2013-08-24 19:23:02 -04:00
Gered 90d4885d71 add pixel scaler support to ViewContext 2013-08-24 19:12:06 -04:00
Gered 12f9270636 add ScaledViewport property 2013-08-24 19:10:18 -04:00
Gered 621017aa58 add a default "no scale" orthographic scaler implementation 2013-08-24 19:01:05 -04:00
Gered c5d996a5e9 add orthographic screen dimensions pixel scaler interface 2013-08-24 19:00:43 -04:00
Gered 28abc219d5 add specific Add method overloads for local/global screen effects 2013-08-24 18:33:06 -04:00
Gered 03a71a52ab switch test GameApp to use BasicGameApp and game states/processes instead 2013-08-24 18:27:03 -04:00
Gered 5b45f2c71e add BasicGameApp 2013-08-24 18:26:30 -04:00
Gered c7afe523ef ScreenEffectManager's render callbacks should wrap effect render calls with SpriteBatch begin/end itself 2013-08-24 18:26:10 -04:00
Gered 35399fd724 ScreenEffects are active by default 2013-08-24 18:23:13 -04:00
Gered de552d03d3 fix game state/process instantiation 2013-08-24 18:17:20 -04:00
Gered 2547677649 ScreenEffectManager now passes off a "service-located" SpriteBatch object to it's effects 2013-08-24 16:29:56 -04:00
Gered db4802beda remove IGameApp dependencies. game app code can use services as needed
This could perhaps backfire (regarding coupling), but I think in the
end that this will have more 'pros' then 'cons' ...
2013-08-24 16:24:38 -04:00
Gered 9f929e8f12 add service locator interface 2013-08-24 14:52:38 -04:00
Gered e141ddae9b better way of handling types 2013-08-24 14:22:30 -04:00
Gered cbec3ddd90 register main framework objects as services with ServiceContainer 2013-08-24 14:10:21 -04:00
Gered a5a83dd7dc add Gwen UI input processor and renderer implementations (ported) 2013-08-24 13:56:15 -04:00
Gered 6e13c6434e add some common graphics content loader implementations 2013-08-24 11:32:10 -04:00
Gered 76d5a4288a add ported content/asset management code 2013-08-24 11:18:39 -04:00
Gered d777598a5d add GwenCS reference 2013-08-23 18:59:52 -04:00
Gered fd799ead02 solution namespace naming policy changes 2013-08-23 18:08:15 -04:00
Gered 5536f5f654 code formatting 2013-08-23 18:04:56 -04:00
Gered 2aff66eac9 rename Platform to Framework 2013-08-23 18:02:02 -04:00
Gered dd609aa7ee add game app init/shutdown callbacks 2013-08-22 23:02:17 -04:00
Gered eddd69f091 add port of game state and process management code 2013-08-22 22:55:10 -04:00
Gered 018e19b25f rename EffectManager 2013-08-22 22:54:45 -04:00
Gered d6cbc2bf98 Frustum now depends on a Camera instead of a ViewContext 2013-08-22 19:48:35 -04:00
Gered bd55407132 move GL20 object into GraphicsDevice object 2013-08-22 19:43:31 -04:00
Gered ec724c78e5 minor and mostly unnecessary "cleanups" 2013-08-22 19:15:02 -04:00
Gered 42d98d4261 replace uses of TryGetValue with the Get extension method for readability 2013-08-22 18:56:51 -04:00
Gered aac2663b77 add dictionary extension methods 2013-08-22 18:46:12 -04:00
Gered 166c735640 logging output adjustments 2013-08-22 18:36:16 -04:00
Gered d6809cadb5 add ServicesContainer object to IApplication 2013-08-22 18:34:52 -04:00
Gered eaccf9f875 add base application "shutdown" event 2013-08-22 18:34:16 -04:00