Commit Graph
60 Commits
Author SHA1 Message Date
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01:00
Anders JenboandGitHub 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
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
galaxyhaxzandAnders Jenbo 67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Anders Jenbo 3e7d352fde Format files 2019-10-21 20:04:14 +02:00
Anders Jenbo 6d982f6d06 Correct parameter naming for init_test_access 2019-10-04 09:27:21 +02:00
Anders Jenbo e24cbb2423 Clean up init_disable_screensaver 2019-09-01 05:59:44 +02:00
qndelandAnders Jenbo 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 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Anders Jenbo 3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
galaxyhaxzandAnders Jenbo 7451415c7c Alt+Enter fullscreen (debug) 2019-07-19 01:43:26 +02: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 a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Sergey SemushinandAnders Jenbo 5269ada59e Clean up init_test_access. 2019-06-08 15:05:59 +01:00
Sergey SemushinandAnders Jenbo 3c576ae999 Clean up init_archives. (#1248) 2019-06-08 13:55:38 +01:00
galaxyhaxzandAnders Jenbo c346435886 test cd access 2019-05-05 21:11:48 +01:00
qndelandAnders Jenbo 24663853a6 init_await_mom_parent_exit bin exact (#1058) 2019-04-27 00:45:38 +02:00
galaxyhaxzandGitHub 3a636fdcc6 Add missing functions for MI_Dummy (#1004) 2019-04-22 20:21:52 -05:00
galaxyhaxzandAnders Jenbo 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxzandAnders Jenbo 58aa145cc5 Cleanup ms office (#964) 2019-04-17 00:21:30 +02:00
Robin EklindandGitHub 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
Anders Jenbo 8ee906ca02 Clean up init_create_window 2019-04-09 17:32:56 +02:00
galaxyhaxzandAnders Jenbo 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo 5c22841071 Apply MAX_PATH 2019-04-08 18:52:30 +02:00
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxzandGitHub 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Max DesiatovandAnders Jenbo 269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders JenboandRobin Eklind f281178672 Clean up appfat.cpp (#585)
* Clean up appfat.cpp

GetErrorStr, TraceErrorDD, TraceErrorDS, TraceLastError, DDErrMsg,
DSErrMsg, ErrDlg, ErrOkDlg, DirErrorDlg, InsertCDDlg, FuncDlg,
init_cleanup, FreeDlg, center_window

* Fix style
2019-01-27 00:31:42 +01:00
Anders Jenbo 9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
Anders JenboandRobin Eklind 841f5af199 Compile effects.cpp and wave.cpp as C (#530)
* Correct SFileReadFile signature

* Compile as C

Source/effects.cpp
Source/wave.cpp

* Make diabloui.h C frindly
2018-12-30 19:22:40 +01:00
Anders JenboandRobin Eklind b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo b4fe143e29 Add player_weapon_type 2018-12-07 23:54:39 +01:00
Anders Jenbo 14610a2345 Apply FILE_SYSTEM enum 2018-12-07 23:54:39 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
galaxyhaxzandAnders Jenbo 86f00145f8 Remove empty_string garbage 2018-11-06 09:42:27 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo f70183dfe9 Format init.cpp 2018-10-22 02:08:14 +02:00
Anders JenboandDennis Duda 7d27f1985b Correct type for fullscreen 2018-10-21 16:13:29 +02:00
nomdenomandRobin Eklind b19b9db41d Fix declaration of SetWindowProc() (#327) 2018-09-23 23:27:18 +02:00
galaxyhaxzandGitHub c7c528bb03 DiabloUI.dll now works for single player (#310) 2018-09-20 00:52:01 -05:00
Andrew Dunstan aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxzandGitHub 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00