Anders Jenbo
ecea12fc15
Clang-tidy: ParameterCase
5 years ago
qndel
dadf418fe0
fix typo ( #2266 )
5 years ago
Anders Jenbo
b1d237c823
More init clean up ( #2262 )
5 years ago
Anders Jenbo
5537fe748e
Clean up debug code
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Gleb Mazovetskiy
e40b1963f9
🚚 engine.h: Extract `CelSprite` and file loading
5 years ago
Juliano Leal Goncalves
b3ec79af4f
Leverage 'Point' in Lighting and Player functions ( #2048 )
5 years ago
Anders Jenbo
44b58c4970
Clean up L5dflags flags
5 years ago
Anders Jenbo
0c2042fa52
♻️ Player by reference
...
Update Source/items.cpp
Update Source/lighting.cpp
Update Source/pack.cpp
asd
ads
as
5 years ago
Anders Jenbo
92db72719d
🔥 Remove some unused code
5 years ago
Anders Jenbo
3746723f52
♻️ Add type to MIN-files and TRN-files
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
Anders Jenbo
654a2b8834
♻️ Clean up automap code
...
Use Point for x,y pairs. Make helpers for drawing door and squares
5 years ago
Gleb Mazovetskiy
0bfc147b78
🧹 Remove `DiabloAllocPtr` and friends ( #1824 )
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
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
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
qndel
3254ee7434
automap bugfix
5 years ago
qndel
e24f3c83de
fix automap
5 years ago
qndel
40d33f6778
fix gharbad and vision
5 years ago
qndel
ced74f76f9
fix gharbad and vision
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
a2656637e4
🎨 Format source
5 years ago
pionere
a841be2708
✅ Test CrawlTable
5 years ago
Anders Jenbo
8d6d508222
Correct some incorrect bool operations
5 years ago
Anders Jenbo
a60a620e51
Update bugfix comment
5 years ago
qndel
1b304e7bb3
[diablo/hellfire] 🐛 Correct unitialized variable in AddVision
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
Anders Jenbo
93b82e3b7a
Fix regression of static lights from fix of dynamic ones
...
This issue was introduced in 1f532040a8
5 years ago
qndel
1f532040a8
Fix dynamically added lights being overwritten by default light
...
This issues could be seen when opening the final room in the Arkaine's
Valor quest.
5 years ago
qndel
3627d9df9d
Formatting vCrawlTable
5 years ago
qndel
6e096143f0
Add no-light define and fix usage
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
437b5d1187
[hellfire] MakeLightTable
5 years ago
Anders Jenbo
d2f495daa2
[hellfire] implement DoLighting
5 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
Anders Jenbo
014308ef01
Explicit casting
6 years ago
Anders Jenbo
3b8bcf98bf
Enable assertions
6 years ago