Commit Graph

8 Commits

Author SHA1 Message Date
ALONSO Laurent
3451c70fec all: use the function get_item which checks bounds... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
8951d0efc1 game: begin to use the get_terrain method, ... 2022-06-30 01:10:46 -04:00
C.W. Betts
b2c2ad8475 More migration to const & in legacy importing methods. 2022-06-30 01:10:44 -04:00
ALONSO Laurent
fef06cadec legacy[save]: try to improve the loading of a save... 2022-06-30 01:08:48 -04:00
7b93726383 Replace 4-character constants with enums
This covers only the places where they were used to indicate
a preset selection in constructors.

The usage in qdpict where they're actually passed to the Resource Manager,
as well as the 4-character constants representing file types and creator
codes, are still present.
2020-02-21 00:16:58 -05:00
x-qq
d314432664 fix uninitialized debug flags in universe 2020-02-11 15:34:29 +02:00
03c19fa7ec Use the new erase_completed_specials() function for towns too 2018-02-17 18:46:53 -05:00
82abdab695 Major code reorganization
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.

A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00