Commit Graph

2584 Commits

Author SHA1 Message Date
ALONSO Laurent
d90f1e95dc special: correct a small mistake which can create a infinite loop... 2023-01-06 20:08:00 -05:00
ALONSO Laurent
6c2bec98b7 draw_monster: draw correctly complex monster... 2023-01-06 20:07:59 -05:00
ALONSO Laurent
fa15177978 save: try to save the magic_ptrs correctly... 2023-01-06 20:04:02 -05:00
ALONSO Laurent
0d0b577c9c roster: try to display the right monster... 2023-01-06 20:04:02 -05:00
ALONSO Laurent
7ce1ba22b1 spec_loc_t: force .spec to be initialized... 2023-01-06 20:04:02 -05:00
ALONSO Laurent
0bb24cd234 special: try to make IF_ON_{BOAT|HORSE} work...
(ie. previously ex1b=-1 means party in any boats or not in boat )
2023-01-06 20:04:02 -05:00
ALONSO Laurent
c01ec90ecb conveyor: only push people/object on a conveyor + use the real flag: flag1 2023-01-06 20:04:02 -05:00
ALONSO Laurent
f391c3b625 Do no talk to death people, this may break some scenario... 2023-01-06 20:04:01 -05:00
ALONSO Laurent
db91ea9770 reset the scried monsters' list when we enter a scenario... 2023-01-06 20:04:01 -05:00
ALONSO Laurent
4973659808 scenario: try to retrieve the hidden town's flag... 2023-01-06 20:04:01 -05:00
ALONSO Laurent
d1cb01e263 try to save correctly SHOPSTOCK... 2023-01-06 19:28:33 -05:00
ALONSO Laurent
271f198ff8 save/restore: do not save useless data when we are not in a scenario... 2023-01-06 13:59:41 -05:00
ALONSO Laurent
e2a4fcc788 OsX[AppleEvents]: try to avoid some crash by delaying the function which is called
by such events...

Fixes #292
2023-01-06 13:57:01 -05:00
ALONSO Laurent
eea6166b11 party.cpp: retrieve correctly the notes 2023-01-06 13:55:21 -05:00
ALONSO Laurent
f6b13607c3 boe.dlgutil.cpp[talk]: replace store_personality by store_personality%10 to avoid potential problem 2023-01-06 13:53:27 -05:00
ALONSO Laurent
8d698dda88 fileio_party.cpp: check if save/townmaps.dat before reading it 2023-01-06 13:53:21 -05:00
fed6e19ddb Fix missing cast in writeArray 2023-01-06 13:50:33 -05:00
ALONSO Laurent
f2584f4133 try to remove some "flickering" by using setActive(false)/setActive() and adding
a glFlush...
2023-01-06 13:46:21 -05:00
b03a200f8a Labelled buttons should only require a width if they actually HAVE a label 2023-01-06 02:59:21 -05:00
9b8c35489b Fix key descriptions using alt being rendered as just # 2023-01-06 02:44:28 -05:00
cb73719af3 Make item abil_data a bit more readable
A two-element array is an ugly thing to behold
2023-01-06 02:13:46 -05:00
baf8bfd5c7 Make flight ability usable outdoors 2023-01-06 00:55:11 -05:00
261f46b0b5 This avoids an extra iteration that can cause test failures 2023-01-05 19:52:30 -05:00
f70f63eead Update and clean up the Visual Studio 2017 project files
These were very shoddily put together!
It seems the person who made them never really tried building
the editors or the tests.

Also included here are a couple of minor source changes that are needed
to make the project files build.
2023-01-05 19:29:16 -05:00
e2de459bd3 make include paths absolute within src 2023-01-05 09:28:57 -05:00
3ef790dabc Fix #254 - ONCE_GIVE_ITEM 2023-01-05 09:19:19 -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
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
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
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
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
f14c99f14b Split out cContainer, cLed, and cLedGroup into their own files 2020-12-21 17:16:15 -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
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