Marek Majkowski
15b021f8b7
Misc: "typedef enum" is not correct. Just "enum" is fine.
6 years ago
Marek Majkowski
d6f268545c
Misc: Don't call SwapLE32 on unaliged memory
...
On some architectures it's illegal to do unaligned memory fetches. Just
don't load 4 bytes at once, instead load byte-by-byte. A smart compiler
is supposed to recognize the pattern as little-endian unaligned load.
6 years ago
Anders Jenbo
7273e6a32d
Fix mouse clicks not registering on 0x* and *x0
...
Fixes #507
6 years ago
Anders Jenbo
7d8d10f00e
[controller] Correctly prioritice multiple talkers
...
This makes is easier to deal with Lazurus when skipping his trigger
6 years ago
Anders Jenbo
4610b50d1e
[controller] Handle edge cases for cursor state
6 years ago
Anders Jenbo
33bf216a88
Fix two OOB issues in drlg_l3 DRLG_L3Wood
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
qndel
da74a3c3a9
snd_init cleanup
6 years ago
qndel
6d4f4ded07
sound_DirectSoundCreate cleanup ( #1877 )
6 years ago
Anders Jenbo
e24574897c
[controller] Target portals
...
This will target portals and stairs found within 2 steps if no other
targets are found.
This is naive and doesn't prefer portals propperly.
6 years ago
Anders Jenbo
b3d1283844
Enum for Lazarus stairs
6 years ago
Anders Jenbo
73816dce93
Update drlg_l3.cpp
6 years ago
Anders Jenbo
89dd6a6889
Fix pause mode
6 years ago
galaxyhaxz
eab1de117f
Fix missing assert for FindGetItem
6 years ago
Anders Jenbo
046064fcfe
Fix PostMessageA an remove more unused event code
6 years ago
Gleb Mazovetskiy
6bb3c14073
Fix OOB in ItemSpaceOk ( #484 )
6 years ago
Anders Jenbo
e847108b78
Clean up event handeling
6 years ago
Anders Jenbo
284b96cb45
Add bugfix note to ItemSpaceOk
6 years ago
qndel
981c9b9c00
some cleanup ( #1823 )
6 years ago
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
6 years ago
galaxyhaxz
a0b0591826
Fix function order [capture.cpp]
6 years ago
galaxyhaxz
6c0bc83115
Fix type for panelstr
6 years ago
qndel
1414b7e2aa
apply enum to max shrines
6 years ago
qndel
80ee6b2668
apply TRUE/FALSE
6 years ago
qndel
5cb4e9ad25
AddMagicCircle cleanup
6 years ago
qndel
dd7a8d7b2d
Obj_Trap cleanup
6 years ago
qndel
8ab71cb98b
AddL1Door cleanup
6 years ago
Anders Jenbo
310b2a4dc3
Fix OOB in Theme_Library
...
Fixes #487
6 years ago
Anders Jenbo
1372d0f6b0
Update themes.cpp
6 years ago
Trevor Philip
6d22eefd41
pdir is uninitialized fix ( #168 )
6 years ago
Anders Jenbo
4d3310ddf9
Revert "Apply fix in L4roomGen"
...
This reverts commit 3f5d54cad8 .
6 years ago
lantus360
4c96d946c6
Initial Nintendo Switch support
6 years ago
rsn8887
dd569bf8e0
Implement touch controls
6 years ago
Anders Jenbo
0c75636db3
[controller] Automatically apply heal-other, resurect and disarm
6 years ago
Anders Jenbo
d94b245497
[controlls] Prioritize spell targets
...
Spells will now target either the apropriate highlighted actor or the
current direction.
6 years ago
Gleb Mazovetskiy
3f5d54cad8
Apply fix in L4roomGen
6 years ago
Anders Jenbo
bcd25c8b69
Fix buid for Clang and MSVC from last merge (SetFadeLevel)
6 years ago
Anders Jenbo
7092f54412
Fix buid for Clang and MSVC from last merge
6 years ago
Anders Jenbo
4b74890489
GetManaAmount prevent shift of negative value
...
Also make GetManaAmount more readable
Thanks to @glebm for finding the issue
6 years ago
Gleb Mazovetskiy
9e45a69280
Multiple OOB fixes for drlg_l3.cpp
6 years ago
Gleb Mazovetskiy
a4fd2d4c33
Note for multiple OOB issues in drlg_l3.cpp
6 years ago
Anders Jenbo
c3072c9373
Correct fade delay
...
(256 / 8) × (1000 / 60) / 256 = ms per level (8 levels per frame at
60hz, 256 levels)
6 years ago
Anders Jenbo
0127478673
Improve frame delay for non-v-synced rendering
...
Thanks to @glebm for pointing out the issue, hopfuly this is a better
solution :)
6 years ago
Anders Jenbo
448c01a969
Make all movies escapable using ESC
...
Fixes #175
6 years ago
Anders Jenbo
bc88560b41
Disable rendering when minimized
...
This recovers the original use of gbActive
6 years ago
Anders Jenbo
8659481d06
Use correct enum for MovieWndProc
6 years ago
Anders Jenbo
aa23194591
Calculate fade based on frame level time
...
This makes the frame lenght FPS independant and fixes #459
6 years ago
Robin Eklind
c583d82a1c
pack: use IDI_GOLD enum instead of boolean operation for is->IDidx
6 years ago
Anders Jenbo
c27b90e166
Always indicate the the movie has ended
...
Fixes #457
6 years ago
Anders Jenbo
3d5d28d4ec
Fix calling init_cleanup on shutdown
...
- Fixes saving audio volume
- Fix memeory leak warnings
Thanks to @de4me for pointing this out
6 years ago