Anders Jenbo
6580222d1c
Add enums for level entrances
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
Anders Jenbo
3157885502
Correct shareware ifdefs
6 years ago
Anders Jenbo
490bdef778
Fix updating town when opening the hive/crypt
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
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
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
6 years ago
Anders Jenbo
e7e51abd13
Document remaning functions in render related files
6 years ago
Anders Jenbo
dd64f18a49
Merge SetDungeonMicros and SetTownMicros
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
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
galaxyhaxz
94a2f1e181
Nice huge commit
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
86bf1fe0d5
Correct spelling
6 years ago
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