Gleb Mazovetskiy
4ea3a4e941
Make Source/ dialogs call DiabloUI/dialogs.cpp
...
The diabdat.mpq absence error is handled by stubbing the art with solid
colors.
7 years ago
Mathieu Maret
3ec16ee3c5
Correct memory leak
...
Correct memory leak after creating a network party
7 years ago
Gleb Mazovetskiy
4f6c5791a7
Fix some compiler warnings
7 years ago
Anders Jenbo
e88e574c5f
Drop unimplemented code
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Anders Jenbo
606d5536f2
Set version and project name via CMake
7 years ago
Anders Jenbo
18532e7c9b
Format SourceX and SourceS
...
Fixes #262
7 years ago
Gleb Mazovetskiy
2bfcbbfb2f
Fix memory leak in sound.cpp
...
Also link ASAN for devilutionx
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
8ee689b803
Remove miniwin abstraction for disabeling the screensaver
7 years ago
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Gleb Mazovetskiy
4b42117022
Set Art palette only if it changed
...
Improves performance a lot, but still slower than the previous version
7 years ago
Pyr0Byt3
2c8641194d
fix multiple voices playing simultaneously
7 years ago
Anders Jenbo
3de9b4b1e9
Clean up MPQ loading and make it more portable
7 years ago
Anders Jenbo
5b2a878945
Remove check for multiple application instances
...
(it's currently not working any way)
7 years ago
Anders Jenbo
55717bb429
Remove RegisterClassEx part of miniwin
7 years ago
Gleb Mazovetskiy
85295838a4
An option to use SDL1 instead of SDL2
...
Adds a USE_SDL1 build option to use SDL v1 instead of v2.
This is useful for porting Diablo on devices that don't support SDL2,
such as the RetroFW / OpenDingux devices (e.g. RG300 Retro Gaming Handheld)
Not yet supported:
* Fullscreen
* Upscaling
* Audio
7 years ago
Mathieu Maret
19f5686770
Catch exception by reference
7 years ago
Anders Jenbo
5cadee74c2
Fix a few compiler warnings
7 years ago
Anders Jenbo
0d39f6fe08
Remove unused miniwin poarts
7 years ago
Anders Jenbo
f7fda58cd2
Remove check for Office 95
7 years ago
Anders Jenbo
7479f3a4ff
Strip more dummy code
7 years ago
Anders Jenbo
288f31a1f1
Clean up unused code
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
danellos
538672bbac
Fixed file remove failure on macOS
7 years ago
danellos
0f9fc228ce
Full "Delete Hero" implementation
7 years ago
Anders Jenbo
8a2316015f
Fix setting window focuse on non GNU systems
7 years ago
Robin Eklind
deb187be9b
miniwin: remove comment for unused SDL key-codes
...
Should we later notice that there are more keys
not being translated, we can refer back to this
commit for the remaining SDL key-codes.
7 years ago
Robin Eklind
929be99acf
miniwin: fix keycode translation of SDLK_MENU
7 years ago
Robin Eklind
2e9f835205
miniwin: map additional keycodes
...
Prior to this commit, several keyboard keys would
not be translated, as detailed by the following
debug message:
DUMMY: translate_sdl_key : unknown key: name== sym=0x3D scan=46 mod=0x0
With this commit, all keys on regular US keyboards
should be translated correctly.
7 years ago
Pyr0Byt3
0e2a44dbab
fix automap zoom
7 years ago
Pyr0Byt3
f8b7b2fe8e
fix panning
7 years ago
Anders Jenbo
64f2b5299a
Drop dependency on haptic devices.
...
Do not init SDL_INIT_HAPTIC since it is unused and not present on all systems
7 years ago
Pyr0Byt3
cb9ef7a8b8
fix volume scaling
7 years ago
Joan Karadimov
53422694d9
Fix a bad iterator check
7 years ago
lkk7
70a64c7de0
small typos
7 years ago
Anders Jenbo
27b29a1601
Correct return value of wait_for_sdl_cond
...
This fixes quitting a multiplayer game where the game would previously
hang
7 years ago
Anders Jenbo
1acba8b43d
Enable lava animation in window mode
7 years ago
Anders Jenbo
79711f4dcd
Avoid double copying on video playback
7 years ago
Anders Jenbo
0f8545d3c4
Clean up SDL error logging
7 years ago
Anders Jenbo
1e43fe9606
Fix game running in slow motion
7 years ago
Anders Jenbo
37c0b7585d
Add option to disable upscaling
...
This avoids the need for hardware accelerated graphics
7 years ago
Anders Jenbo
3e6995bf12
Fix non-x86 support
7 years ago
Anders Jenbo
0cdb99eadf
Add basic support for non x86 based CPU's
7 years ago
Benny Franco Dennis
318c3b350a
Fix MSVC build ( #90 )
7 years ago
Anders Jenbo
f8aeae4ed1
Fix CreateFileMappingA
7 years ago
Anders Jenbo
919177073c
Implement CreateFileMappingA
...
Fixes #89
7 years ago
Anders Jenbo
9f2a6f5ba4
Clean up after merge
7 years ago
Anders Jenbo
b791b1093c
Clean up DDraw implementation
7 years ago