Commit Graph

3824 Commits

Author SHA1 Message Date
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
afb9554eda Fix all scenario editor compiler warnings except the ones in the Boost.Process header. 2025-08-01 23:25:22 -04:00
6b98992920 win-scons CI use windows-2022 2025-07-03 07:29:45 -04:00
e4de1672ab redirect 7-zip check to NUL
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com>
2025-07-03 07:29:45 -04:00
95e0cfc1c5 Fix call_focus_handlers arg behavior. Fix #768 2025-07-03 07:29:45 -04:00
50793aa79e Do not move/delete files if 7-zip not installed 2025-07-03 07:29:45 -04:00
c95790b8b1 Note that 7-zip is required
Fix #769
2025-07-03 07:29:45 -04:00
6da3074598 fix logic error when Call Global Node is used in edit stack 2025-06-22 17:12:22 -05:00
846202720b flip && operands 2025-06-22 16:59:01 -05:00
1f49703905 Custom graphics: cancel handles ALL 2025-06-22 16:57:10 -05:00
47ae32aaa9 update UI and code to clarify that out wandering locs are shared 2025-06-22 11:19:13 -05:00
8ffd3f2ef6 Update code and UI to clarify that town wandering locs are shared 2025-06-22 10:17:36 -05:00
f846a14548 revert bad change -- never save empty items/creatures 2025-06-21 17:56:52 -05:00
81d95d5801 undo/redo for creating area description rects 2025-06-21 17:39:02 -05:00
5ca8121be9 undo/redo for town bounds and saved item rects 2025-06-21 17:19:58 -05:00
c1b8ab90a0 undo/redo for clearing special nodes 2025-06-21 16:59:06 -05:00
4dbec05b3c undo/redo for create/edit special 2025-06-21 16:51:41 -05:00
96c7d8924c support loops in the edit stack 2025-06-21 15:57:06 -05:00
db153316f1 make edit_stack a vector 2025-06-21 15:00:19 -05:00
bcb1d4a055 undo/redo for deleting special nodes 2025-06-21 14:25:27 -05:00
8ad0044761 undo/redo for creating strings 2025-06-21 13:31:27 -05:00
5b0806467a undo/redo for deleting non-location strings 2025-06-21 12:52:31 -05:00
b2c69554f3 fix undo/redo edit town text and outdoor text 2025-06-21 12:29:39 -05:00
66d6e197b9 undo/redo for clearing non-location strings 2025-06-21 12:20:12 -05:00
a37931121c undo/redo for editing all string types 2025-06-21 12:10:20 -05:00
db62203017 undo/redo for clear location string 2025-06-21 11:34:34 -05:00
69c7e4a293 undo/redo for talk nodes handle edit stack 2025-06-20 17:15:30 -05:00