Commit Graph

15 Commits

Author SHA1 Message Date
ALONSO Laurent
5573e4eacd game: check if the active pc is killed in combat + update scenario name after
restoring a game...
2022-06-30 01:11:48 -04:00
Terane436
242fd65824 (partial merge of 97f0723a4c69580457a4e1ba4b0ff60ecd4e2621)
Preparations to support easily adding fields
2022-06-30 01:11:48 -04:00
ALONSO Laurent
c709d6ec6f game:
+ draw terrains: try to improve the display of the fields,
+ try to avoid flikering in the text messages' zone
+ get items: correct the bottom button hide/show
2022-06-30 01:10:46 -04:00
ALONSO Laurent
a253698aaa universe: try to simplify the code... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
0c269c420c add methods get_shop to check access bounds,
+ Scenario Editor: display all talk messages
2022-06-30 01:10:46 -04:00
ALONSO Laurent
f997771dbe all[quests]: add a function to protect access from bad index.. 2022-06-30 01:10:46 -04:00
ALONSO Laurent
15db88e723 all[special_items]: add a function to protect access from bad index... 2022-06-30 01:10:46 -04:00
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