Commit Graph

7 Commits

Author SHA1 Message Date
5b2561d034 Disable header maps in Xcode 12 2022-07-12 20:35:41 -04:00
46f1e6ed86 Extra caution to avoid a segfault in the sound system
The earlier commit mostly avoids it, but it was still theoretically possible to segfault
2020-01-26 17:19:06 -05:00
1a05d9c53f Fix the OpenAL assert on exit 2020-01-26 15:41:38 -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
b8669ac04a Fix play_sound function interpreting -65535 as sound 1.
It now correctly treats it as a sound that doesn't exist,
and plays nothing.
2019-12-01 14:22:39 -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