3bdcf02be0
Handle modifier keys differently to avoid Apple flagging us as wishing to monitor input from other applications
...
Fixes #291
2023-01-12 21:43:45 -05:00
35a890a577
Add a partial unit test for vector2d and fix several issues with the resize function
2023-01-12 21:26:08 -05:00
8872f1aa25
Stop storing players as bare pointers - use unique_ptr instead
...
Should fix some potential memory leaks that were caught by static analysis
2023-01-12 21:26:08 -05:00
1a82f8ff8b
Fix a memory leak found by static analysis
2023-01-12 20:24:39 -05:00
e212e99794
Fix buffer overrun if apply/removeShift is called with an unknown character
2023-01-12 20:24:35 -05:00
e4b1162d46
Make sure lpstrFile is empty on cancel ( #305 )
2023-01-10 21:42:38 -05:00
dbe5ba0dd6
Linux handle zenity non-zero code. Close #301
2023-01-08 22:22:26 -05:00
ac5cbe3a60
Test case for dialog XMLs in-engine
2023-01-08 17:25:33 -05:00
6319d46d67
Fix compilation on Xcode 4
...
- Add new files to project
- Xcode 4 doesn't support inheriting constructors
2023-01-07 14:27:02 -05:00
71f9dd0043
TagFile refinements
...
- Use a custom prefix system for tagfiles - f for a file, p for a page, t for a tag
- Add a hex tag that reads and writes a number as hex
- Ensure booleans are always read and written as alpha
2023-01-07 13:55:04 -05:00
ALONSO Laurent
26db220f15
special and legacy: check type of monster values in nuke_monsters (to avoid
...
accidentally all monsters, ...)
2023-01-07 12:37:45 -05:00
729ccfe765
Fix missing include
2023-01-07 12:01:10 -05:00
e3d6a4748e
Dialog XML definitions are now loaded thru the resource manager
2023-01-07 11:59:42 -05:00
c3dd886783
Fix LED text colour and correct width attribute validation
2023-01-07 01:23:07 -05:00
c4d7fc6b99
Make dialogs iterable
2023-01-07 01:21:42 -05:00
0714004f1c
Fix a few compiler warnings
2023-01-06 22:02:05 -05:00
ALONSO Laurent
6b32aa157e
boe.specials.cpp[change terrain]: avoid redrawing the minimap n*k times...
2023-01-06 20:49:08 -05:00
Morel Berenger
ce667c596a
Allow to only select one file in open...
2023-01-06 20:49:08 -05:00
Morel Berenger
8809af121f
Minor fixes to special node edit dialog.
2023-01-06 20:49:08 -05:00
Morel Berenger
4cd2bfd8d1
render_image.cpp: improve gl error messages by adding filename
2023-01-06 20:49:08 -05:00
ALONSO Laurent
ca74661801
button.cpp: try to make tiny buttons work...
2023-01-06 20:49:08 -05:00
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