Commit Graph
37 Commits
Author SHA1 Message Date
Anders Jenbo 660405505f Remove C compat
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
2020-04-06 05:43:20 +02:00
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01:00
Anders Jenbo 3c276a3cd3 Add documentation
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
2020-03-01 22:18:00 +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
qndelandAnders Jenbo 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo 7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Anders Jenbo cd02bc176a Remove a bit of garbage 2019-06-07 00:27:59 +02:00
Sergey SemushinandAnders Jenbo 3c7afcf29f Clean up log_create. 2019-06-06 23:26:10 +01:00
qndelandAnders Jenbo 9571fba736 log_printf bin exact (#1195) 2019-05-18 13:54:36 +01:00
Anders Jenbo 4aead29238 Clean up log_get_version 2019-05-18 13:37:46 +01:00
Anders Jenbo d350f0e9b0 Clean up log_dump_computer_info 2019-05-18 13:37:46 +01:00
Anders Jenbo b797cdf0cf Use INVALID_HANDLE_VALUE 2019-05-11 12:50:04 +02:00
galaxyhaxzandAnders Jenbo 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxzandAnders Jenbo cef65ea0b6 Implement Critical section constructor 2019-04-15 01:16:43 +02:00
qndelandAnders Jenbo 8f5ff5207c log_flush bin exact (#922) 2019-04-12 12:44:47 +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
Max DesiatovandAnders Jenbo 269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders Jenbo 9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
Anders JenboandRobin Eklind 54247a076c C init (#549)
* Make initializers C compatible

* Compile more files as C

dthread.cpp dx.cpp init logging.cpp fault.cpp msgcmd.cpp nthread.cpp

* Update defs.h
2019-01-10 21:39:28 +01:00
Anders JenboandRobin Eklind e795b6116a Make use of atexit() C compatible (#537) 2019-01-01 03:05:29 +01:00
Anders JenboandRobin Eklind 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Anders Jenbo 344712a23b Use SYSTEMTIME type instead of _SYSTEMTIME struct 2018-12-31 03:17:08 +01:00
Anders JenboandRobin Eklind b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 9edeecb3bb Consisten use of structs 2018-11-26 14:19:27 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo fcc4e19287 Format debug related code 2018-10-22 01:45:27 +02:00
Andrew DunstanandAnders Jenbo c2d49ff75f add missing va_end "calls" 2018-10-15 20:39:06 +02: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
Adam Heinermannandgalaxyhaxz baa7277849 Refactored fault.cpp (#101) 2018-06-30 14:33:03 -05:00
galaxyhaxzandGitHub 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxzandGitHub bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxzandGitHub dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00