Anders Jenbo
5a8f8eadb1
Clean up appfat.cpp
5 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
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++
6 years ago
Robin Eklind
dce389599e
dthread: add parameter name to dthread_handler
...
This fixes a build error in dthread_handler when compiling as C.
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
6 years ago
Robin Eklind
f6e6b4b56f
dthread: use INFINITE enum for second argument to WaitForSingleObject
6 years ago
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)
6 years ago
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).
6 years ago
Anders Jenbo
56f04e1919
Update dthread.cpp
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
Anders Jenbo
218ad0e3c4
Clean up dthread.cpp
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Anders Jenbo
7835583a72
Clean up dthread.cpp
7 years ago
Anders Jenbo
b582709d38
dthread_send_delta bin exact ( #563 )
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
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
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Robin Eklind
2b696c4f22
dthread_send_delta almost bin exact
...
uses eax instead of ecx in one instruction,
but semantically equivalent.
Updates #236 .
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
8317d80d94
Clean up threading
8 years ago
Andrew Dunstan
aedf7555d1
Remove A suffix from all string-related win32 API function names
8 years ago
galaxyhaxz
34938876e0
A few name corrections ( #203 )
8 years ago
nomdenom
b8eb6c54fb
Fix signature of multi_send_pinfo(...) ( #164 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago