Commit Graph
38 Commits
Author SHA1 Message Date
Anders Jenbo 0f514f25de Apply WinAPI enums and macros 2020-04-06 05:43:20 +02:00
Anders Jenbo c39f668deb Enable some asserts that are helpful for testing 2020-04-06 05:43:20 +02: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 a8dd5dcd4a Correct signature of FuncDlg
This reduces a lot of the casting in appfat.cpp
2019-10-04 09:28:03 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo f07ae3e4ad Clean up appfat.cpp 2019-05-02 00:16:46 +01:00
galaxyhaxz b76156e206 Implement breakpoint handler 2019-04-22 21:13:34 -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
galaxyhaxz 4cf4b15b33 TraceError DS/DD (#796) 2019-03-30 11:31:35 +01:00
galaxyhaxz 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Max Desiatov 269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders Jenbo 81a3e0051d Clean up multi_init_single & multi_init_multi (#587) 2019-01-27 13:06:54 +01:00
Anders Jenbo 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
Robin Eklind a969f5c6f3 Uncomment delete to make appfat.cpp compile as C.
Note, in the future, we want to figure out how the
delete operator was overloaded and included while
still compiling the project as C.

Most likely it was overloaded in the Storm header,
and being included by appfat.cpp (which is the first
file being compiled in alphabetic order), it was
included here.

Fixes #528.
2019-01-12 20:11:37 +01:00
Anders Jenbo 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Anders Jenbo 47bf82b059 C compatability from a-d (#518) 2018-12-29 15:12:19 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
galaxyhaxz 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 fcc4e19287 Format debug related code 2018-10-22 01:45:27 +02:00
Andrew Dunstan 4c085a734b clean wave.cpp 2018-10-18 13:26:59 +02:00
Andrew Dunstan c2d49ff75f add missing va_end "calls" 2018-10-15 20:39:06 +02:00
Anders Jenbo b7b01e5a3b Fix EOL 2018-09-18 21:25:32 +02:00
Dennis Duda f83bceedfa Merge branch 'master' into win32_ansi 2018-09-16 20:58:15 +02:00
Andrew Dunstan aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxz 34938876e0 A few name corrections (#203) 2018-09-14 23:47:22 -05:00
galaxyhaxz 97360fca7c Fix windows error dialogs (#195) 2018-09-05 12:22:43 -05:00
galaxyhaxz 775ae59e18 Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
Robin Eklind 263f0aa360 Byte-identical version of appfat_cpp_init. (#110) 2018-07-01 09:37:56 -05:00
Adam Heinermann 128e9d89a2 Fixed a potential overflow in appfat (#85)
Refactored massive switch statements into something probably closer to reality.
2018-06-27 12:10:15 -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 3915a64457 Clean up the readme and add support (#16)
* Update README, appfat, add support
2018-06-16 22:20:35 -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