Andrew James
|
b56907672f
|
Add Bitset2d::count() and use it when counting set Dungeonmask tiles (#5083)
Added comments and renamed other functions to give context why this is different to the use in drlg_l1
|
4 years ago |
Anders Jenbo
|
3d08f951d6
|
Clean up use of miniwin
|
4 years ago |
Anders Jenbo
|
3ae834148a
|
Split event handeling from general miniwin features
|
4 years ago |
Anders Jenbo
|
2d21fc372e
|
Remove more miniwin code
|
4 years ago |
ephphatha
|
7a8fa64e69
|
Include leftover coinflips following conflict resolution
|
4 years ago |
ephphatha
|
7bda8dcc9a
|
Include coin flips from room gen cleanup
|
4 years ago |
ephphatha
|
420a248e0c
|
Use FlipCoin for most uses of GenerateRnd with variable frequency
|
4 years ago |
Anders Jenbo
|
8ed3cb476b
|
Clean up initial room generation
|
4 years ago |
Anders Jenbo
|
6d56058708
|
Move level generation to subfolder
|
4 years ago |
Gleb Mazovetskiy
|
de3c9874c7
|
Migrate large bool arrays to `std::bitset`
E.g. `dRendered` size is reduced by 10 KiB
|
4 years ago |
Anders Jenbo
|
fd98aff9f1
|
Move shared dungeon level code to common function
|
4 years ago |
Anders Jenbo
|
6fa681e567
|
Clean up level initialization
|
4 years ago |
Anders Jenbo
|
6fffbb4676
|
Clean up selecting what chamber to spawn quests in
|
4 years ago |
Anders Jenbo
|
d17d7e018d
|
Use common function for loading .dun tile data
|
4 years ago |
Andrew James
|
4bd1e06336
|
Point mega <-> world conversion helpers
|
4 years ago |
Anders Jenbo
|
98a10d262e
|
Unify PlaceMiniSet
|
4 years ago |
Anders Jenbo
|
357d477f65
|
Update DRLG_L1 to use Miniset
|
4 years ago |
ephphatha
|
3e60b02d50
|
Move the staff skip bugfix out of PlaceMiniSet
This makes the code more similar to other drlg routines so they can be combined more easily.
|
4 years ago |
Andrew James
|
129f5b8d02
|
remove temporary variable in drlg_l4 GenerateLevel
|
4 years ago |
Andrew James
|
5cc8bcdb8e
|
Remove no-op GCC pragma instructions
Pushing an option then immediately popping it doesn't do much :D
|
4 years ago |
Anders Jenbo
|
6962fcd63e
|
Clean up PlaceMiniSet()
|
4 years ago |
Anders Jenbo
|
afec954c9a
|
Convert dflags to boolean
|
4 years ago |
Anders Jenbo
|
1203514383
|
Clean up use of currlevel
|
4 years ago |
Gleb Mazovetskiy
|
ade8aba822
|
Fix some more warnings
|
4 years ago |
Vladimir Olteanu
|
0e497b10f9
|
Use Miniset in drlg_l4
|
4 years ago |
Gleb Mazovetskiy
|
7e1fea6f76
|
clang-format all files in {Source,test}/
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
|
4 years ago |
Juliano Leal Goncalves
|
ba66a9dc87
|
♻️ Replace 'dmaxx' and 'dmaxy' globals with single 'dmaxPosition'
|
5 years ago |
Juliano Leal Goncalves
|
6583410152
|
♻️ Replace 'dminx' and 'dminy' globals with single 'dminPosition'
|
5 years ago |
Juliano Leal Goncalves
|
940a120bf9
|
♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition'
|
5 years ago |
BC Ko
|
40c804c0ba
|
Replace QuestStatus() with IsAvailable() in QuestStruct
|
5 years ago |
BC Ko
|
c85d3f4b21
|
Merge pull request #2555 from bcko/2348_bcko_refactor_FindTransparencyValues_2
|
5 years ago |
BC Ko
|
bcd60ea0b4
|
refactor 3 versions of FindTransparencyValues in: drlg_l1.cpp, drlg_l2.cpp, drlg_l4.cpp (#2554)
|
5 years ago |
qndel
|
3fcbe2de3b
|
fix dungeon (#2381)
|
5 years ago |
Andrew James
|
4f73794a53
|
Restore dropped cases for fence fix and vertical wall checks (#2353)
|
5 years ago |
Anders Jenbo
|
65d7b3c1eb
|
Use AdvanceRndSeed() when changing RNG with out use
|
5 years ago |
Anders Jenbo
|
35ccc8eb1c
|
Apply clang-tidy to code
|
5 years ago |
Anders Jenbo
|
74b57558c9
|
🚚 Move local code to anonymous namespace
|
5 years ago |
Anders Jenbo
|
85ee14710a
|
Align naming and style in DRLG algorithms
|
5 years ago |
Anders Jenbo
|
6fe4cb32b5
|
Move DRLG functions in to the same relative order
|
5 years ago |
Anders Jenbo
|
352a0ca510
|
Place local symbols in an anonymous namespace
|
5 years ago |
Anders Jenbo
|
9ebdb6db69
|
General clean up
|
5 years ago |
Anders Jenbo
|
9b8bf92575
|
Rename quest globals
|
5 years ago |
Anders Jenbo
|
bc59218d0d
|
More clang-tidy/Android Studio cleanups
|
5 years ago |
Anders Jenbo
|
cb564a2d54
|
Clean up A-D
|
5 years ago |
Anders Jenbo
|
fc353fc799
|
Clang-tidy: FunctionCase
|
5 years ago |
qndel
|
373f1db22e
|
If cleanup + bugfixes (#2273)
|
5 years ago |
Anders Jenbo
|
51b71b01c9
|
Clean up variable init in drlg files
|
5 years ago |
ephphatha
|
357f6f1dc3
|
Move RNG functions to their own header/source files
|
5 years ago |
Gleb Mazovetskiy
|
e40b1963f9
|
🚚 engine.h: Extract `CelSprite` and file loading
|
5 years ago |
Juliano Leal Goncalves
|
0d4e792551
|
♻️ Change 'SetMapMonsters' to take a 'Point' instead of 2 separate ints
|
5 years ago |