Anders Jenbo
34e526d4a9
Fix OOB in stores ( #2123 )
6 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
pionere
f0a51ccf65
use defs instead of literals
6 years ago
Tyler
c803c6aa66
Calculate position of screen elements
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Robin Eklind
6448f7901b
stores: add bugfix comment for DrawSLine
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
qndel
f35c955e36
[hellfire] S_StartBBoy bin exact
6 years ago
qndel
19ec9622f5
[hellfire] S_StartWRecharge bin exact
6 years ago
qndel
408780458a
[hellfire] S_StartSRepair bin exact
6 years ago
qndel
4ecc2090d9
[hellfire] S_StartWSell bin exact
6 years ago
qndel
48739cd1a2
[hellfire] S_StartSSell bin exact
6 years ago
qndel
540363493c
[hellfire] S_StartHealer bin exact
6 years ago
qndel
ccb44d0c6e
[hellfire] S_BBuyEnter bin exact
6 years ago
qndel
3271bb1c2c
[hellfire] S_StartSIdentify bin exact
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
Anders Jenbo
a37b983863
[hellfire] InitStores
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
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
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
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
5d57c3cb9c
[hellfire] SetupTownStores and SmithBuyPItem ( #1950 )
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Mathieu Maret
e79b1afe84
Fix S_TalkEnter
...
To mirror commit 1c9801986c559417b7889708b2ce9cc2e27d9ba9: "Fix
S_StartTalk"
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
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
6597688eac
Rename cell functions
7 years ago
qndel
7129558d0b
apply enums
7 years ago
qndel
0704393bc3
StoreAutoPlace cleanup
7 years ago
qndel
d3389f3f7c
DrawSLine cleanup
7 years ago
qndel
ddec3ce5bb
PrintStoreItem cleanup
7 years ago
qndel
b45b33c7e1
[hellfire] SmithBuyItem bin exact
7 years ago
qndel
9cf2354774
[hellfire] SaveGame bin exact + enums
7 years ago
galaxyhaxz
282e42b46b
Town/misc fixes
7 years ago
Anders Jenbo
1c9801986c
Fix S_StartTalk
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
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
Robin Eklind
4cbf8c9ec3
Rename global pCelBuff to pSPentSpn2Cels
...
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.
The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp
pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
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
Duarte Alvim
6a4142fb08
Add gold constants
7 years ago
Anders Jenbo
3b879cc373
Fix CheckStoreBtn
7 years ago