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
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
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
galaxyhaxz
8570d3bdfe
Fix function order [dx.cpp]
6 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
galaxyhaxz
24595d3565
dx_init bin exact (proper fix)
7 years ago
Anders Jenbo
228dbf4897
Cast pointer to a CPU appropriate size
7 years ago
galaxyhaxz
792fc65bea
Add support for 32-bit colors ( #1018 )
7 years ago
galaxyhaxz
b76156e206
Implement breakpoint handler
7 years ago
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy ( #1004 )
7 years ago
galaxyhaxz
55793ef55f
dx_init and windowed mode ( #967 )
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Anders Jenbo
826b7fd696
Clean up dx.cpp
7 years ago
galaxyhaxz
fd53ad06ba
Rename lock_buf
7 years ago
galaxyhaxz
3446e3c9a9
Add defs for screen resolution
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
b228d6e00a
Palette fix for newer Windows
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
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
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Anders Jenbo
86018b174b
Make DirecX usage C compatible
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
553086dca7
Format graphics related files
8 years ago
Anders Jenbo
b1b80c957a
Clean up dx_create_back_buffer
8 years ago
Anders Jenbo
7d27f1985b
Correct type for fullscreen
8 years ago
Anders Jenbo
2c923f9183
Clean up dx_create_primary_surface
8 years ago
Anders Jenbo
c5fa8a1a94
Clean up lock_buf_priv
8 years ago
Anders Jenbo
16b8b32cf1
Clean up dx_reinit
8 years ago
Anders Jenbo
0c896852de
Clean up unlock_buf_priv
8 years ago
Anders Jenbo
a39453dfeb
Clean up dx_DirectDrawCreate
8 years ago
Robin Eklind
9772cd0743
Add definition of j_lock_buf_priv and j_unlock_buf_priv for debug release.
...
Also add a debug target for MakefileVC.
8 years ago
Robin Eklind
3103da7f1d
Add missing arg to j_lock_buf_priv and j_unlock_buf_priv ( #374 )
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Andrew Dunstan
aedf7555d1
Remove A suffix from all string-related win32 API function names
8 years ago
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
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
0db106a5b4
Add support for Visual C++ 5.10 ( #12 )
...
* Update stuff
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago