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
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
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
qndel
6214779459
DrawZoom cleanup
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
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
048429b4cd
Apply more constants
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
galaxyhaxz
8570d3bdfe
Fix function order [dx.cpp]
6 years ago
Anders Jenbo
86bf1fe0d5
Correct spelling
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
galaxyhaxz
3c7a08a336
Fix function order [scrollrt.cpp] ( #1800 )
7 years ago
qndel
0fb6025948
scrollrt_draw_lower_2 cleanup
7 years ago
qndel
2dadb3e3a3
scrollrt_draw_lower cleanup
7 years ago
qndel
6cf1da4045
Apply enums to _mFlags
7 years ago
qndel
a17e34c4bf
applied enums to _pmode and untangled ifs
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Sergey Semushin
843ae57592
Make scrollrt_draw_dungeon bin exact.
7 years ago
Joan Karadimov
f695061d05
Replace resolution-related hard-coded numbers with constants
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
a7ad382c10
Get scrollrt_draw_dungeon to min diff
...
Co-Authored-By: Sergey Semushin <predelnik@gmail.com>
7 years ago
Anders Jenbo
55b5ce883d
Clean up unformatted files
7 years ago
Anders Jenbo
d2cb6a59e7
Apply scrollrt naming to town.cpp
7 years ago
Anders Jenbo
d437d48f66
Align scrollrt_draw_dungeon with cliped versions
7 years ago
Anders Jenbo
dec73be85e
Apply bflags
7 years ago
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
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
galaxyhaxz
31cbaed01e
fix name type
7 years ago
galaxyhaxz
6e37114459
Add defs for border pixels
7 years ago
Anders Jenbo
d61b3e3b63
Clean up scrollrt.cpp
7 years ago
galaxyhaxz
f44ef05e5e
scrollrt_draw_clipped_dungeon_2
7 years ago
galaxyhaxz
2d2461cc3d
scrollrt_draw_clipped_dungeon
7 years ago
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
7 years ago