Commit graph

197 commits

Author SHA1 Message Date
Gered c9938b7805 add TileChunk 2013-08-25 18:23:14 -04:00
Gered 8ffa17555b add TileContainer base class 2013-08-25 17:37:03 -04:00
Gered 3b146aa99f add TileMeshCollection 2013-08-25 16:57:40 -04:00
Gered 5a8217f9e3 i knew there was a reason i didn't have these overloads originally... 2013-08-25 16:38:06 -04:00
Gered 2c027e0ced fix porting mistake 2013-08-25 16:34:55 -04:00
Gered a482945da3 add CubeTileMesh 2013-08-25 16:33:24 -04:00
Gered 0f3e57b9f5 add additional common vertex attribute declaration 2013-08-25 16:33:13 -04:00
Gered 14edf14d39 add bounding volume constructor overloads to copy from other instances 2013-08-25 16:32:58 -04:00
Gered 2ccdb391bc add texture coordinate scaling helper methods 2013-08-25 16:01:55 -04:00
Gered 96246f47c1 add TileMesh base class 2013-08-25 15:43:36 -04:00
Gered 6e5bae1246 add TileRawDataContainer interface 2013-08-25 15:33:04 -04:00
Gered 0ab14cf49f add Tile class 2013-08-25 15:31:25 -04:00
Gered c1c1ecdfb7 add specific exception for content manager / loader errors 2013-08-25 15:04:14 -04:00
Gered 340bebe354 add specific exception for errors when parsing config files 2013-08-25 15:01:39 -04:00
Gered c9b6279c2a add specific exception class for errors when using the service locator 2013-08-25 14:59:31 -04:00
Gered 825cee0dfc add overload which supports automatically picking out the directory name and using it as a texture path for loading an atlas's texture file with 2013-08-25 14:36:49 -04:00
Gered 2eaea03dba add support for loading a texture atlas from a JSON file 2013-08-25 14:28:11 -04:00
Gered 46e0c96757 add Json.NET PCL library 2013-08-25 14:17:04 -04:00
Gered 247137383d resizeable window 2013-08-25 13:22:59 -04:00
Gered d3e771525b set working directory to the solution directory 2013-08-25 13:22:48 -04:00
Gered b604885c95 whitespace 2013-08-25 13:21:58 -04:00
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