Anders Jenbo
dc8be6c0ab
C++03 compatibility ( #736 )
...
* Use C++03 compatible constructors
* Remove conflicting definitions
2020-05-17 01:37:19 +02:00
Anders Jenbo
4b46361442
Remove some unused variables
2020-05-14 11:44:15 +02:00
Manuel Alfayate Corchete
03662be548
Remove atexit() calls and implement a diablo_deinit() function instea… ( #694 )
...
* Remove atexit() calls and implement a diablo_deinit() function instead that cleans up every subsystem if it has been init before.
2020-04-08 13:27:02 +02:00
Anders Jenbo
776ab10476
Merge branch 'master' of github.com:diasurgical/devilution
2020-03-29 23:40:05 +02:00
Anders Jenbo
c0e511265d
Fix Clang and MSVC builds
2020-03-07 17:13:48 +01:00
danie1kr
30576f0271
fix gpBufEnd problem (first cutscene not rendered) on 32bit architectures
...
Fixes #573
2020-03-07 16:45:52 +01:00
Anders Jenbo
0383f9abcd
Add documentation to more files
2020-03-02 02:29:28 +01:00
Anders Jenbo
25993b4043
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-14 23:03:31 +01:00
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).
2020-02-14 13:12:54 +01:00
Marlon Beijer
18a78c8fa1
Loading MPQ seems to have to be this way on Amiga, otherwise it won't load
2020-02-09 23:38:18 +01:00
Anders Jenbo
67c58583d8
Implement fullscreen toggeling via alt+enter
2020-02-01 13:55:21 +01:00
Anders Jenbo
40cea40aa4
Remove windows call types collisions
2019-12-26 05:00:02 +01:00
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
2019-12-22 23:57:10 +01:00
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
2019-12-15 06:14:57 +01:00
lantus360
4c96d946c6
Initial Nintendo Switch support
2019-11-24 15:22:59 +01:00
Anders Jenbo
3d5d28d4ec
Fix calling init_cleanup on shutdown
...
- Fixes saving audio volume
- Fix memeory leak warnings
Thanks to @de4me for pointing this out
2019-11-12 19:48:37 +01:00
Anders Jenbo
95bec150c2
Fix load path
...
Fixes #412
2019-11-02 22:52:25 +01:00
Anders Jenbo
215ff59e65
Merge branch 'master' of github.com:diasurgical/devilution
2019-11-01 00:06:53 +01:00
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
2019-10-31 22:57:15 +01:00
Anders Jenbo
4e8a8d2157
Merge remote-tracking branch 'refs/remotes/devilution/master'
2019-10-26 13:43:28 +02:00
Anders Jenbo
3e7d352fde
Format files
2019-10-21 20:04:14 +02:00
Anders Jenbo
7d1b0f24f7
Eliminate overdraw in cell functions
2019-10-20 15:59:47 +02:00
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!
2019-10-20 15:59:47 +02:00
Anders Jenbo
dc5bbd0c49
Implement DefWindowProc directly in MainWndProc
2019-10-09 00:02:36 +02:00
Anders Jenbo
d840f388c7
Merge branch 'master' of github.com:diasurgical/devilution
2019-10-08 22:05:10 +02:00
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
2019-10-06 01:27:11 +02:00
Anders Jenbo
6d982f6d06
Correct parameter naming for init_test_access
2019-10-04 09:27:21 +02:00
Gleb Mazovetskiy
4ea3a4e941
Make Source/ dialogs call DiabloUI/dialogs.cpp
...
The diabdat.mpq absence error is handled by stubbing the art with solid
colors.
2019-10-03 08:17:32 +02:00
Anders Jenbo
890f414cb9
Small clean up of unused code
2019-09-27 07:02:04 +02:00
Anders Jenbo
743ebc2048
Always load MPQ files in read-only mode
2019-09-27 02:30:01 +02:00
Anders Jenbo
e88e574c5f
Drop unimplemented code
2019-09-26 07:32:47 +02:00
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
2019-09-26 07:32:47 +02:00
Anders Jenbo
606d5536f2
Set version and project name via CMake
2019-09-26 07:32:47 +02:00
Anders Jenbo
8ee689b803
Remove miniwin abstraction for disabeling the screensaver
2019-09-25 03:32:00 +02:00
Gleb Mazovetskiy
43a27e6f50
Also link SDL int devilution (Source)
2019-09-25 03:32:00 +02:00
Anders Jenbo
3de9b4b1e9
Clean up MPQ loading and make it more portable
2019-09-23 05:48:27 +02:00
Anders Jenbo
55717bb429
Remove RegisterClassEx part of miniwin
2019-09-23 05:26:34 +02:00
Anders Jenbo
14f8c9368a
Merge branch 'master' of github.com:diasurgical/devilution
2019-09-13 17:51:58 +02:00
Anders Jenbo
f7fda58cd2
Remove check for Office 95
2019-09-13 03:56:44 +02:00
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
2019-09-01 05:59:44 +02:00
qndel
1b1b4e658d
init_read_test_file clean up
2019-08-31 07:43:55 +02:00
Anders Jenbo
10c33575ac
Clean ups from hellfire branch
2019-08-31 07:35:04 +02:00
Anders Jenbo
6a73d98e25
Remove reamaning dummy methodes only used in sound.cpp and dx.cpp
2019-08-27 04:35:34 +02:00
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
2019-08-26 14:05:04 +02:00
Anders Jenbo
98ab9b9600
Merge branch 'master' of github.com:diasurgical/devilution
2019-08-18 08:07:33 +02:00
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
2019-08-12 16:04:20 +02:00
Alex Yatskov
7e248a2b47
allow readonly mpq archive access
2019-08-04 12:52:14 -07:00
Anders Jenbo
2fcf8dab70
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-21 19:39:17 +02:00
Anders Jenbo
b023104434
Remove u from values
2019-07-21 00:57:53 +02:00
Anders Jenbo
60ee365dff
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-20 19:52:50 +02:00