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
2870d8d561
Fix target-lock V2 crash
2025-05-11 10:51:33 -05: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
d49a96dc03
& of non-intersecting rectangles is empty
2025-02-13 09:49:23 -06:00
f24283e0e2
location helper functions for camera work
2025-02-13 09:47:57 -06:00
aea043a9e7
rewrite optional match logic to satisfy mac compiler
2025-01-15 23:05:53 -05:00
d7d06db50d
parse location with optional parens
2025-01-15 23:05:53 -05:00
54050a7cbb
Actually validate syntax characters in location/rect extraction operator
2024-08-27 09:49:21 -04:00
e9b4aae524
istream parse rectangles
2024-08-24 20:04:29 -04:00
a13e7cdc3b
replace atoi with std::stoi
2024-08-09 02:06:31 -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
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