Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
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
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
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
galaxyhaxz
5f941e862e
Fix function order [palette.cpp]
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
Anders Jenbo
9daea5be8a
Back port clean ups from Hellfire
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
082e610394
Clean up palette.cpp
7 years ago
galaxyhaxz
792fc65bea
Add support for 32-bit colors ( #1018 )
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Robin Eklind
5f45d06e38
Cleanup palette_update_quest_palette, already bin exact
7 years ago
Robin Eklind
e614b566c2
Cleanup PaletteFadeIn and PaletteFadeOut, already bin exact
7 years ago
Robin Eklind
634cf9adfe
Cleanup palette_update, already bin exact
7 years ago
Robin Eklind
e1a0354a3b
Cleanup palette_init, already bin exact
7 years ago
Robin Eklind
2877511e96
palette_set_color_cycling bin exact
...
Fixes #271 .
7 years ago
Robin Eklind
ba6a031aa3
LoadGamma bin exact
7 years ago
Anders Jenbo
e1002b0dff
Clean up SetFadeLevel
7 years ago
Anders Jenbo
56e839e2f8
Clean up LoadSysPal
7 years ago
Anders Jenbo
b253648c5a
Clean up diablo_color_cyc_logic and palette_get_colour_cycling ( #868 )
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
68153d2af2
Cleanup ApplyGamma/LoadPal
7 years ago
galaxyhaxz
5ddb46fabe
More Scrollrt cleanups
7 years ago
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
7 years ago
Anders Jenbo
86018b174b
Make DirecX usage C compatible
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
553086dca7
Format graphics related files
8 years ago
Anders Jenbo
7d27f1985b
Correct type for fullscreen
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
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