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
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
f8c16a1dcb
Only use safe blitting and set gpBufEnd to the correct relative values
...
This again allows us to only selectivly render the UI panel
This also eliminates the need for the BORDER_BOTTOM 10k memory saved!
7 years ago
qndel
ee590ad129
DrawAutomapType cleanup
7 years ago
qndel
d4db63ce48
[hellfire] GetAutomapType bin exact ( #1777 )
7 years ago
qndel
679013a5e1
[hellfire] SearchAutomapItem bin exact ( #1779 )
...
* some automap
* [hellfire] SearchAutomapItem bin exact
7 years ago
qndel
7540cad2b3
some automap
7 years ago
qndel
cd1e4d09e5
[hellfire] InitAutomap bin exact
7 years ago
qndel
29822058c5
[hellfire] DrawAutomapGame bin exact
7 years ago
qndel
5253e28584
InitAutomap cleanup
7 years ago
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
7 years ago
Manuel K
df1d049ae3
Use SCREEN_Y
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
438eec5017
Clean up SetAutomapView
7 years ago