Commit graph

85 commits

Author SHA1 Message Date
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
Anders Jenbo
3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
galaxyhaxz
7451415c7c Alt+Enter fullscreen (debug) 2019-07-19 01:43:26 +02:00
Xadhoom
148a7be44d Merge upstream branch 'devilution/master' 2019-07-10 17:04:38 +00:00
Anders Jenbo
dc4f0572f6 Remove unused variables 2019-07-08 04:28:31 +02:00
Anders Jenbo
1d55e5849c Clean up init.cpp 2019-07-07 04:37:36 +02:00
Anders Jenbo
86e2bab837 Clean up init_disable_screensaver 2019-07-07 04:03:50 +02:00
Anders Jenbo
7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Anders Jenbo
f187fe7d3a Merge branch 'master' of github.com:diasurgical/devilution 2019-06-22 18:14:48 +02:00
Anders Jenbo
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo
e6f4e21631 Merge branch 'master' of github.com:diasurgical/devilution 2019-06-16 19:18:19 +02:00
Sergey Semushin
5269ada59e Clean up init_test_access. 2019-06-08 15:05:59 +01:00
Sergey Semushin
3c576ae999 Clean up init_archives. (#1248) 2019-06-08 13:55:38 +01:00
Anders Jenbo
0c4b4719b8 Merge branch 'master' of github.com:diasurgical/devilution 2019-05-09 23:51:21 +02:00
galaxyhaxz
c346435886 test cd access 2019-05-05 21:11:48 +01:00
Anders Jenbo
a46ef68b2c Merge branch 'master' of github.com:diasurgical/devilution 2019-04-29 02:29:39 +02:00
qndel
24663853a6 init_await_mom_parent_exit bin exact (#1058) 2019-04-27 00:45:38 +02:00
Xadhoom
6856fb74e2 Merge upstream beanch 'devilution/master' 2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8 Merge branch 'TownDead' 2019-04-24 14:08:25 +02:00
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy (#1004) 2019-04-22 20:21:52 -05:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz
58aa145cc5 Cleanup ms office (#964) 2019-04-17 00:21:30 +02:00
Robin Eklind
8ac2206e32
Merge pull request #871 from AJenbo/init_create_window
Clean up init_create_window
2019-04-10 02:53:34 +09:00
Anders Jenbo
59a62cbf76 Clean up MainWndProc & init_activate_window 2019-04-09 17:56:20 +02:00