Commit Graph

3144 Commits

Author SHA1 Message Date
cff8200f02 make give/take gold/food DRY 2025-02-16 21:41:47 -05:00
9dcfa511a5 Merge pull request #620 from NQNStudios:spec-strings
I really didn't like the get_strs() function in boe.special.cpp which always had to get 2 strings at a time even if you only needed 1 or were going to need 6 total. I made all that code DRY and less horrifying.

I also fixed some crash bugs in various string dialogs.
2025-02-16 21:41:26 -05:00
6916752a8a fix crash when no strings defined 2025-02-16 19:33:58 -06:00
8b873ffea5 fix crash bug when editing single text 2025-02-16 19:33:57 -06:00
c4e1ff7f0d Make getting scenario strings DRY 2025-02-16 19:33:52 -06:00
920fa0d27b fix syntax in scenario.xsd 2025-02-16 10:11:30 -05:00
8cff2428a9 DRY advanced town help. Fix #611 2025-02-16 00:02:22 -05:00
0f6aa4f139 Merge pull request #571 from NQNStudios:scale-text
Gorgeous text in scaled mode

Fix #316
2025-02-15 22:54:31 -05:00
d218cda8c4 Cut pre-baked buttons out of sprite sheets 2025-02-15 16:45:25 -06:00
83ae5eaa1b make Done & Race buttons use scaled text 2025-02-15 16:15:33 -06:00
f2248c766e Allow line-wrapped button labels 2025-02-15 16:14:31 -06:00
9c70859244 Fix C++11 compiler error 2025-02-15 15:16:39 -06:00
78d10987fe draw scale-aware text onto RenderTextures 2025-02-15 15:16:15 -06:00
6fa63307b1 Draw scale-aware text onto windows 2025-02-15 15:12:25 -06:00
8ab451f633 delete unused sf::Text 2025-02-15 15:12:17 -06:00
02ef9111cd fix help-debug formatting with proper line breaks 2025-02-15 16:04:32 -05:00
7383b39e69 Debug action: Preview every dialog layout 2025-02-15 16:04:32 -05:00
ea69bea57e clean up 'Number of Dice/sides' squashed texts 2025-02-15 16:04:32 -05:00
ec4094cf29 Fix line breaks being ignored. Fix #608 2025-02-15 16:04:32 -05:00
ff65ddbb69 Fix Visual Studio undefined behavior test errors 2025-02-15 16:04:14 -05:00
a18f754e11 Visual Studio launch tests with correct cwd 2025-02-15 16:04:14 -05:00
cfbb09a008 Merge pull request #587 from NQNStudios:fix-ranged-anim
Fix some ranged attack animation bugs

Fix #582
Fix #97
2025-02-15 16:03:51 -05:00
149666f522 resolve 2 TODOs in dialogxml 2025-02-15 12:13:34 -05:00
de818699bc note which dialogs need relative positioning redos. 2025-02-15 12:13:34 -05:00
950652db68 remove outdated info from help-inventory 2025-02-15 11:01:07 -06:00
b82acea0cb reorganize and update the help-hints dialog 2025-02-15 11:00:57 -06:00
1ac6aeda05 scenario editor warn about outdated help windows 2025-02-15 11:00:19 -06:00
5294b5434a Make Scenario: mention that outdoor sections can be added later 2025-02-15 11:35:35 -05:00
0a3951fadc Some minor layout adjustments to the edit terrain and monster dialogs.
I decided it wasn't worth converting them to relative positioning at this time.
2025-02-15 11:35:35 -05:00
66256b305c Delete the "make shop random" button in favour of a preset selection when first creating the shop - this also adds "healing" to the list of presets 2025-02-15 11:33:40 -05:00
65cf27bc81 Reorganize Advanced Town Details and add some instant help
It now uses relative positioning as well.

Fix #546
2025-02-15 11:33:40 -05:00
34b9db0aaa Reorder elements in some dialogs in logical order - no functional changes 2025-02-15 11:33:39 -05:00
46c102257b make give_help()'s force_help a bool arg 2025-02-15 11:19:44 -05:00
18a425be0d cPlayer give_help use bool flag instead of function pointer 2025-02-15 11:19:44 -05:00
576a40b3e1 make give_help() DRY 2025-02-15 11:19:44 -05:00
d3dff69d1a Fix a help dialog that appears in the top-left 2025-02-15 11:19:44 -05:00
e83ad32618 VS2013 Add Catch/Clara include directories 2025-02-15 00:08:41 -05:00
90a1519b0b VS2013 projects use vcpkg manifest mode 2025-02-15 00:08:41 -05:00
769bb2ee97 VS2017 projects use manifest mode 2025-02-15 00:08:41 -05:00
01822a4bb8 fix scons validation warning 2025-02-15 00:08:14 -05:00
3bd8874147 make all targets compile text-based pref handling in prefs.cpp
mac replays use preference std::map
2025-02-14 09:54:33 -05:00
1d25b447e7 fix typo in mac preference recording code 2025-02-14 09:54:32 -05:00
3a5cc4ead4 catch a replay system do_load edge case crash 2025-02-14 09:54:32 -05:00
a3ddff55aa add was_replaying to track how the game started 2025-02-14 09:54:32 -05:00
aed913a7f4 use bool_to_str 2025-02-14 09:54:32 -05:00
404f364053 recenter camera 1/2way into missile arc if sooner 2025-02-13 09:51:36 -06:00
fa1d9a7442 don't frame active PC when out-of-bounds in ranged anim 2025-02-13 09:50:20 -06:00
ab0eada20d explosion anims clip within terrain screen 2025-02-13 09:50:13 -06:00
318f430917 clip missiles when they go beyond the ter screen 2025-02-13 09:49:59 -06:00
d49a96dc03 & of non-intersecting rectangles is empty 2025-02-13 09:49:23 -06:00