Commit Graph

120 Commits

Author SHA1 Message Date
3f96328736 Implement Go Back stack for talk mode. Fix #726 2025-05-11 10:50:08 -05:00
b877bcffc5 use extra space when there is no scrollbar in shop window 2025-05-11 10:50:06 -05:00
51e6da15e2 Truncate alchemy ingredients if overlapping recipe cost 2025-05-11 10:50:06 -05:00
30e77633e4 Fix item name rect stealing clicks from ID button 2025-05-11 10:50:05 -05:00
93d8e0054e fix invisible clickable preset words when end forced 2025-05-11 10:50:01 -05:00
cdb5b01657 Fix 2nd dialog string lingering when asking preset talk word 2025-05-11 10:50:01 -05:00
5fcba5cdc3 fix replay autosave file picker 2025-05-11 10:49:59 -05:00
7de9d8a8bb Fix replay fancy file picker 2025-05-11 10:49:59 -05:00
d6c7303d52 fix BUY_SDF talk nodes 2025-05-11 10:49:56 -05:00
51086ca6b0 when replaying fancy file picker don't pass 'DUMMY', just close 2025-05-11 10:49:52 -05:00
796b48f978 fix bug where manual save overwrote auto 2025-05-11 10:49:48 -05:00
bb4aae1285 move get_str and get_strs into universe (shared code) 2025-05-11 10:49:35 -05:00
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -05:00
8b14519fa5 Fix funny message: can't give to dead pcs because 'no item slot' 2025-05-11 10:49:16 -05:00
447f9739a4 Remove RepeatRoomDescriptions, which never did anything
Fix #712
2025-05-06 15:24:13 -05:00
9e67aa09ce Fix logic of the 'Newer' autosave indicator 2025-03-30 11:51:14 -05:00
599f1030f2 Allow PC to accept item that will stack, even if slots full 2025-03-19 19:31:32 -05:00
07bbf1b8ef Refactor mode integer for select_pc (see calref#699) 2025-03-19 19:31:26 -05:00
03e5ee59c6 select_pc() allow_choose_all argument, eliminate overloaded version 2025-03-19 19:31:21 -05:00
8c48cbab4f useful functions for control text manipulation 2025-03-19 19:31:18 -05:00
851b58b312 In Save As, Enter should save with the text field name 2025-03-19 19:31:16 -05:00
48ab580993 Fix already_started arg 2025-03-16 14:03:53 -04:00
2053381ea9 rename and invert the 'manual' arg to 'preview' in load_party() 2025-03-16 14:03:53 -04:00
e3e93a43bf new save file field save state when page changes 2025-03-16 14:03:53 -04:00
fd9ac5ab04 Fix buttons and labels of pages>1 in file picker 2025-03-16 14:03:53 -04:00
0a9a79b586 watch cursor when scenario picker is building headers 2025-03-16 14:03:53 -04:00
512aeb6e1a watch cursor when file picker is loading parties 2025-03-16 14:03:53 -04:00
5cfc6ba328 Fix all the compile warnings that occur on Mac.
(Except the OpenGL deprecation warning and some warnings coming from Boost.Process.)
2025-03-08 20:43:04 -05:00
c60d151ed3 If autosave prefs open before autosave check, use default 2025-03-07 08:43:20 -05:00
568b5dbe65 file picker display when a file is corrupt 2025-03-07 08:43:19 -05:00
531384844e Better function name for cStack changeSelectedPage() 2025-03-07 08:43:19 -05:00
b7a647c489 record and replay fake fancy file picker 2025-03-07 08:43:18 -05:00
d54c61f982 Autosave preferences 2025-03-07 08:43:17 -05:00
27e76e5ffb preference to still use OS file browser 2025-03-07 08:43:16 -05:00
18294b4f1b make fancy file picker function game-specific 2025-03-07 08:43:16 -05:00
53de92c932 autosave loading 2025-03-07 08:43:15 -05:00
2396637d23 Implement file picker load/save normal 2025-03-07 08:43:09 -05:00
d29093fcd8 Make cStack page forward/backward a member function 2025-03-07 08:31:36 -05:00
c9f79ba071 preferences add led for target-lock feature 2025-03-06 21:35:48 -05:00
9ca2f05c0b Don't display 'no item' response if another PC can shop. (#679)
These are the rules:

- If the active PC gets an empty shop, iterate from the first to last PC until finding someone who can see a shop item
    - If none can shop, show the 'no item' response
- When the active PC buys something, if this clears out the shop, iterate from the first to last PC until finding someone who can see a shop item
    - if none can see an item, stay on the empty shop of the PC that was active when the last item was bought.
- When shopping ends, if the shop interface was the last thing to change the player's active PC, it puts it back how it was.

Fix #669
2025-03-06 21:26:25 -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
46c102257b make give_help()'s force_help a bool arg 2025-02-15 11:19:44 -05:00
891cc2dbcf Help button don't hide if returning to talk mode. fix #64 2025-02-06 08:39:35 -06:00
cf79392762 highlight all of the cost text 2025-02-04 12:30:12 -06:00
673de75c73 separate args to highlight text and item help button 2025-02-04 12:29:52 -06:00
ddad32458e render shop highlights at non-offset positions 2025-02-04 12:16:23 -06:00
081d237cbf talking and shopping: don't pass click events forward
Fix #567
2025-02-04 08:59:55 -06:00
3ad647c700 Fit preset talk word click rects. Fix #566 2025-02-04 08:48:18 -06:00
54bab68497 Allow custom 'no items' response 2025-01-22 19:58:09 -05:00