Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
2732aea1b2
♻️ Use GameInfo instead of individual globals
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
4ee84aea1a
♻️ Change BOOLEAN to bool
...
fixup BOOLEAN
5 years ago
Gleb Mazovetskiy
29b5526064
dMonster array: int -> int16_t
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Anders Jenbo
a69a76941e
♻️ Clean up InitCutscene
5 years ago
Anders Jenbo
327042c2e5
Strip out debug features from the release builds
...
leveldebug and lightmax still remains
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
Anders Jenbo
06b7c78406
Notes of untimly header cleanups
5 years ago
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
cad24e0ee0
Correct preprossesor operator
5 years ago
Anders Jenbo
9899657f87
[hellfire] MakeSpeedCels
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
pionere
a3f04f76f7
simplified theme room creation
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
c3cdc1c4ab
Decompose magic numbers
6 years ago
Anders Jenbo
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
e4df9319b0
Fix render order ( #639 )
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Anders Jenbo
21b62274b9
Document .SOL value tables
6 years ago
Anders Jenbo
dd64f18a49
Merge SetDungeonMicros and SetTownMicros
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
qndel
3008439bc7
enums and stuff
6 years ago
galaxyhaxz
50f3afd318
[test] Fix variable order [gendung.cpp]
6 years ago
galaxyhaxz
f620c0f34e
Fix function order [gendung.cpp]
6 years ago
Robin Eklind
cc70c392e4
fix naming of setloadflag and pSetPiece ( #1841 )
6 years ago
Xadhoom
a1b7b8522a
Bugfixes
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
16820106bc
Merge town_draw() with scrollrt_draw()
...
This require calling DRLG_InitTrans() during CreateTown() to clear out
the transparancy flags after having been to the duntion. Else the
mausoleum will be transparent.
7 years ago
Anders Jenbo
d0f1100983
Drop speedcel optimizations
...
Even on VC6 this appears to not improve performance in any noticable way
7 years ago
Anders Jenbo
2079b67475
Drop dpiece_defs_map_1 memory access optimization
...
This also gets rid of IsometricCoord. They where used to map tiles in a
way that had a simpler access pattern when rendering the screen in
visual oriented rows.
See
https://github.com/diasurgical/devilution/pull/544#issuecomment-450968761
7 years ago
arczi84
1ab2fb2666
Endian madness
7 years ago
qndel
06e7b4dbdb
more enums
7 years ago
Anders Jenbo
64824cab2b
Implement CelGetFrameStart
7 years ago