1
0
forked from 0ad/0ad
0ad/source/tools/atlas
janwas 6cc0b1649a robustified GetPatch / GetTile:
- clarify the meaning of mapSize (patchesPerSide)
- use a single ClampCoordToMap function for clamping
- add annotations to all call sites when it is sure they will succeed
- otherwise, ensure return value is checked or at least add debug_assert
fixes #311 (successfully built house and dock at top of latium map)
thanks to Heron for tracking down the cause!

This was SVN commit r7183.
2009-11-08 16:49:52 +00:00
..
AtlasFrontends Add GPL header to Atlas code 2009-06-20 16:13:29 +00:00
AtlasObject Fixed Linux build issue 2009-06-26 21:49:46 +00:00
AtlasScript Attempt to fix type ambiguity (http://www.wildfiregames.com/forum/index.php?showtopic=12546) 2009-08-03 09:50:23 +00:00
AtlasUI Use extended regexps instead of advanced, for portability 2009-09-11 16:41:18 +00:00
DatafileIO Add GPL header to Atlas code 2009-06-20 16:13:29 +00:00
GameInterface robustified GetPatch / GetTile: 2009-11-08 16:49:52 +00:00
wxJS Fixed wxJS GetKeyState. Fixed crash when manipulating a destroyed button. 2009-07-02 11:47:32 +00:00