Commit graph

206 commits

Author SHA1 Message Date
Gered 07fd5baa8e allow zero length VBO
For when we, upon initially creating the object, don't know what the
size should be, but will need be calling Extend() when we do know.
2013-08-27 21:14:01 -04:00
Gered 7fcf8d88a0 crappy "fix" for vertex buffer sizing problem - manually track the "real" count of vertices
Need to properly fix this in VertexBuffer itself, problems with how
the extending / remaining space calculations work (or at least, our
current usage of them)
2013-08-25 22:28:08 -04:00
Gered c8be3f5c8f fix incorrect render call 2013-08-25 22:26:50 -04:00
Gered cb60306944 add TileMap and Chunk renderers 2013-08-25 21:50:27 -04:00
Gered 03c7a83471 missed probably the most important call ... 2013-08-25 19:57:20 -04:00
Gered c48e99127a add Tile.GetTransformationFor() overload returning a nullable Matrix4x4 2013-08-25 19:56:23 -04:00
Gered 4946006e8d use ref parameters in a few more places where able 2013-08-25 19:53:34 -04:00
Gered d20837e199 add ChunkVertexGenerator 2013-08-25 19:50:37 -04:00
Gered e1b5cb9c0c add TileMap 2013-08-25 18:49:14 -04:00
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