Commit Graph

3850 Commits

Author SHA1 Message Date
b72bf8f7a8 shrink talk text when it doesn't fit 2025-08-25 08:50:49 -05:00
53608ad148 big monsters check whole footprint for safety. Fix #757 2025-08-25 08:50:49 -05:00
0de2b08bcc big monsters don't take extra field damage from multiple of same 2025-08-25 08:50:49 -05:00
eb9b0e6cf1 fix monster field infliction logic. Fix #765 2025-08-25 08:50:49 -05:00
988c8a67f7 fix empty monsters in activate_groups() 2025-08-25 08:50:49 -05:00
b1ce73fd74 Don't draw trims on top of characters in combat 2025-08-25 08:50:49 -05:00
172adbc93c fix word highlighting where substitutions are used 2025-08-25 08:50:47 -05:00
305387989e apply substitutions when calculating line wrapping 2025-08-25 08:50:30 -05:00
9d2fa230fc delete obsolete branch which caused unintended roads to draw 2025-08-25 08:50:30 -05:00
f76391d692 Fix walkway trims. Fix #136 2025-08-25 08:50:30 -05:00
3542ffb7ba reuse RenderTexture 2025-08-25 08:50:30 -05:00
27c6f57abf Fix replaying scenario list with recursive scenario folder structure 2025-08-25 08:50:30 -05:00
8e4800885a bounds check when importing legacy journal entry 2025-08-25 08:50:30 -05:00
c1aa404e02 resize vector2d to have room for legacy load 2025-08-25 08:50:30 -05:00
c3fa18af73 blank out scen_name on legacy record if not in_scen 2025-08-25 08:50:30 -05:00
754c690328 ignore quote at start of scen name alphabetical 2025-08-25 08:50:30 -05:00
e600fa245d Scenario picker handle names with first character numeric 2025-08-25 08:50:30 -05:00
712042adae loading scen headers, skip parts of legacy load that may error 2025-08-25 08:50:30 -05:00
97e1263287 A couple more fmtlib uses 2025-08-19 19:51:58 -04:00
8c2b3d5375 A few more fmtlib uses 2025-08-19 19:51:58 -04:00
af75e581c7 This should fix a couple warnings seen in the Linux CI 2025-08-19 19:51:58 -04:00
436276e02b Fix some uses of deprecated SFML API 2025-08-19 19:51:58 -04:00
2c28b226bc More fmtlib uses 2025-08-19 19:51:58 -04:00
ecc3f24bf6 More use of fmtlib 2025-08-19 19:51:58 -04:00
c0d6b7a83f Use fmtlib for spell info in shops 2025-08-19 19:51:58 -04:00
b0d1c0dbfb Use fmtlib for Capture Soul message 2025-08-19 19:51:58 -04:00
9780067808 Use fmtlib for some command-line errors 2025-08-19 19:51:58 -04:00
db4a00da7c More uses of fmtlib.
This file has some other things that could probably use fmtlib, but they're a bit tangled up and I don't feel like untangling them right now.
2025-08-19 19:51:58 -04:00
486e435422 Use fmtlib for journal and quest info 2025-08-19 19:51:58 -04:00
3dd9fae202 Use /utf-8 for Windows cl builds 2025-08-19 19:51:58 -04:00
a233eeb853 Use fmtlib for startup screen stats. 2025-08-19 19:51:58 -04:00
fe1b0cfad3 Use fmtlib to construct the teaser1 string 2025-08-19 19:51:58 -04:00
3e2d987902 VSCode likes adding every possible standard C++ header to the file association list. I generally just roll with it, so here's the current list. 2025-08-19 19:51:58 -04:00
32c81f277e Use fmtlib for job bank and scenario picker descriptions. 2025-08-19 19:51:58 -04:00
3c82a4e74d Avoid duplicate messages with the new damaged_msg function 2025-08-19 19:51:58 -04:00
faa1a81306 Avoid message duplication with the new spell_note function. 2025-08-19 19:51:58 -04:00
7451e25739 Rework spell notes and several other common messages.
* Spell notes are now an enum instead of a magic integer.
* The functions are now defined in iLiving instead of cCreature, meaning they can be called on PCs.
* They now use fmtlib to interpolate the name.
* A creature attacking themself now prints "Name attacks themself" instead of "Name attacks Name".
2025-08-19 19:51:58 -04:00
a4b30a9843 Convert more buffer messages to fmtlib 2025-08-19 19:51:58 -04:00
731c2d60d6 Convert some buffer messages to use fmtlib. 2025-08-19 19:51:58 -04:00
6073b3a8f4 Add fmtlib to MSBuild 2025-08-19 19:51:58 -04:00
0fc5eb8dd9 Add fmtlib to scons 2025-08-19 19:51:58 -04:00
f91c52ee5d Pull in fmtlib as a dependency 2025-08-19 19:51:58 -04:00
390fe3ad63 Allow CI to be triggered from command-line 2025-08-12 09:52:44 -04:00
b7b72e2129 Add build tasks to the Visual Studio Code workspace file to enable building with MSBuild in VSCode. 2025-08-03 19:01:50 -04:00
66c29fdd34 Hilite the hovered element in the types palette. 2025-08-02 01:43:15 -04:00
3bb416b1e4 Adjust scenario editor scroll bar size/positioning.
FIxes #772
2025-08-02 01:10:54 -04:00
e9212db929 Rename function for consistency of naming style 2025-08-02 01:03:35 -04:00
bf46b235eb For some reason, the compiler was allowing assignment to these returned locations. That has no effect and is broken, so add const to prevent it. 2025-08-02 00:33:41 -04:00
2c1e52364d It seems that a no-op function was somehow substituted for the correct one, so let's fix that. 2025-08-01 23:31:26 -04:00
dfba555a05 Fix all compiler warnings in the game code. 2025-08-01 23:30:21 -04:00