Commit graph

42 commits

Author SHA1 Message Date
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++
2020-04-06 05:43:20 +02: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
cee06d07a7 Correct spelling of color 2020-01-10 11:13:47 +01:00
Anders Jenbo
0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
galaxyhaxz
5f941e862e Fix function order [palette.cpp] 2019-11-11 03:19:27 +01:00
Robin Eklind
e155a9423e rename random to random_ to avoid collision with random in stdlib.h
Fixes #1813.
2019-10-21 09:56:36 +02:00
Anders Jenbo
9daea5be8a Back port clean ups from Hellfire 2019-09-03 00:27:42 +02:00
Anders Jenbo
68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo
082e610394 Clean up palette.cpp 2019-05-02 00:16:46 +01:00
galaxyhaxz
792fc65bea
Add support for 32-bit colors (#1018) 2019-04-25 02:39:24 -05:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
qndel
9daa04c4d9
Merge pull request #893 from mewpull/LoadGamma
LoadGamma bin exact
2019-04-11 11:53:16 +02:00
Robin Eklind
5f45d06e38 Cleanup palette_update_quest_palette, already bin exact 2019-04-11 01:59:24 +02:00
Robin Eklind
e614b566c2 Cleanup PaletteFadeIn and PaletteFadeOut, already bin exact 2019-04-11 01:58:51 +02:00
Robin Eklind
634cf9adfe Cleanup palette_update, already bin exact 2019-04-11 01:56:58 +02:00
Robin Eklind
e1a0354a3b Cleanup palette_init, already bin exact 2019-04-10 16:45:20 +02:00
Robin Eklind
2877511e96 palette_set_color_cycling bin exact
Fixes #271.
2019-04-10 16:29:57 +02:00
Robin Eklind
ba6a031aa3 LoadGamma bin exact 2019-04-10 19:42:15 +09:00
Robin Eklind
68e6d35bdc
Merge pull request #883 from AJenbo/LoadSysPal
Clean up LoadSysPal
2019-04-10 12:05:31 +09:00
Robin Eklind
3820842e1b
Merge pull request #884 from AJenbo/SetFadeLevel
Clean up SetFadeLevel
2019-04-10 12:04:58 +09:00
Anders Jenbo
e1002b0dff Clean up SetFadeLevel 2019-04-09 21:46:42 +02:00
Anders Jenbo
56e839e2f8 Clean up LoadSysPal 2019-04-09 21:36:51 +02:00
Anders Jenbo
b253648c5a
Clean up diablo_color_cyc_logic and palette_get_colour_cycling (#868) 2019-04-09 20:32:07 +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
68153d2af2 Cleanup ApplyGamma/LoadPal 2019-03-28 11:33:28 +01:00
galaxyhaxz
5ddb46fabe More Scrollrt cleanups 2019-03-28 01:58:28 -05:00
Max Desiatov
269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders Jenbo
86018b174b Make DirecX usage C compatible 2018-12-31 03:17:08 +01:00
Anders Jenbo
b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo
ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
553086dca7 Format graphics related files 2018-10-22 01:35:07 +02:00
Anders Jenbo
6c92a6ae94 Merge branch 'nightly' of github.com:diasurgical/devilution into gamemenu.cpp 2018-10-21 16:36:42 +02:00
Anders Jenbo
7d27f1985b Correct type for fullscreen 2018-10-21 16:13:29 +02:00
Anders Jenbo
6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
galaxyhaxz
775ae59e18
Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -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
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