Commit Graph

15 Commits

Author SHA1 Message Date
dea5a8af5b when replaying, find scenarios in replay test folder 2024-11-30 22:52:53 -05:00
636da00220 debug builds look for scenarios in test/replays/scenarios 2024-11-30 22:52:53 -05:00
43d31075a9 make build_scen_headers use cdata 2024-11-10 00:32:17 -05:00
f2469d1694 Fix crash when playing a replay with no custom scenarios 2024-08-22 21:53:27 -04:00
f8d319c550 replay the scenario list 2024-08-09 02:16:07 -04:00
740810d7d2 record installed scenario files 2024-08-09 02:16:07 -04:00
95f1225108 fix #240 2024-08-03 19:28:02 -04:00
c7c8f3fa77 Sanity pass of saved game format
This adds several fields to the saved game format that were simply missing.
- Monster boolean flags (for summons)
- Some missing monster ability details (for summons)
- Special on talk (for creatures)
- Max SP and morale (for creatures)
- Source scenario (for encounter notes)

It also changes the default resist to 0 instead of 100, meaning that
resistances will be saved almost always, but should be loaded correctly.

The target location is no longer saved for creatures.
There was already code that nulled it out after loading,
so now that just happens during loading instead.

The town active flags (belt_present and quickfire_present)
are now set during loading instead of after loading.

This changes the save format, so there will be minor incompatibilities.
In particular, monster health won't be loaded correctly from older saves.
2023-01-20 23:51:35 -05:00
5cd2ced8c2 Add cParty::is_in_scenario() 2023-01-20 09:07:24 -05:00
b422cdf429 Add some terrain bounds checking and some named constants 2023-01-18 20:08:56 -05:00
5b2561d034 Disable header maps in Xcode 12 2022-07-12 20:35:41 -04:00
093be0d99a Merge the two scenario selection dialogs
Now both preset and custom scenarios are joined using the "Start Scenario" button.
Preset scenarios still get special treatment.
2020-02-25 21:08:29 -05:00
7e7f3d2b81 Merge mac into windows 2017-08-27 23:37:37 -04:00
c2ce2a2cd1 Split up the graphtool files 2017-04-14 15:43:07 -04: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