Commit Graph

12 Commits

Author SHA1 Message Date
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
cf5ce53721 Fix a case where target lock is annoying 2025-05-11 10:49:41 -05:00
704e724fe9 use doubles in rectangle scaling 2025-05-11 10:49:24 -05:00
8f95a9311e Allow scaling rectangle delegates by floats
This fixes talk-mode word hit boxes for 1.5x UI scale
2025-05-06 15:24:13 -05:00
f24283e0e2 location helper functions for camera work 2025-02-13 09:47:57 -06:00
e9b4aae524 istream parse rectangles 2024-08-24 20:04:29 -04:00
54ac26b4da allow parsing locations 2024-07-28 17:07:33 -04:00
8a2cfbae7e Fix some issues rendering animated terrains in dialogs, and avoid a crash if a graphics sheet cannot be found 2023-01-30 00:07:25 -05:00
f2b438d5c5 const-correctness in location/rectangle 2023-01-29 23:37:34 -05:00
ALONSO Laurent
7ce1ba22b1 spec_loc_t: force .spec to be initialized... 2023-01-06 20:04:02 -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
82abdab695 Major code reorganization
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.

A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00