Anders Jenbo
d008af43b0
Semantic code style cleanups
2020-04-11 15:22:40 +02:00
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
2020-04-08 20:16:32 +02:00
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
2020-04-07 03:26:38 +02:00
qndel
5191237f42
enums and stuff ( #2024 )
2020-04-06 08:04:14 +02:00
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++
2020-04-06 05:43:20 +02:00
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
2020-03-12 04:32:53 +01:00
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
2020-02-28 16:35:57 -06:00
Anders Jenbo
ab453a5bb0
Correct some documentation
2020-02-16 05:00:36 +01:00
Anders Jenbo
e7e51abd13
Document remaning functions in render related files
2020-02-16 04:01:52 +01:00
Anders Jenbo
f1616060e5
Document CL2 render functions
2020-02-15 17:06:31 +01:00
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).
2020-02-14 13:12:54 +01:00
qndel
6214779459
DrawZoom cleanup
2020-01-19 14:26:43 +01:00
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
2019-12-22 23:57:10 +01:00
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
2019-12-15 06:14:57 +01:00
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
2019-10-31 22:57:15 +01:00
Anders Jenbo
048429b4cd
Apply more constants
2019-10-28 04:29:39 +01:00
Anders Jenbo
71adfe509e
Document more attributes
2019-10-28 03:05:40 +01:00
Anders Jenbo
92ab05ea13
Decompose more magic numbers
2019-10-26 00:24:55 +02:00
galaxyhaxz
8570d3bdfe
Fix function order [dx.cpp]
2019-10-21 20:08:23 +02:00
Anders Jenbo
86bf1fe0d5
Correct spelling
2019-10-21 19:54:32 +02:00
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
2019-10-21 19:33:14 +02:00
Anders Jenbo
6597688eac
Rename cell functions
2019-10-13 13:31:56 +02:00
galaxyhaxz
3c7a08a336
Fix function order [scrollrt.cpp] ( #1800 )
2019-10-12 06:27:58 -05:00
qndel
0fb6025948
scrollrt_draw_lower_2 cleanup
2019-10-03 18:32:48 +02:00
qndel
2dadb3e3a3
scrollrt_draw_lower cleanup
2019-10-03 18:32:36 +02:00
qndel
6cf1da4045
Apply enums to _mFlags
2019-08-31 09:21:15 +02:00
qndel
a17e34c4bf
applied enums to _pmode and untangled ifs
2019-08-31 06:23:35 +02:00
Anders Jenbo
9d3ce818f0
Correct BOOLS
2019-07-21 19:11:11 +02:00
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
2019-07-21 04:10:31 +02:00
Anders Jenbo
5ab9f4609a
Clean up signedness
2019-07-21 00:57:53 +02:00
Sergey Semushin
843ae57592
Make scrollrt_draw_dungeon bin exact.
2019-07-20 21:42:58 +03:00
Joan Karadimov
f695061d05
Replace resolution-related hard-coded numbers with constants
2019-07-20 17:24:34 +02:00
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
2019-07-20 17:10:49 +02:00
Anders Jenbo
a7ad382c10
Get scrollrt_draw_dungeon to min diff
...
Co-Authored-By: Sergey Semushin <predelnik@gmail.com>
2019-07-20 00:29:11 +02:00
Anders Jenbo
55b5ce883d
Clean up unformatted files
2019-07-08 04:28:31 +02:00
Anders Jenbo
d2cb6a59e7
Apply scrollrt naming to town.cpp
2019-07-05 13:23:48 +02:00
Anders Jenbo
d437d48f66
Align scrollrt_draw_dungeon with cliped versions
2019-06-17 21:37:40 +02:00
Anders Jenbo
dec73be85e
Apply bflags
2019-06-14 02:10:17 +02:00
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
2019-06-05 20:13:34 +02:00
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
2019-06-02 17:51:33 +01:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
galaxyhaxz
31cbaed01e
fix name type
2019-05-22 08:30:59 +01:00
galaxyhaxz
6e37114459
Add defs for border pixels
2019-05-16 09:24:56 +01:00
Anders Jenbo
d61b3e3b63
Clean up scrollrt.cpp
2019-05-02 00:16:46 +01:00
galaxyhaxz
f44ef05e5e
scrollrt_draw_clipped_dungeon_2
2019-04-28 15:25:56 +02:00
galaxyhaxz
2d2461cc3d
scrollrt_draw_clipped_dungeon
2019-04-28 02:20:11 +02:00
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
2019-04-26 03:17:06 +02:00
galaxyhaxz
792fc65bea
Add support for 32-bit colors ( #1018 )
2019-04-25 02:39:24 -05:00
galaxyhaxz
777c517b8e
Change ASM macro
2019-04-22 02:23:12 -05:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00