Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
275404029e
♻️ Cleanup player temp variables
5 years ago
Anders Jenbo
433fc9fa8d
💚 Packport std::clamp for pre GCC 7.1
5 years ago
Anders Jenbo
72ad648e9a
♻️ Cleanup some min/max/clamp logic
...
Apply suggestions from code review
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Co-authored-by: thebigMuh <81810641+thebigMuh@users.noreply.github.com>
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
a8d6ec29b7
🎨 Correct name of intermidiat variable
5 years ago
Anders Jenbo
0bf3516be2
🎨 Revert use of range loops on 2D arrays
5 years ago
Anders Jenbo
f8e3672469
♻️ Fully apply clang-tidy rules to a few files
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
660eeb19d2
🎨 Apply agreeable part of clang-tidy to appfat and automap
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Anders Jenbo
f04b5501ef
🚚 Desolve types.h
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
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
583b430ed7
🐛 Do not show other players on map while changing levels
...
Fixes #1276
5 years ago
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Anders Jenbo
3077208b8b
♻️ Clean up automap.cpp
5 years ago
Anders Jenbo
e280432b92
🚨 Fix all SDL1 warnings
5 years ago
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
5 years ago
Gleb Mazovetskiy
83ce7c27af
Enginify `trans_rect`
...
Moves `trans_rect` to `engine` as `DrawHalfTransparentRectTo` and makes
it operate on `CelOutputBuf`.
5 years ago
Gleb Mazovetskiy
188d3d5ec0
automap: Migrate away from gpBuffer/gpBufEnd
5 years ago
Gleb Mazovetskiy
e5d7571ea7
Cleanup: Remove ENG_set_pixel function
...
Migrated to SetPixel
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Joerg Wissen
25a8d5be6b
Added feature to show all players on automap. ( #977 )
5 years ago
Anders Jenbo
c802cbdc4d
Merge more 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
30e61ed9a0
Reorder automap.cpp
5 years ago
Anders Jenbo
b459c8254b
Correct search item panel offset
6 years ago
Anders Jenbo
e9de54fb5a
Calculate position of item highlighting
6 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
fa718398a3
map type
6 years ago
Anders Jenbo
e6ac9d379d
Correct automap rendering for all resolutions dynamically
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Robin Eklind
452d6d25cc
docs: add function documentation to automap.cpp
6 years ago
Anders Jenbo
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
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
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
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
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago