Tully-B
59ae17dff5
Patch up wrong tree tile near Hive entrance ( #7061 )
2 years ago
obligaron
42e1b82a91
Use GetDunSize in loops
2 years ago
ephphatha
c1f3dcb705
Use safer versions of random number functions instead of GenerateRnd
3 years ago
Gleb Mazovetskiy
5bf0b8bc96
Add more missing <cstdint> includes
...
https://github.com/diasurgical/devilutionX/pull/6095 only added includes
for `uint32_t`, this PR also adds the includes for the remaining
integral types.
3 years ago
obligaron
d0978672e9
Make Poisoned Water Supply quest multiplayer compatible
3 years ago
staphen
21bd760bfa
Bypass CMD_PUTITEM when triggering CMD_OPENHIVE or CMD_OPENGRAVE
3 years ago
Anders Jenbo
e348fa3b1e
Implement town map
4 years ago
Gleb Mazovetskiy
6327e713e0
Lowercase all file paths
...
We want to be able to use unpacked MPQs on low-end platforms
(PS2/rg99/etc).
This is tricky on case-sensitive filesystems. Avoids case issues by
lowercasing all paths in the code (then we'll just need lowercased
listfiles).
4 years ago
Anders Jenbo
a45a96fb88
Fix opening crypt and hive
4 years ago
Cesar Canassa
e538acb248
📝 Fixes Doxygen warnings ( #4904 )
4 years ago
Cesar Canassa
1b3360e98a
🐛 fix town boundaries
4 years ago
Anders Jenbo
6d56058708
Move level generation to subfolder
4 years ago
Anders Jenbo
4cc3a5264c
Make dPiece zero-indexed
4 years ago
Anders Jenbo
615c8d1eb9
Unload mega tiles after generating town
4 years ago
Anders Jenbo
98e4310cad
Index Minis by tile instead of by coordinate
4 years ago
obligaron
b2714da91e
Fix: Disable lightning in town
4 years ago
Anders Jenbo
6fa681e567
Clean up level initialization
4 years ago
staphen
ee23f41e0c
Enable opening Hive and Crypt using gamepad
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
Siddharth singh chouhan
03eb86b118
Move documentation from implementations to declarations #2735
5 years ago
Anders Jenbo
9b2cbbdb38
Clean up checks for open warp gates
5 years ago
Anders Jenbo
9c4e34f988
Player by reference
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
ee2e7518c4
Clang-tidy: FunctionCase part 2
5 years ago
Anders Jenbo
0f2ad469ea
♻️ Clean up variable initialization
5 years ago
Anders Jenbo
8e07ef8fe5
Clang-tidy: misc-unused-parameters
5 years ago
ephphatha
357f6f1dc3
Move RNG functions to their own header/source files
5 years ago
Anders Jenbo
d8fa29c972
Clean up more implicit bool conversion
5 years ago
Gleb Mazovetskiy
e40b1963f9
🚚 engine.h: Extract `CelSprite` and file loading
5 years ago
Anders Jenbo
05631eca36
🧹 Only load town TIL-file once
5 years ago
Anders Jenbo
875da955c0
🎨 Clean up name of town mega tile variable
5 years ago
Anders Jenbo
fa0b286693
♻️ Typed file loading
...
Tthis gives us the option to specify what type a file should be loaded
as, avoidng the need to case it and does some automatic checks on the
fitness of the data, while making the process simpler.
If no type is given then the type will be set to std::byte which limit
what operations can be performed on the data.
5 years ago
Gleb Mazovetskiy
052b4c12f5
♻️ LoadFileInMem: Remove `nullptr` at call sites
...
This is now the default argument, no need to provide it explicitly.
5 years ago
Gleb Mazovetskiy
1b8b62a8c2
♻️ Store CEL width with the sprite itself
...
Instead of passing the CEL sprite width when drawing, store the CEL
width at load time in the new `CelSprite` struct.
Implemented for most sprites except towners, missiles, or monsters.
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
6530780980
🎨 Apply enums to towners
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
5 years ago
Anders Jenbo
60d3e9ceb1
Clean up rendering
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
adf5f8f504
Clean up hellfire related code
5 years ago
Anders Jenbo
3d93478a6c
Some additional clean up
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago