Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
e9fe8e986d
♻️ Deduplicate DRLG_LPass3
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
8cb2f9ff61
🧹 Add define for chance a wall is added to the dungeon
5 years ago
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
5 years ago
Anders Jenbo
f004c78824
🧹 performance-unnecessary-value-param
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
9d037bafff
🚨 Fix remaning clang warnings
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
4f8b5e2f5f
🎨 Correct style of true comparisons
5 years ago
Anders Jenbo
36ebd857ad
🎨 Correct style of false comparisons
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
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
6a7c8f24f4
♻️ Use if instead of switch for bool cases
5 years ago
Gleb Mazovetskiy
86bc2ee9da
dlrg: Place constants in an anonymous namespace ( #1114 )
5 years ago
MrHuu
b8eac1929c
[3DS] use -O2 / exclude DRLG_L4FloodTVal from optimizing
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
9fe29910b5
Fix OOB in hell
5 years ago
galaxyhaxz
ed028f2f7d
Fix lazarus staff skip
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
6580222d1c
Add enums for level entrances
5 years ago
galaxyhaxz
d22d223ba9
[hellfire] fix drlg_l4 functions
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
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
198d8a1142
BOOLs
6 years ago
Anders Jenbo
9821ff72d1
Document variables in drlg files
6 years ago
qndel
90960f67b4
Add code for load hell maps
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f7e2283702
Reorder globals
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
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
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
7798ee4737
[hellfire] fix drlg_l4 functions
6 years ago
Anders Jenbo
4d3310ddf9
Revert "Apply fix in L4roomGen"
...
This reverts commit 3f5d54cad8 .
6 years ago
Gleb Mazovetskiy
3f5d54cad8
Apply fix in L4roomGen
6 years ago
Robin Eklind
cc70c392e4
fix naming of setloadflag and pSetPiece ( #1841 )
6 years ago
Xadhoom
a1b7b8522a
Bugfixes
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
galaxyhaxz
7f0eb791f8
Fix function order [drlg_l4.cpp]
7 years ago
Marlon Beijer
d641c65562
Some fixes for Big Endian systems
7 years ago
Anders Jenbo
d2c4b461d4
Add option to compile shareware version
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
d2362172fa
[hellfire] DRLG_L4 bin exact
7 years ago