Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago
Anders Jenbo
946ff5b0fa
♻️ Performe static casts when load save game data
5 years ago
Anders Jenbo
61d15e23db
🎨 Apply direction enum to monsters and relations
...
Missiles _mimfnum is being used for a lot more then just directions and
can also be a 16 degree direction so can't apply enum verbs and
restricitons to it in most cases. This in turns also affects SetMissDir
and some other functions that have to stay int.
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
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
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
6f1498d315
🚚 Move structures to there respective headers
5 years ago
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
qndel
c0f5749728
Fix RNG diverging during level generation depending on the code path
...
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
5 years ago
qndel
c94c04d049
some cleanup ( #2146 )
5 years ago
qndel
7c2ee3333f
Theme_MonstPit cleanup
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
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
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
310b2a4dc3
Fix OOB in Theme_Library
...
Fixes #487
6 years ago
Anders Jenbo
1372d0f6b0
Update themes.cpp
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
qndel
ea5c8bd23a
SpecialThemeFit cleanup
7 years ago
qndel
d269ef5045
InitThemes cleanup
7 years ago
qndel
70726ba2aa
Theme_Library cleanup
7 years ago
qndel
6b2097b602
[hellfire] PlaceThemeMonsts bin exact
7 years ago
galaxyhaxz
12b9e8e8f7
Fix logic in themes.cpp
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
7 years ago
Anders Jenbo
d70bd3a1e9
Fix CheckThemeRoom
7 years ago
Anders Jenbo
918a997854
Clean up themes.cpp
7 years ago
galaxyhaxz
87d20ef4d6
themes.cpp bin exact
7 years ago
Anders Jenbo
fcadb84daa
Correct size of ThemeGoodIn
7 years ago
Anders Jenbo
be3526054c
Apply theme_id enums
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Anders Jenbo
9c7001c8e2
Clean up CheckThemeReqs
7 years ago
Anders Jenbo
dade490e9f
Clean up InitThemes
7 years ago
Anders Jenbo
85921ce416
Clean up CheckThemeRoom
7 years ago