Gleb Mazovetskiy
86bc2ee9da
dlrg: Place constants in an anonymous namespace ( #1114 )
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
6580222d1c
Add enums for level entrances
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
Anders Jenbo
46e3216aac
Remove unused code
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
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
198d8a1142
BOOLs
6 years ago
Anders Jenbo
9821ff72d1
Document variables in drlg files
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f7e2283702
Reorder globals
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
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
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
Robin Eklind
cc70c392e4
fix naming of setloadflag and pSetPiece ( #1841 )
6 years ago
Gleb Mazovetskiy
329c6b89bc
Source/drlg_l[23].cpp: Use std::min/max instead of ternaries
...
Follow-up to #169
Also fixes a typo in drlg_l3.cpp
6 years ago
Xadhoom
a1b7b8522a
Bugfixes
6 years ago
galaxyhaxz
02b40e27c5
Fix function order [drlg_l2.cpp]
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 .
7 years ago
Marlon Beijer
d641c65562
Some fixes for Big Endian systems
7 years ago
qndel
6b286941f3
enums
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Adam Newgas
c55c61f23a
Update comments to doxygen style.
7 years ago
Adam Newgas
79ad7b9d9e
Add some comments to some tricky to understand functions.
7 years ago
Adam Newgas
fc8882b7db
Add some bugfix notes.
7 years ago
Adam Newgas
66a1c246e6
Add dlrg_flag enum.
7 years ago
Adam Newgas
3d1d01ce86
More use of DMAXX/DMAXY
7 years ago
Adam Newgas
f363cfa85f
Use DMAXX/DMAXY and BFLAG_EXPLORED in drlg_l2.cpp
7 years ago
Xadhoom
3b203f7c50
BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp
7 years ago
Xadhoom
63847b0f33
Use DMAXX and DMAXY constants
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
f71471eab7
Correct types related to glSeedTbl
...
Reference:
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/global_0.cpp#L2431
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l1.cpp#L542
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l2.cpp#L538
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l3.cpp#L499
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l4.cpp#L484
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Joan Karadimov
5279141836
Use the DMAXX/DMAXY constants where possible
7 years ago
Sergey Semushin
83a9cd065c
Fix min diff in DL2_FillVoids.
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
5cc368376f
Clean up drlg_l1.cpp
7 years ago
galaxyhaxz
2a7f2b1d2d
KonnectHall
7 years ago
galaxyhaxz
624ff58e69
KreateRoom
7 years ago
galaxyhaxz
3a78eec6f2
L2Lockoutfix
7 years ago
galaxyhaxz
1db78d96ef
DRLG_L2 CreateDungeon
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago