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
89dd6a6889
Fix pause mode
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
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
Anders Jenbo
def6ee472b
Make DrawDiabloMsg time based instead of frame based
6 years ago
Anders Jenbo
9e37eddfd0
Uncap FPS counter
6 years ago
Robin Eklind
f9fa98984b
engine: pass tbl parameter explicitly instead of using default parameter values
...
This helps make the header files in `Source/*.h` parsable from both
C and C++.
Any headers in SourceX can easily be C++ only, but keeping
the core Devilution code parsable as both C and C++ is
useful for integration into mods.
6 years ago
Robin Eklind
db35653f5e
remove unused SaveItem function signature in loadsave.h
...
Fixes #451 .
6 years ago
galaxyhaxz
5f941e862e
Fix function order [palette.cpp]
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
Anders Jenbo
34a6615fed
Only show level up icon when there is space for it
...
Thanks to @de4me for pointing this out and figuring out the height
6 years ago
Anders Jenbo
2ff16c34bb
Correct NetSendCmdLocParam1 input
...
Fixes #1838
6 years ago
Anders Jenbo
65efc7e3fc
DIR_W
6 years ago
Anders Jenbo
003f0b9b75
Prevent casting spells threw spellbook
6 years ago
Anders Jenbo
cd0a75480d
Decompose numbers in DrawSpellList
6 years ago
Anders Jenbo
505701fd48
Decompose numbers in DoSpeedBook
6 years ago
Anders Jenbo
d33a814441
Update cursor.cpp
6 years ago
Anders Jenbo
4532f009ff
Remove old anti-cheat code from save function
...
Tthis code simply logs the save time of a multiplayer game in the
register database, this was likly done as part of an anti cheat scheme
(the key was "Video Player"), but appears to have since been disabled.
Probably to allow moving save games between PC's which was supported
when better Windows 2000 support was added.
6 years ago
Anders Jenbo
802f2e76fa
save_archive_modified = TRUE;
6 years ago
Anders Jenbo
1bc2ea4f58
Update mpqapi.cpp
6 years ago
qndel
2afc5862a0
fix chat ( #432 )
6 years ago
Anders Jenbo
320605d7ec
Save gamma on change
6 years ago
Anders Jenbo
813b68bffb
Fix OOB in lighting
6 years ago
qndel
692a58d324
move speedbook above main panel
6 years ago
qndel
0e0d2d3c34
small fix
6 years ago