Anders Jenbo
7ed3db5f68
Add command for revealing the map
5 years ago
Anders Jenbo
83cce4bb69
Improve quest debug command
...
Add quest to quest log
take all as the quest id for activating all quests
5 years ago
qndel
58367c7e32
talkto debug command ( #2666 )
5 years ago
obligaron
55d4b018ae
Add "arrow" debug command
5 years ago
obligaron
036f387682
Add "exit" debug command
5 years ago
obligaron
be21eebb08
Add "visit" debug command
5 years ago
obligaron
b5090ac817
Fix debug help command string length check
5 years ago
qndel
6fca66ad8a
debug commands: dropitem/dropunique
5 years ago
qndel
ed6e7a661b
debug command: refill
5 years ago
qndel
0ca5b4af34
stop gold from displaying red
5 years ago
qndel
22dcca798e
tweak debug spells command ( #2642 )
5 years ago
obligaron
46844c03cb
Debug Commands: Ensure that between command and parameters only a space is allowed
5 years ago
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
5 years ago
qndel
a97d64af1b
Update Source/debug.cpp
5 years ago
Anders Jenbo
783e946fd3
Make enabeling quests a command
5 years ago
Anders Jenbo
47b5527430
Move ToggleLighting() to a command
5 years ago
Anders Jenbo
4a1e4c599b
Port debug vision to a command
5 years ago
Anders Jenbo
f931778b90
Remove debug_mode_key_w
...
Replaced by debug commands
5 years ago
Anders Jenbo
6bc8475e8c
Clean up debug commands for loading levels
5 years ago
Anders Jenbo
3f1038abdf
Fix changing map frin a setmap
5 years ago
Anders Jenbo
4c6a5bab56
Clean up god mode
5 years ago
obligaron
36f13b34dc
Add debug text commands
5 years ago
Anders Jenbo
90960f0c14
Remove dead code
5 years ago
Anders Jenbo
77b72da276
♻️ Use monster by reference when possible
5 years ago
Anders Jenbo
ef6275caac
Clean up private function names
5 years ago
Anders Jenbo
bc51e1616d
🎨 Apply clang-tidy
5 years ago
Anders Jenbo
20262e4569
🚚 Move local symbols in to anon namespace
5 years ago
Anders Jenbo
903d4bd2e1
Scope all for loops
...
This caused 7 of the loops to be rewriteen using range by clang-tidy
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
07ad083fda
Rename monster globals
5 years ago
Anders Jenbo
4eabc6024b
Apply various cleanups via Android Studio
5 years ago
Anders Jenbo
5537fe748e
Clean up debug code
5 years ago
Gleb Mazovetskiy
e40b1963f9
🚚 engine.h: Extract `CelSprite` and file loading
5 years ago
Gleb Mazovetskiy
f9f301b054
🚚 engine.h: Extract `Point`, `Direction`, `clamp`
...
`engine.h` is getting quite bloated. Moves this code to their own files.
5 years ago
Anders Jenbo
8a7ec56d3a
Player by reference part 2
...
This mostly change player to be by reference instead of by index.
But additionally it does stript checks for gold in the belt, move some
value types to the initialization and short circute a few functiongs.
5 years ago
Anders Jenbo
6321bf04d5
♻️ Pass player to towner by reference instead of index
5 years ago
Anders Jenbo
23cec61f15
🎨 Mark Points returned by GetTargetPosition as const
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
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
48dbb47d70
🌐 Apply static translations
5 years ago
Jmgr
ef0ca794bc
Use system libfmt by default if version >= 7.0.0
...
Allow non-strict ansi functions
Cleanup
5 years ago
Jmgr
f3a401b5f6
Add the fmt library as a dependency and add some examples
...
Attempt at fixing missing functions on some platforms
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
efbe8a8338
♻️ add possition points to monsters
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
97d7171123
🔥 Get rid of _ptargx/y
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago