Gleb Mazovetskiy
040caf71d3
RetroFW: Fix brightness button using belt item 3
6 years ago
Gleb Mazovetskiy
1bc19ec1e9
Update KbCtrl mappings
...
New mappings for mouse movement.
Select is now the modifier key.
6 years ago
Gleb Mazovetskiy
5c32814820
RG350 and RetroFW improvements
...
1. Use SDL1 for RG350 for performance
2. Document controls for both
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
Anders Jenbo
c86ab3bed3
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Gleb Mazovetskiy
a4fd2d4c33
Note for multiple OOB issues in drlg_l3.cpp
6 years ago
Anders Jenbo
a4d612d509
Clear video buffer
...
This avoids garbage appearing in the video boarder when not using a render
6 years ago
Gleb Mazovetskiy
3e8f279653
Fix FPS limiting on SDL1
...
Was previously crashing with division-by-zero as refreshRate was not set
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
Robin Eklind
136700e9c4
Merge pull request #1850 from diasurgical/MovieWndProc
...
Use correct enum for MovieWndProc
6 years ago
Anders Jenbo
8659481d06
Use correct enum for MovieWndProc
6 years ago
xcom169
9a31b78d8e
Add note for X64 version ( #440 )
6 years ago
Robin Eklind
6dfa87151a
Merge pull request #1849 from mewpull/pack-enum
...
pack: use IDI_GOLD enum instead of boolean operation for is->IDidx
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
Anders Jenbo
d50485b119
Silence some SDL events that we do not use
6 years ago
Anders Jenbo
dffc89e41c
Limit FPS when upscaling is disabled
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
Gleb Mazovetskiy
efd9056b2b
PeekMessageA: Fix false_avail for some events
6 years ago
Anders Jenbo
54bbb4b29a
Better fake event handeling
6 years ago
Anders Jenbo
c5bca03e5a
Fix redrawing panel on unminimizing
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
Robin Eklind
c29030d6f6
use uint64_t instead of unsigned __int64 in structs.h
...
Updates #449 .
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
Robin Eklind
49ced24d76
set name of belt_item_type typedef
...
Fixes #453 .
6 years ago
Robin Eklind
1ccbdc63fb
declare _SNETVERSIONDATA before use in structs.h
...
Fixes #455 .
6 years ago
Anders Jenbo
2bb9aa4928
* Improve controller autoaim
...
- Access and detect all parts of large objects
- Prioritize targets based on orientation
- Accurate prioritize the closest enemy when using mele only
- Multiple corrections to target selection logic
6 years ago
galaxyhaxz
5f941e862e
Fix function order [palette.cpp]
6 years ago
Gleb Mazovetskiy
1b55c1ec3d
Update CMake/Findsodium.cmake from upstream
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
f4496aa7f9
Merge branch 'master' of github.com:diasurgical/devilution
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