Commit Graph

682 Commits

Author SHA1 Message Date
1d491e3b2a Address a dead store issue found by the static analyzer.
I kept this separate from the other dead store issues because it clearly changes behaviour – the change makes teleport_party NEVER play an animation in combat. Thus, in case the change is determined to be wrong, this is to document what happened and why.
2024-08-10 12:09:35 -04:00
104f6d6b0b Address some compiler warnings (Xcode 12)
* Missing prototypes
* Unused function parameters
* Float comparison in preferences
2024-08-10 12:06:11 -04:00
a202918d57 Address UB warnings found by the static analyzer 2024-08-10 11:56:51 -04:00
9f67015ffe Remove the 'normal speed' icon, which had always been unused in Blades of Exile
closes #387
2024-08-09 22:32:09 -04:00
4e6306b110 record and replay mods on startup buttons. fix #394 2024-08-09 19:47:15 -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
a13e7cdc3b replace atoi with std::stoi 2024-08-09 02:06:31 -04:00
fc12092a1b replace rand() and srand(). fix #390 2024-08-08 13:43:29 -04:00
95f1225108 fix #240 2024-08-03 19:28:02 -04:00
f9ccd2bb9a fix #148 2024-08-03 12:46:09 -04:00
09b2c0c822 move forward-declarations into boe.actions.cpp 2024-08-03 12:30:08 -04:00
0554149859 deque use non-const type parameter 2024-08-03 12:30:08 -04:00
bc89dad159 record and replay quitting the app 2024-08-03 12:30:08 -04:00
cc5823bbcd de-duplicate quitting logic 2024-08-03 12:30:08 -04:00
27db98a634 record/replay giving items 2024-08-03 12:30:08 -04:00
f3f1124bef record and replay dropping items 2024-08-03 12:30:08 -04:00
43350e4e09 handle several one-step actions 2024-08-03 12:30:08 -04:00
1e68d32543 DRY retrieval of some types from replay action 2024-08-03 12:30:08 -04:00
40cec6e861 move replaying into the event loop 2024-08-03 12:30:08 -04:00
d9cf1c8fae record and replay switching active PC 2024-08-03 12:30:08 -04:00
0a3aa97b59 Fix #318 2024-08-01 23:11:27 -04:00
afca0dc85d mac replay preferences 2024-07-31 19:58:19 -04:00
4d0806a9cf MacOS don't try to load 'record' or 'replay' 2024-07-31 19:58:19 -04:00
3c3a105ae4 make pop_next_action() return a reference 2024-07-28 17:07:33 -04:00
b7692c2fa6 use specific stringstream types 2024-07-28 17:07:33 -04:00
756cf658d6 when replaying, don't open file browsers 2024-07-28 17:07:33 -04:00
3744005f68 record and replay startup button clicks 2024-07-28 17:07:33 -04:00
d23d5c5857 replay movement actions 2024-07-28 17:07:33 -04:00
53d4bc2898 only record movement in recording mode 2024-07-28 17:07:33 -04:00
1640ba9a79 no spaces after ifs 2024-07-28 17:07:33 -04:00
37ca8188c1 record movement actions 2024-07-28 17:07:33 -04:00
945a4f14a0 fix command-line arg docs 2024-07-28 17:07:33 -04:00
047c471607 finish_load_party() 2024-07-28 17:07:33 -04:00
b749b6377a put decoded replay save in tempDir 2024-07-28 17:07:33 -04:00
31dcb26d9d WIP encode and decode save files in action logs 2024-07-28 17:07:33 -04:00
56169abaf5 Reorganize global replay code
Theoretically, the scenario and character editors could also have replay systems
2024-07-28 17:07:33 -04:00
196c5d784a allow providing base filename for log recording 2024-07-28 17:07:33 -04:00
cbfddc26ab pre-declare action log vars/functions for global use 2024-07-28 17:07:33 -04:00
669d7dcb5c record and replay srand() in an action log 2024-07-28 17:07:33 -04:00
c251fee834 Fix graphics flickering/stretching on Windows (#367)
* DRY, standardized window top offset
* handle_splash_events() handle multiple events per frame
* accurate windows menubar height for multiple rows
* Windows filter a resize event triggered by the menubar
* windows expand small window to fit menubar
* splash screens draw in view rect, not window rect
2024-06-27 08:40:34 -04:00
d6ae801203 fix #368 2024-06-24 21:47:14 -04:00
4fa4f0b92b remove args and windows logic from all set_up_apple_events 2024-06-12 22:38:31 -06:00
cb62505e8d reorder init calls to fix file loading 2024-06-12 15:35:54 -06:00
a45b34ec42 all platforms load party from command line 2024-06-12 12:28:42 -06:00
c691b908a6 Only hide left/right buttons for empty vector 2023-02-04 18:54:07 -05:00
35050aedc7 Some minor special node fixes 2023-01-30 00:10:56 -05:00
1ac7132733 Add option for move items node to pull from containers 2023-01-30 00:10:56 -05:00
0bfa325060 Refine and fix up numeric response node 2023-01-30 00:10:56 -05:00
49ea9da713 Rearrange spell pattern code to enable switch statements to make use of missing case warnings 2023-01-30 00:08:31 -05:00