31 Commits

Author SHA1 Message Date
Anders Jenbo 14fda0ee7a Reorder fault.cpp 2020-11-02 18:49:52 +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 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
Anders Jenbo 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo 5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
galaxyhaxz b76156e206 Implement breakpoint handler 2019-04-22 21:13:34 -05: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 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
Robin Eklind 25f45b6bd5 fault: fault_get_error_type bin exact
fault.cpp is now bin exact

Fixes #242.
2019-04-04 00:55:22 +09:00
Robin Eklind bb267e9006 fault: fix build on Windows 2019-04-04 00:24:41 +09:00
Robin Eklind 6ebfb414b6 fault: fault_set_filter bin exact 2019-04-04 00:22:10 +09:00
Robin Eklind 9462aa782b fault: fix calling convention
This should have been part of the previous commit 😊
2019-04-04 00:16:36 +09:00
Robin Eklind a98687f226 fault: rename exception_foo functions to fault_foo
Also, add missing parameters to fault_set_filter and fault_reset_filter

fault_init_filter and fault_reset_filter are now bin exact
2019-04-04 00:06:43 +09:00
Max Desiatov 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 Jenbo 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 Jenbo e795b6116a Make use of atexit() C compatible (#537) 2019-01-01 03:05:29 +01:00
Anders Jenbo b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 3230f5012a Clean up fault.cpp 2018-10-21 14:29:10 +02:00
Anders Jenbo d2dc4732a4 Format fault.cpp 2018-10-21 14:29:10 +02:00
Andrew Dunstan aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
Adam Heinermann baa7277849 Refactored fault.cpp (#101) 2018-06-30 14:33:03 -05:00
galaxyhaxz 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz ede77ad7dc Fix whitepsace 2018-06-15 15:33:45 -05:00
galaxyhaxz 0db106a5b4 Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxz dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00