Gleb Mazovetskiy
588458d500
Remove gpBufStart
...
Was only set once and used in one place since #964
5 years ago
Gleb Mazovetskiy
8283f85e24
Engine: Functions to render to any buffer
...
Refactor the rendering functions to allow rendering to any output
buffer.
New functions that accept a buffer have the `To` suffix.
The functions that render to the global buffer now always accept
coordinates.
5 years ago
Anders Jenbo
36a196389b
Fix remaning basic compiler errors and warnings
5 years ago
qndel
0958cd456c
fix typos ( #1028 )
5 years ago
Anders Jenbo
3dae37501c
Fix partial screen updating
5 years ago
Anders Jenbo
a90922939f
Log errors in game state during rendering
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
FluffyQuack
790c8e17e5
Implemented blended tranparency
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
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
df35042111
[hellfire] Highlight items during search
5 years ago
Gleb Mazovetskiy
01401a16c7
Fix various controller issues
...
* Fixes Right Stick cursor movement
* Fixes cursor flicker when moving the cursor while moving the character
* Fixes START + SELECT menu
* Makes SELECT act as Escape in the in-game menu
Fixes #930
5 years ago
qndel
c4921b3838
fix typos
5 years ago
qndel
0947ede2fe
Cleanup11 ( #2156 )
5 years ago
qndel
a61f969d26
fix typos ( #914 )
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
Anders Jenbo
32778cdbb9
Perfectly align all resolutions
6 years ago
Anders Jenbo
146516467b
Force alignment on even/even and odd/odd resolutions
6 years ago
Colin Pitrat
0ea1b81772
Fix typos
6 years ago
Anders Jenbo
52f46027da
Optimize even/odd colculation
6 years ago
qndel
8ca1506139
fix typos ( #766 )
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
9d68312aa1
Check that cursor is inside of the level
6 years ago
Anders Jenbo
9acbcc69f9
Width independant vertical alignment, optimize zoom
6 years ago
Anders Jenbo
014308ef01
Explicit casting
6 years ago
Anders Jenbo
2104bf2af2
Fix rendering towners with bad lighting data
...
dFlags appears to contain garbage in the BFLAG_LIT for town. This wasn't
an issue originally since it wasn't being checked when rendering
towners.
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
3b8bcf98bf
Enable assertions
6 years ago
Anders Jenbo
e7567859ee
Remove C fallback code
6 years ago
Anders Jenbo
d008af43b0
Semantic code style cleanups
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
660405505f
Remove C compat
...
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
6 years ago
Anders Jenbo
68e1e618c9
Probe for null tiles and arches when applying anit-eflag rendered fix
6 years ago
Anders Jenbo
af4ef7b19b
Fix rendering the ground part of foliage
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
e4df9319b0
Fix render order ( #639 )
6 years ago
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
6 years ago
Anders Jenbo
ab453a5bb0
Correct some documentation
6 years ago
Anders Jenbo
e7e51abd13
Document remaning functions in render related files
6 years ago
Anders Jenbo
f1616060e5
Document CL2 render functions
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
edeca6574d
Replace tagRECT with SDL_Rect
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
baf2d14440
Remove unused parts of miniwin
6 years ago