Commit Graph

58 Commits

Author SHA1 Message Date
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -05:00
bf6a314433 Fix thrown/missile weapon crash 2025-03-30 11:51:14 -05:00
8ae88a4ce6 apply target lock to offensive spells as default-off cSpell field 2025-03-19 19:31:25 -05:00
01ad3c5622 some targeted spells shouldn't shift screen onto enemies 2025-03-19 19:31:25 -05:00
c897aa55a8 fix graphical errors during do_explosion_anim() 2025-03-19 19:31:23 -05:00
8adcfed051 don't recenter target screen on enemies party can't see 2025-03-19 19:31:20 -05:00
ea4ca83bf4 don't print light mask in release builds 2025-03-16 14:03:53 -04:00
4ebb8e890c Make target-lock a feature flag 2025-03-06 21:35:48 -05:00
3e10e2923b Move camera to show the most possible targets in range 2025-03-06 21:35:48 -05:00
Nathan R
598fd4836a Fixed up: Move file-static RenderWindow and RenderTexture instances inside functions to fix GL race condition on startup (#682) 2025-03-06 19:40:40 -05:00
3689adcc12 Fix text bar flicker. Fix #602 2025-02-23 19:09:53 -05:00
9bfe8e3f12 -1 is supposed to be no face pic (#645)
Fix #74
2025-02-20 20:02:56 -05:00
dbf5822590 Add hotkey in top-left corner of shop item. Fix #624 (#630) 2025-02-18 20:40:36 -05:00
78d10987fe draw scale-aware text onto RenderTextures 2025-02-15 15:16:15 -06:00
8ab451f633 delete unused sf::Text 2025-02-15 15:12:17 -06:00
404f364053 recenter camera 1/2way into missile arc if sooner 2025-02-13 09:51:36 -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
3188f2ed9b sensible camera handling for ranged attacks 2025-02-13 09:48:16 -06:00
f94abd3575 Make getting terrain screen rects DRY 2025-02-13 09:47:37 -06:00
7ac994f97f help button don't blink when i click a talk word 2025-02-06 08:44:38 -06:00
48089a95bf record and replay now-distinct shop click events 2025-02-04 12:43:58 -06:00
4c9a4b4fb2 fix done/help buttons disappearing 2025-02-04 12:39:02 -06:00
673de75c73 separate args to highlight text and item help button 2025-02-04 12:29:52 -06:00
2314e9e5b4 fix clip_rect when drawing pressed shop graphics 2025-02-04 12:09:26 -06:00
3ad647c700 Fit preset talk word click rects. Fix #566 2025-02-04 08:48:18 -06:00
df02f79ab8 fix explosions breaking old replays 2025-01-16 16:53:36 -06:00
34dd31cf51 Remove 3 obsolete settings 2024-12-03 09:44:40 -05:00
79c295127a fix ellipse alignment within visible tiles 2024-11-30 18:17:22 -05:00
dbdb1fc3f3 clean up comments and arithmetic 2024-11-30 18:17:22 -05:00
462d2d1e4a Fosnola's lighting adjustments
Co-authored-by: fosnola <osnola@users.sourceforge.net>
2024-11-30 18:17:22 -05:00
21afd4466d Fix word highlight (#484)
Quick fix #481
2024-11-23 14:08:01 -05:00
71a9d11cd0 Gather all alchemy info into a single place 2024-09-10 22:18:59 -04:00
846789df73 record and replay buying and info of shop items 2024-09-03 00:08:26 -04:00
7a5c865779 record and replay dialog choices 2024-09-03 00:08:26 -04:00
7791380a9a refactor dialogue word button on/off colors to constants 2024-09-03 00:08:26 -04:00
ALONSO Laurent
c02dde4925 talk: try to make "Go Back" and the keys work again,
shopping: try to make work again,
2023-01-21 22:21:52 -05:00
2d1bbe0058 Move get_item_interesting_string() into the cItem class 2023-01-19 09:32:07 -05:00
ALONSO Laurent
f2584f4133 try to remove some "flickering" by using setActive(false)/setActive() and adding
a glFlush...
2023-01-06 13:46:21 -05:00
5b2561d034 Disable header maps in Xcode 12 2022-07-12 20:35:41 -04:00
f14c99f14b Split out cContainer, cLed, and cLedGroup into their own files 2020-12-21 17:16:15 -05:00
259e4ac125 Adjust the hilited string rendering to be less reliant on mysterious magic numbers
It still adds a mysterious offset to all text, but the returned rectns are now perfectly aligned to redraw the hilited string.
2020-12-19 17:32:46 -05:00
19250e9b94 Remove an obsolete variable 2020-02-23 23:25:23 -05:00
x-qq
b4bb2dce13 restore click_shop_rect until a better functionality is available 2020-02-11 15:49:49 +02:00
x-qq
158de40ce3 Fix unclickable shop info icons 2020-02-11 11:35:14 +02:00
b8492a29b0 Extract shopping/talking colours to global constants
Adapted from patch by @clort81
2020-02-07 20:39:13 -05:00
37e10ed3ad Make missile animations slower
They were running at max frame rate, making them too fast to see on most modern machines.

Except the 5ms increment, this patch is from @x-qq
2020-02-04 00:20:55 -05:00
72bd8265fa Game modes cleanup
- Fix some cases where modes were still referenced by number
- Replace most cases of mode range-comparison with is_out(), is_town(), and/or is_combat()

There could be some minor errors in the replacements.
2020-02-04 00:02:08 -05:00
14e2597108 Expose the shared pointer instead of the raw pointer in the resource manager and rewrite the custom sheets list to use a vector instead of manual memory management
In particular, this should fix a segmentation fault in the sound system caused by the resource manager pulling a resource that's in use.
2020-01-26 15:10:57 -05:00
542c037342 Integrate a new resource manager which should have better performance 2020-01-26 11:53:19 -05:00