Commit Graph

750 Commits

Author SHA1 Message Date
441e077455 canceling a toolbar click don't trigger other action on release 2025-05-11 10:49:34 -05:00
4aabc97c7b try fix button stuck down 2025-05-11 10:49:33 -05:00
9d66199d03 debug builds log buffer messages to console 2025-05-11 10:49:33 -05:00
973cd71627 Replay errors show line number of action
I would have done this FOREVER ago but every time I looked
in ticpp for a way to get element file positions I somehow
missed Row() and Column()
2025-05-11 10:49:33 -05:00
2724c1bd6a Overhaul the text buffer 2025-05-11 10:49:32 -05:00
bbbe8b2fed add line break to buffer message that won't fit 2025-05-11 10:49:32 -05:00
07c15dc1e7 Fix window focus bugs for Windows 2025-05-11 10:49:31 -05:00
780e722076 Fix click events falling through handle_action 2025-05-11 10:49:31 -05:00
acee151bf2 Fix TODO note about too many wandering monsters 2025-05-11 10:49:30 -05:00
acc1b0d40a Fix empty wandering monster bug. Fix #723 2025-05-11 10:49:30 -05:00
bd13f2f75f Change & to && to resolve VS compiler warning 2025-05-11 10:49:30 -05:00
e8665fcd45 Fix talk/shop mode key shortcuts 2025-05-11 10:49:29 -05:00
752c10988f Print number of out-of-range node request 2025-05-11 10:49:28 -05:00
0001efabb3 Fix textbar graphical bug in some reload cases 2025-05-11 10:49:28 -05:00
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -05:00
a2f4c8a903 Move anama check for spellcasting 2025-05-11 10:49:27 -05:00
7b8750d0ff Don't autosave if long wait interrupted by poison etc. 2025-05-11 10:49:26 -05:00
d7c093fdeb bring back clip_rect in draw_targeting_line
This reverts commit 7c9b9ee255.
2025-05-11 10:49:25 -05:00
5d7f3088e9 move minimap logic out of dialog 2025-05-11 10:49:24 -05:00
daaca32e53 fix keyboard movement I broke & remove terrain_click array 2025-05-11 10:49:24 -05:00
06624d810c try to fix linker errors without new globals 2025-05-11 10:49:23 -05:00
d5ba8cb62c Return 0,0 in case that shouldn't happen 2025-05-11 10:49:23 -05:00
a53650f737 WIP standardize mouse position translation 2025-05-11 10:49:21 -05:00
4041d0c1b2 Let the minimap be hidden by other applications in focus 2025-05-11 10:49:21 -05:00
3ba9259482 Remember window positions as preferences 2025-05-11 10:49:21 -05:00
c89ea6aa45 Fix button label for one-time give item
It was Stay vs. Take
now it is Leave vs. Take
2025-05-11 10:49:20 -05:00
2c0a513107 Debug give item: remember the last 2025-05-11 10:49:20 -05:00
f0eabd3aeb Show charges for unidentified ammunition. Fix #718 2025-05-11 10:49:19 -05:00
3e1c2a9fb1 Debug give item: allow giving as unidentified 2025-05-11 10:49:19 -05:00
f633d6b9e2 rename variable in drop_item
it was probably copy/pasted from give_item and not changed
2025-05-11 10:49:18 -05:00
f6f58a4370 fix item duplication bug I caused 2025-05-11 10:49:18 -05:00
14943493dc Show combat buffer message before loading starts 2025-05-11 10:49:17 -05:00
86ca8c1173 watch cursor when outdoor combat is preparing 2025-05-11 10:49:17 -05:00
8b14519fa5 Fix funny message: can't give to dead pcs because 'no item slot' 2025-05-11 10:49:16 -05:00
3af79e80d3 Select-pc skill highlighting: don't count dead ones 2025-05-11 10:49:15 -05:00
9928608199 pacifist gray LEDs for spells that harm. Fix #711 2025-05-06 15:24:13 -05:00
447f9739a4 Remove RepeatRoomDescriptions, which never did anything
Fix #712
2025-05-06 15:24:13 -05:00
e7fe2a6546 remove unused rectangles in draw_targeting_line() 2025-05-06 15:24:13 -05:00
b25b851055 former_spell must be a reference everywhere std::bind uses it 2025-05-06 15:24:13 -05:00
80e045cfa3 3-choice dialogs make OK/Leave always leftmost" 2025-05-06 15:24:13 -05:00
6666a2753f custom choice dialogs Stay/Leave can't both use Enter Key.
And since depending on context they could both mean 'Cancel' but 'Leave' could be a positive action in some contexts, I've just given them no keys.
2025-05-06 15:24:13 -05:00
947787f5c6 fix a crash in some pacifist spell checks 2025-05-06 15:24:13 -05:00
fe69f57345 conveniently disable error catching to keep callstacks 2025-05-06 15:24:13 -05:00
85f49d15ae fix crash when monster targets PC with field spell 2025-05-06 15:24:13 -05:00
dcf6bb63d8 Fix how fatal errors are recorded 2025-03-30 11:51:15 -05:00
bf6a314433 Fix thrown/missile weapon crash 2025-03-30 11:51:14 -05:00
9e67aa09ce Fix logic of the 'Newer' autosave indicator 2025-03-30 11:51:14 -05:00
f0f08ae5a8 Replay test scenarios can be unpacked. Fix #603 2025-03-30 11:51:13 -05:00
c53b53d938 if file browser canceled, don't save replay log 2025-03-30 11:51:13 -05:00
8242c1e4bd replace buffer print which doesn't refresh with LOG() 2025-03-30 11:51:11 -05:00