Files
0ad/source/gui
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
..
2009-11-06 10:59:10 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-11-04 15:29:28 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-07-28 16:59:19 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-11-06 18:35:32 +00:00
2009-07-28 16:59:19 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-04-18 17:00:33 +00:00
2009-11-06 10:59:10 +00:00
2009-07-28 16:59:19 +00:00
2009-07-28 16:59:19 +00:00
2009-07-28 16:59:19 +00:00
2009-07-28 16:59:19 +00:00
2009-04-18 17:00:33 +00:00
2009-11-08 16:49:52 +00:00
2009-04-18 17:00:33 +00:00