Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 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
c44b2ee09f
Merge town_clear_buf with world_draw_black_tile
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
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
141bffe1dd
Update town.cpp
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
Anders Jenbo
bf040777cb
Make more use of cell helpers
7 years ago
Marlon Beijer
d641c65562
Some fixes for Big Endian systems
7 years ago
galaxyhaxz
282e42b46b
Town/misc fixes
7 years ago
qndel
39aea82b28
[hellfire] town.cpp - 4 functions bin exact
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
357031715b
[hellfire] CreateTown bin exact
7 years ago
Anders Jenbo
37785ed0fe
Remove more redundant render code
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
55b5ce883d
Clean up unformatted files
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
Anders Jenbo
d2cb6a59e7
Apply scrollrt naming to town.cpp
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
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
galaxyhaxz
31cbaed01e
fix name type
7 years ago
galaxyhaxz
a058790a41
Add unused special CEL for town
7 years ago
Anders Jenbo
6570a02386
Clean up town.cpp
7 years ago
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
740e91e881
rename screen_y_times_768
7 years ago
Robin Eklind
6d49faba3e
StartQuestlog bin exact. Also, fix type of questlog
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
c196b8882c
Fix 64bit builds
...
Fixes 77
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
Anders Jenbo
69ad8b63e0
Clean up StartGoldDrop
7 years ago
Anders Jenbo
736181aa72
Fix warnings
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago