Commit Graph

32 Commits

Author SHA1 Message Date
50149e728e you can manually insert extra files in scenario pack 2025-08-29 12:55:19 -05:00
971644c977 Fix replaying scenario list with recursive scenario folder structure 2025-08-25 08:40:54 -05:00
1df2dabe52 for legacy scenarios, help open readme or load prefab 2025-08-25 08:40:51 -05:00
665ff2f272 Include Bandit Busywork in custom scenarios section 2025-08-25 08:38:01 -05:00
74abab58fa ignore quote at start of scen name alphabetical 2025-08-25 08:38:01 -05:00
fe1b0cfad3 Use fmtlib to construct the teaser1 string 2025-08-19 19:51:58 -04:00
fd9132a0dd Implement key shortcuts to jump alphabetically in scen list.
Fix #336
2025-06-02 11:32:20 -05:00
abb19bbe15 find .EXS scenarios. fix #748 2025-05-25 15:30:35 -05:00
f0f08ae5a8 Replay test scenarios can be unpacked. Fix #603 2025-03-30 11:51:13 -05:00
a716fabd17 skip unpacked header.exs in build_scen_headers 2025-03-19 19:31:20 -05:00
6f14c01487 skip more for file load preview 2025-03-16 14:03:53 -04:00
c60d151ed3 If autosave prefs open before autosave check, use default 2025-03-07 08:43:20 -05:00
a4516883d0 allow different autosave defaults per-trigger. Eating: false 2025-03-07 08:43:18 -05:00
d54c61f982 Autosave preferences 2025-03-07 08:43:17 -05:00
5bc1643be7 Do autosaves 2025-03-07 08:43:15 -05:00
Nathan R
598fd4836a Fixed up: Move file-static RenderWindow and RenderTexture instances inside functions to fix GL race condition on startup (#682) 2025-03-06 19:40:40 -05:00
0afed5db59 A feature flag denotes whether a scenario uses the new or old format for its metadata. With the old format (legacy scenarios and openBoE scenarios created prior to this PR) everything displays in the scenario picker as before, and scenario designers get 2 text fields to display however they want, and 2 text fields that are pretty much useless.
With the new format, Author and Contact info are formatted onto the first line in the scenario picker display. The scenario designer gets 1 line to write a teaser.

Fix #593

Also fix a bug where scenario ratings were appearing as integers ingame instead of the correct "G", "PG", etc.
2025-03-02 01:09:03 -05:00
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