Anders Jenbo
dfbce7b2ce
Deduplicate drawing players
7 years ago
Anders Jenbo
305484156e
Deduplicate drawign items, remove pBuff from scrollrt_draw_e_flag()
7 years ago
Anders Jenbo
8f916e4d1f
Merge town_draw_town_all() with scrollrt_draw_dungeon()
7 years ago
Anders Jenbo
40fa2f6596
Merge east-flag functions
7 years ago
Anders Jenbo
16820106bc
Merge town_draw() with scrollrt_draw()
...
This require calling DRLG_InitTrans() during CreateTown() to clear out
the transparancy flags after having been to the duntion. Else the
mausoleum will be transparent.
7 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
Anders Jenbo
2079b67475
Drop dpiece_defs_map_1 memory access optimization
...
This also gets rid of IsometricCoord. They where used to map tiles in a
way that had a simpler access pattern when rendering the screen in
visual oriented rows.
See
https://github.com/diasurgical/devilution/pull/544#issuecomment-450968761
7 years ago
Anders Jenbo
bfe0a54f4a
Merge T_DrawView and T_DrawGame with there scrollrt variants
7 years ago
Anders Jenbo
7ab68036f2
Remove extra flag and double call to draw function
7 years ago
Anders Jenbo
c4a7df80a7
Use CelDraw function for rendering instead of CelBlit
...
This leaves just town_special, scrollrt arches and left side of
two-handed weapons to be using direct blitting functions.
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
e695c0d9ea
Combine zoomed and standard view
7 years ago
Anders Jenbo
d4e3b573d0
Allow for adjustable resolutions
...
The render is still only stable when height is a multiple of 32 and
width is a multiple of 64. 832x480 gives you close to 16:9 with the
original height.
7 years ago
Anders Jenbo
9e1b161bc0
Unify upper and lower screen rendering
7 years ago
Anders Jenbo
8ed4515727
Strip clipping from town and scroll
7 years ago
Anders Jenbo
11e8df8f6c
Deduplicate missile rendering code
7 years ago
Anders Jenbo
feeae23076
Prevent infinit recursion in UiOkDialog
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
galaxyhaxz
3c7a08a336
Fix function order [scrollrt.cpp] ( #1800 )
7 years ago
arczi84
1ab2fb2666
Endian madness
7 years ago
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
qndel
0fb6025948
scrollrt_draw_lower_2 cleanup
7 years ago
qndel
2dadb3e3a3
scrollrt_draw_lower cleanup
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Robin Eklind
d16f603537
all: remove unused storm imports
...
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.
ref: diasurgical/devilution#1695 .
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
1ebf8fe27d
Remove unused fallbacks
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
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