Commit Graph

2183 Commits

Author SHA1 Message Date
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
54ac26b4da allow parsing locations 2024-07-28 17:07:33 -04:00
945a4f14a0 fix command-line arg docs 2024-07-28 17:07:33 -04:00
3020a7ba1b add src/tools to xcode header search path 2024-07-28 17:07:33 -04:00
5131f852f2 xcode add cppcodec to search paths 2024-07-28 17:07:33 -04:00
0527494f60 add cppcodec to visual studio include paths 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
542822885c action log has_next_action() 2024-07-28 17:07:33 -04:00
b37c8e8532 add cppcodec header library for base64 2024-07-28 17:07:33 -04:00
20f762f031 refactor without raw pointers 2024-07-28 17:07:33 -04:00
189ffe89dc try adding replay.cpp to xcode projects 2024-07-28 17:07:33 -04:00
77ff65b14e visual studio projects add new files 2024-07-28 17:07:33 -04:00
09640e444a include string and sstream directly 2024-07-28 17:07:33 -04:00
9e3a50597b all scons platforms add src include directories 2024-07-28 17:07:33 -04:00
27d35ed7dc don't double-compile ticpp.cpp 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
3f69819c35 don't save preferences when replaying 2024-07-28 17:07:33 -04:00
7ea9810b09 windows and linux record preferences at startup 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
7cb1770059 Fix #314 2024-07-06 00:21:47 -04:00
695e62559f Merge pull request #376 from NQNStudios/dry-dialog
Fix some repetitive code in dialogs
2024-07-06 00:06:03 -04:00
010c3c0b39 cDialog DRY recursive relative positioning code 2024-07-03 19:24:58 -06:00
f2b7372b15 make click sound handling DRY 2024-07-03 18:42:20 -06: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
5d73325621 Merge pull request #371 from NQNStudios/mac-fix
More homebrew search paths in Mac Scons
2024-06-23 02:09:33 -04:00
9ae81ca5b6 Merge pull request #370 from NQNStudios/mac-resolution-fix
Fix fullscreen window sizing on MacOS HighDPI display
2024-06-23 01:53:47 -04:00
73fc5be123 More homebrew search paths in Mac Scons 2024-06-19 21:13:55 -06:00
cc781e98be Fix fullscreen window sizing on MacOS HighDPI display 2024-06-19 20:33:36 -06:00
1efefd7cae Merge pull request #363 from NQNStudios/command-line-args
Fix silent crash on Windows & Standardize command line arguments
2024-06-13 08:23:34 -04:00
e74f1e1ca0 standardize cross-platform command line args for the editors 2024-06-12 22:38:50 -06: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
fa3d092dc9 check for ui initialization without game-only global var 2024-06-12 12:51:03 -06:00
a45b34ec42 all platforms load party from command line 2024-06-12 12:28:42 -06:00
8ddb99361d showError() use console when UI is not ready 2024-06-12 12:26:27 -06:00
4a7d145168 Fix win scons (#359)
* fix a link flag
* another hack to find weirdly named libraries
* Fix handling VCRedistInstall.exe
* add src folders to win-scons include paths
* use path.join
* more weird library suffixes
* fix old python syntax in an SConscript file
* find vcpkg libraries and headers
* add icon dir to windows include paths
* remove non-recursive os.listdir line
* remove bad lib paths
* tools build with env["bits"]
* hard-code vcvarsall.bat path, with a note
* pass in other lib paths
* fix syntax without trying to use f-strings
* more bundled libs on windows
* add bin folders for windows installation to find dlls
* fix CheckLib stuff
* test scons pass X86 correctly
* make 64-bit builds the default for scons
* add package flag for building installers
2024-06-12 13:52:19 -04:00
e344542b39 Merge pull request #358 from NQNStudios/dialog-scale-2
naively scale dialogs by ui scale
2024-05-31 01:53:36 -04:00
b3cc666e9e Merge pull request #357 from NQNStudios/local-build-improvement-redo
Local build improvement redo

Closes #330
2024-05-31 01:52:46 -04:00
f8f5e05669 naively scale dialogs by ui scale 2024-05-30 21:01:31 -06:00
cfea88d59c use path.join instead of + 2024-05-30 20:37:22 -06:00
11451a731d print a note about .sconsign.dblite on clean 2024-05-30 20:15:45 -06:00
bceb8f478d use correct debug build flags (fix #343) 2024-05-30 20:15:45 -06:00
1249f4b21d when building tests, make sure to clone Catch2 2024-05-30 20:15:45 -06:00