b469b3aeea
Add a new class to encapsulate the file format used by save files
...
The class is not yet used in the wild, but does have a unit test
2023-01-04 19:57:12 -05:00
df631f6c3c
fix unit tests
2022-07-12 20:35:45 -04:00
5b2561d034
Disable header maps in Xcode 12
2022-07-12 20:35:41 -04:00
864aa95fea
Fix various compiler warnings
2022-07-05 09:29:15 -04:00
8d31c27d11
Fix unused element and unhandled switch case warnings
2022-07-05 09:19:32 -04:00
x-qq
55a105a0f6
make the game buildable on linux ( #283 )
...
- Scons -> python3
- include issues
2022-03-13 15:38:22 -04:00
12bde373b1
Refactor dialog parsing to reduce code duplication
...
- Refactor dialog format parameter management to use a single protected control function
- Format parameters "frame" and "frame style" merged
- Colour is now a first-class format parameter (though it still has a separate setter)
2020-02-20 23:41:40 -05:00
335fb87e51
Store custom graphics classifications as symbols instead of integers
2020-02-09 12:10:52 -05:00
a8ed8b3bb4
Add config_dir/data to the list of resolution paths in the resource manager
...
This allows anyone to drop substitute graphics into the data folder, and
the game will load them instead of the default graphics.
2020-02-04 20:56:56 -05:00
86d2574aed
Some refactor of special node system
...
- Context type (town/out/scen) is now an enum
- Don't expose internals in the header
- Use a state struct to pass things around through the system
- Fix special AFFECT_DEADNESS case for default party selection
- Maybe other bits and pieces?
2020-02-02 19:12:45 -05:00
be1bf2fe65
Change Linux userdata directory according to FreeDesktop standards:
...
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Patch from @x-qq
2020-02-01 21:44:22 -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
b0fddcd8a6
Update Xcode project and fix Mac build
2020-01-26 13:06:22 -05:00
542c037342
Integrate a new resource manager which should have better performance
2020-01-26 11:53:19 -05:00
0ffcdf3e5e
Print paths to console on startup, like Wesnoth does
2020-01-19 15:38:05 -05:00
479cfb75f6
Fix improper loading order with saved games
2020-01-02 00:28:52 -05:00
7ba61508f2
Fix garbage text appearing with the game version
2019-12-02 01:16:55 -05:00
6f96222c37
Remove the 30-item limit in shops
2019-12-02 01:16:34 -05:00
05c9936b48
fix #191
2018-04-06 21:02:01 -04:00
9073063423
Merge branch 'merge_linux' of https://github.com/murlock/cboe
2018-03-03 17:52:59 -05:00
Mark Clark
e70c360e11
Minor fixes to get build working for vs2017 project;
2018-02-25 14:55:13 -05:00
Michael Bonfils
12c3ce26f8
Fix compilation of linux
2018-02-10 17:08:33 +01:00
Michael Bonfils
d940f2c39d
Merge branch 'linux' into merge_linux
2018-02-08 20:36:46 +01:00
51c6bdd5ea
Minor scons improvements and fix an error in MinGW build
2017-09-16 22:36:43 -04:00
9d86053817
Fix up MSVC project file for the major reorganization
2017-08-30 00:09:01 -04:00
7e7f3d2b81
Merge mac into windows
2017-08-27 23:37:37 -04:00
c2ce2a2cd1
Split up the graphtool files
2017-04-14 15:43:07 -04:00
e98f9381fe
Move special node category into the node properties struct
2017-04-14 00:50:38 -04: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