danie1kr
30576f0271
fix gpBufEnd problem (first cutscene not rendered) on 32bit architectures
...
Fixes #573
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
Marlon Beijer
18a78c8fa1
Loading MPQ seems to have to be this way on Amiga, otherwise it won't load
6 years ago
Anders Jenbo
67c58583d8
Implement fullscreen toggeling via alt+enter
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
lantus360
4c96d946c6
Initial Nintendo Switch support
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
95bec150c2
Fix load path
...
Fixes #412
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
7d1b0f24f7
Eliminate overdraw in cell functions
6 years ago
Anders Jenbo
f8c16a1dcb
Only use safe blitting and set gpBufEnd to the correct relative values
...
This again allows us to only selectivly render the UI panel
This also eliminates the need for the BORDER_BOTTOM 10k memory saved!
6 years ago
Anders Jenbo
dc5bbd0c49
Implement DefWindowProc directly in MainWndProc
7 years ago
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
Anders Jenbo
6d982f6d06
Correct parameter naming for init_test_access
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
890f414cb9
Small clean up of unused code
7 years ago
Anders Jenbo
743ebc2048
Always load MPQ files in read-only mode
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
8ee689b803
Remove miniwin abstraction for disabeling the screensaver
7 years ago
Gleb Mazovetskiy
43a27e6f50
Also link SDL int devilution (Source)
7 years ago
Anders Jenbo
3de9b4b1e9
Clean up MPQ loading and make it more portable
7 years ago
Anders Jenbo
55717bb429
Remove RegisterClassEx part of miniwin
7 years ago
Anders Jenbo
f7fda58cd2
Remove check for Office 95
7 years ago
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
7 years ago
qndel
1b1b4e658d
init_read_test_file clean up
7 years ago
Anders Jenbo
10c33575ac
Clean ups from hellfire branch
7 years ago
Anders Jenbo
6a73d98e25
Remove reamaning dummy methodes only used in sound.cpp and dx.cpp
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Alex Yatskov
7e248a2b47
allow readonly mpq archive access
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
galaxyhaxz
7451415c7c
Alt+Enter fullscreen (debug)
7 years ago
Anders Jenbo
dc4f0572f6
Remove unused variables
7 years ago
Anders Jenbo
1d55e5849c
Clean up init.cpp
7 years ago
Anders Jenbo
86e2bab837
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Sergey Semushin
5269ada59e
Clean up init_test_access.
7 years ago
Sergey Semushin
3c576ae999
Clean up init_archives. ( #1248 )
7 years ago
galaxyhaxz
c346435886
test cd access
7 years ago
qndel
24663853a6
init_await_mom_parent_exit bin exact ( #1058 )
7 years ago
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy ( #1004 )
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
58aa145cc5
Cleanup ms office ( #964 )
7 years ago