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
pionere
a3f04f76f7
simplified theme room creation
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
c3cdc1c4ab
Decompose magic numbers
6 years ago
Anders Jenbo
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
e4df9319b0
Fix render order ( #639 )
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Anders Jenbo
21b62274b9
Document .SOL value tables
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
qndel
3008439bc7
enums and stuff
6 years ago
galaxyhaxz
50f3afd318
[test] Fix variable order [gendung.cpp]
6 years ago
galaxyhaxz
f620c0f34e
Fix function order [gendung.cpp]
6 years ago
Robin Eklind
cc70c392e4
fix naming of setloadflag and pSetPiece ( #1841 )
6 years ago
Xadhoom
a1b7b8522a
Bugfixes
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
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
d0f1100983
Drop speedcel optimizations
...
Even on VC6 this appears to not improve performance in any noticable way
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
arczi84
1ab2fb2666
Endian madness
7 years ago
qndel
06e7b4dbdb
more enums
7 years ago
Anders Jenbo
64824cab2b
Implement CelGetFrameStart
7 years ago
galaxyhaxz
4658959f44
DRLG_L5 cleanups (Crypt support) ( #1491 )
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Robin Eklind
105a583ce0
Use TRUE and FALSE enums for setlevel.
...
Also simplify if conditions to make
use of boolean values.
(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
7 years ago
Xadhoom
3b203f7c50
BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp
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
7c071924ad
Format recently cleaned code
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
121eebdea5
Clean up DRLG_PlaceThemeRooms
7 years ago
Sergey Semushin
2aa37dccc1
Make MakeSpeedCels bin exact.
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
6a68d6b271
DRLG_MRectTrans
7 years ago
galaxyhaxz
87c63ffb34
DRLG_HoldThemeRooms
7 years ago
galaxyhaxz
31cbaed01e
fix name type
7 years ago
galaxyhaxz
6d308fe088
DRLG_CreateThemeRoom
7 years ago
Anders Jenbo
5cc368376f
Clean up drlg_l1.cpp
7 years ago
Sergey Semushin
908720efa1
Clean up InitMonsters.
7 years ago
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago