Commit Graph

14 Commits

Author SHA1 Message Date
161dce6d25 any_items() -> any_preset_items() 2025-06-11 18:52:57 -05:00
bdf1b8a4a8 undo clear items 2025-06-04 09:56:00 -05:00
a77e009780 Town details suggest number of hostiles for thrash number 2025-05-19 21:41:14 -05:00
780dd3a3b9 Jaen's fortress start hidden and re-hide after you kill Jaen 2025-05-11 10:51:36 -05:00
2aaad3b4a8 Save unlocked doors. (Fix #207) 2025-05-11 10:49:54 -05:00
c48a92e3c6 Fix preset item ID being stored as a short instead of an item_num_t 2025-03-16 14:03:53 -04:00
6965b822dc Gather all enchantment info into a single place
This also resolves several TODO notes about duplicate code and makes cPresetItem::ability an eEnchant
2024-09-10 22:18:59 -04:00
9931ef8ffe const-correctness in scenario classes 2023-01-22 17:25:16 -05:00
2492610ec7 Reading and writing saved games now uses the new tagfile system.
This should avoid any format inconsistencies, like missing newlines and the like.
Although a basic save and load works, there may still be some issues with the format.
This probably renders older saved games incompatible.
The format is mostly the same, but there are a few small changes
in the name of making the format more uniform.
2023-01-18 00:54:39 -05:00
479cfb75f6 Fix improper loading order with saved games 2020-01-02 00:28:52 -05:00
fd8bd913cc Fix monsters killed in town not being initialized,
resulting in garbage values after loading a saved game
2019-12-01 14:36:14 -05:00
4ad85936d3 Fix use of a static bitset to record whether items (in a dynamic vector) have been taken 2019-11-23 12:31:30 -05: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