Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
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
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
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
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
Anders Jenbo
0d39f6fe08
Remove unused miniwin poarts
7 years ago
Anders Jenbo
f7fda58cd2
Remove check for Office 95
7 years ago
Anders Jenbo
288f31a1f1
Clean up unused code
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
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
Anders Jenbo
1acba8b43d
Enable lava animation in window mode
7 years ago
Anders Jenbo
0f8545d3c4
Clean up SDL error logging
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
Anders Jenbo
631305035a
Brute fix compile errors
7 years ago
Anders Jenbo
3f9691bf2c
Enable building with MSVC 2017 ( #75 )
7 years ago
Anders Jenbo
a77c75a097
Make graphics modes configurable ( #44 )
...
* Make graphics modes configurable
[devilutionx]
scale quality=2
fullscreen=1
grab input=1
* Update dx.cpp
7 years ago
Anders Jenbo
93c20428bc
Remove unix specifc code
7 years ago
Anders Jenbo
cc3abbe92c
Implement screen shots
7 years ago
Xadhoom
c920ff8b12
Bugfix
7 years ago
Xadhoom
c452c5db4e
Make miniwin/misc.cpp portable
7 years ago
Xadhoom
3feccdc989
Fixes, fix some warnings
7 years ago
Xadhoom
4d24708aa6
Disable last code path (cd drives) for mpq lookup
7 years ago
Xadhoom
f00e427ed2
Remove pch.h
7 years ago
Xadhoom
8f30698c75
Reorganize miniwin headers, part 1
7 years ago
Xadhoom
ba0faf2d0c
miniwin fully macro-clean
7 years ago
Xadhoom
c1ba436e69
miniwin_misc.h macro-clean
7 years ago
Xadhoom
1fede67d48
Windows build now compiles (but still has major problems)
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
7 years ago
Xadhoom
8b7f30b669
Continue refactoring macros from miniwin
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
4223512c72
Implement most of sound.cpp ( #34 )
...
* Implement most of sound.cpp
This fixes
- Menu sounds being cut short
- Spartial sound in game
- Memory leaks
- Sound volume
* Some minor bugfixes
7 years ago
Anders Jenbo
75b6992233
Stub GetDiskFreeSpace for Windows
7 years ago