4b336d06fb
add Catch2 to scons build
2023-01-05 02:10:20 -05:00
0da809d76f
Fix the tagfile build error
2023-01-05 02:10:20 -05:00
2e61c44307
Fix scenario button saying there are no scenario installed even though there are the built-in ones
2023-01-04 20:52:11 -05:00
e7ae84ee2a
Fix large string dialogs not wrapping text and expanding to crazy widths
2023-01-04 20:52:11 -05:00
98fe49ad32
Merge pull request #289 from NQNStudios/cboe
2023-01-04 20:05:49 -05:00
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
43ad1be6ca
Make sure use of C++14 and C++17 extensions are an error instead of a warning
2023-01-04 19:57:12 -05:00
e34409f3d6
Add separate Copy Frameworks phase just for the unit tests to avoid dyld not loaded errors
2023-01-04 19:57:12 -05:00
fea9cfb0c8
call redraw_everything() when cDialogs move
2023-01-04 15:27:33 -07:00
d860422c6d
Update to TGUI 0.9.x
2022-12-29 10:18:06 -05:00
00bff78239
Fix unit tests in Xcode 4
2022-07-12 20:45:00 -04:00
f6f7cd59dc
Make catch a submodule so it can be updated more easily
2022-07-12 20:35:45 -04: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
a69d92d8dc
Fix tiled textures not showing up on newer OSX
2022-07-05 09:52:24 -04:00
f5620f34b4
Disable comma operator warnings
...
I've checked and found that none of the existing warnings are incorrect (other than those fixed a couple commits ago), but the main reason for disabling it is that one of the warnings is in Boost.Array which I can't do a lot about.
2022-07-05 09:36:39 -04:00
d3f6bfe347
Fix compiler warning in vector2d
...
This is a separate commit in case it needs to be reverted
2022-07-05 09:29:43 -04:00
864aa95fea
Fix various compiler warnings
2022-07-05 09:29:15 -04:00
f5be1d9706
Fix missing override annotations
2022-07-05 09:28:41 -04:00
8d31c27d11
Fix unused element and unhandled switch case warnings
2022-07-05 09:19:32 -04:00
ee5e7fd48c
Various fixes to make the project build in Xcode 12 on Catalina
...
This now requires Boost to be installed by MacPorts. However, we could add the standard Homebrew path to the include path as well to support both.
This also requires SFML and its dependencies to be installed in /Library/Frameworks; it's unclear whether this is reasonable.
Code signing is completely disabled, and Zlib is now loaded as a tbd instead of a dylib. This will probably break for some older computers, but hopefully they can just use the Xcode 4 project instead.
Boost is forcing -mt suffixes on all its libraries. Whatever. We'll just roll with that.
This makes the script work both with and without the suffixes.
Using parentheses instead of braces silences the stupid narrowing warning, so yay.
2022-07-05 00:17:52 -04:00
e77a0743a7
Apply most of the recommended Xcode update procedures
...
Some of these warnings are probably not correct but I can fix them later
The code signing recommendations and the suggested plist updates were skipped.
The plist changes in particular appear to be unsupported in Xcode 4.
2022-07-05 00:17:07 -04:00
457965870e
Duplicate the XC4 project for XC12
2022-06-29 23:17:06 -04:00
x-qq
55a105a0f6
make the game buildable on linux ( #283 )
...
- Scons -> python3
- include issues
2022-03-13 15:38:22 -04:00
af8f30aaf2
Fix duplicate function definitions
2022-03-13 11:14:08 -04:00
b364cc9bdb
Update IRC channel link
2021-10-11 11:36:05 -04:00
286e9f99ae
Fix misclassified file in the MSVC project files
2020-12-21 17:16:32 -05:00
f14c99f14b
Split out cContainer, cLed, and cLedGroup into their own files
2020-12-21 17:16:15 -05:00
9356c03cc7
Fix a couple of broken dialogs
2020-12-19 18:12:19 -05:00
81c2a084e3
Allow automatically calculating both the width and height of a text label
...
This fixes welcome dialog links triggering when you hit OK in the right place
2020-12-19 18:10:25 -05:00
99ac7531a8
Links in the welcome dialog are now clickable
2020-12-19 17:51:56 -05:00
27f687806f
Implement automatic height calculation for text labels
2020-12-19 17:36:03 -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
0585e9cbc6
Disabled Travis CI builds
...
(Considering switching to Gitub Actions CI)
2020-12-19 11:45:28 -05:00
224e89aabc
New welcome dialog
...
Text by @clort81
Links not clickable yet - soon!
2020-02-26 01:48:27 -05:00
d7ddaa7cd8
Fix broken colour= in DialogXML and add special link colour
2020-02-26 01:47:32 -05:00
7f12c6eea4
Support underlined text in DialogXML
2020-02-26 01:20:11 -05:00
7d8fc7fe09
Document the OBoE originals in barrier help dialog
2020-02-26 00:19:23 -05:00
0bb0dc21e5
Neaten barrier help so that everything lines up (only layout changes)
2020-02-26 00:01:06 -05:00
bea852d61f
Reorganize barrier help XML (no functional/layout changes)
2020-02-25 23:44:42 -05:00
093be0d99a
Merge the two scenario selection dialogs
...
Now both preset and custom scenarios are joined using the "Start Scenario" button.
Preset scenarios still get special treatment.
2020-02-25 21:08:29 -05:00
49d88c76e2
Add page definition facility to the DialogXML <stack> widget
...
- New <page> element in <stack>
- Visibility of elements is now remembered when switching pages
- Unstoring a <pict> on a stack page no longer resets default values
- Documentation updated for new features
2020-02-25 21:05:59 -05:00
f0f789913f
parseChildControl now returns the control's ID if successful
2020-02-24 00:13:37 -05:00
8f81a3504d
Deduplicate child element parsing in DialogXML
2020-02-24 00:07:45 -05:00
3ba6266cd4
Fix editors launching in the top left corner of the screen
2020-02-23 23:29:44 -05:00
19250e9b94
Remove an obsolete variable
2020-02-23 23:25:23 -05:00
c8549ca680
DialogXML: Support <key> in <text> with optional ref=
2020-02-23 23:02:16 -05:00
3a193afb98
Resolve todo notes in spellcast dialog
2020-02-23 22:40:03 -05:00
5b5bda1435
Fix DialogXML crash when parsing <stack>
2020-02-23 22:21:03 -05:00
c65bac2a8f
Implement relative positioning system for DialogXML
...
This allows widgets to be positioned relative to other widgets.
Two dialogs have been converted to use relative positioning.
Also fix some issues with calculating the dialog rect.
2020-02-23 22:00:01 -05:00