Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
2020-12-28 01:11:25 +01:00
Anders Jenbo
61b2d0de95
Merge branch 'master' of github.com:diasurgical/devilution
2020-12-16 02:24:39 +01:00
Anders Jenbo
43b5dea6e5
Merge branch 'master' of github.com:diasurgical/devilution
2020-11-03 00:56:51 +01:00
Anders Jenbo
1f1e689db0
Reorder init.cpp
2020-11-02 20:21:44 +01:00
Anders Jenbo
e40653c1e0
fixup! Clean up unused return type
2020-10-29 21:39:58 +01:00
Anders Jenbo
b7ca9a812a
Clean up unused return type
2020-10-29 21:39:58 +01:00
Gleb Mazovetskiy
a091a56e8e
Remove MAX_PATH restriction ( #898 )
...
Do not limit filesystem paths to 259 chars for MPQs, save files, and diablo.ini.
The MAX_PATH constant remains but now only limits path lengths within the MPQs.
2020-10-26 13:39:27 +01:00
Anders Jenbo
72e2637061
Merge branch 'master' of github.com:diasurgical/devilution
2020-10-25 17:38:06 +01:00
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
2020-10-25 15:37:51 +01:00
Anders Jenbo
46e3216aac
Remove unused code
2020-10-24 14:03:15 +02:00
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
2020-10-20 19:42:01 +02:00
Anders Jenbo
2d6c1efeab
Merge branch 'master' of github.com:diasurgical/devilution
2020-10-12 10:46:28 +02:00
Anders Jenbo
7e04c63977
Merge branch 'hellfire' of github.com:diasurgical/devilution
2020-10-11 23:53:07 +02:00
Anders Jenbo
c53ca1a62a
Adjust resolution to monitor default on startup
2020-09-28 07:03:22 +02:00
Anders Jenbo
893efd51ea
Merge branch 'master' of github.com:diasurgical/devilution
2020-09-27 03:34:42 +02:00
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
2020-07-07 19:36:18 +02:00
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
2020-07-06 05:43:25 +02:00
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
Anders Jenbo
659dc41aa5
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-26 22:10:34 +02:00
Anders Jenbo
350646fe95
Correct signatures
2020-04-11 15:22:40 +02:00
Anders Jenbo
d008af43b0
Semantic code style cleanups
2020-04-11 15:22:40 +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
b040c04a18
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-04 07:56:06 +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
7369deba1b
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-12-25 20:25:56 +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
Anders Jenbo
85ab626437
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-12-15 02:22:17 +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
babddf2921
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-10-08 00:35:03 +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