Anders Jenbo
1f715f86f6
Clean up
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
b023104434
Remove u from values
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
7c071924ad
Format recently cleaned code
7 years ago
Joan Karadimov
f16bc267fc
Use the dungeon_type enum for ReturnLvlT
7 years ago
Sergey Semushin
81ec719e1b
Fix min diff in ResyncQuests.
7 years ago
Anders Jenbo
64e5fa2f05
Apply enums to NetSendCmdQuest
7 years ago
Anders Jenbo
635deebbd4
Apply enums to SpawnQuestItem
7 years ago
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
7 years ago
Sergey Semushin
02acf7629b
Make ResyncQuests bin exact.
7 years ago
Anders Jenbo
ba38357e21
Clean up control.cpp pointer types
7 years ago
galaxyhaxz
8db166bac8
CheckQuests
7 years ago
Sergey Semushin
8bc995e681
Add _uniq_monsterid enum for indexes in UniqMonst for special unique monsters.
...
Apply it where necessary.
7 years ago
Anders Jenbo
569bd0053f
Clean up PrintQLString
7 years ago
Anders Jenbo
1526e1f3b7
Clean up CheckQuestKill
7 years ago
Anders Jenbo
7ca66a149d
Clean up DrawButcher
7 years ago
Anders Jenbo
996d8ca21f
Clean up ResyncQuests
7 years ago
Anders Jenbo
dce5f70485
Clean up quests.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
740e91e881
rename screen_y_times_768
7 years ago
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
7 years ago
Robin Eklind
6d49faba3e
StartQuestlog bin exact. Also, fix type of questlog
7 years ago
Robin Eklind
3be37f668b
DrawBlind bin exact
7 years ago
Robin Eklind
b9f4288277
DrawLTBanner bin exact
...
Note, here we use i=0 in the for loop, the
same simplification can be applied to
DrawWarLord and DrawSChamber.
The initial value of the i and j loop variables were
inferred from DrawLTBanner in the beta release.
7 years ago
Robin Eklind
dd52c11257
DrawBlood bin exact
7 years ago
Robin Eklind
9b8263b4fe
DrawSChamber bin exact
7 years ago
Robin Eklind
1991c06220
DrawWarLord bin exact
7 years ago
Anders Jenbo
9ad9389115
Clean up SetReturnLvlPos
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
JustAnotherGuid
e289c2c679
ForceQuests [bin exact] ( #838 )
7 years ago
galaxyhaxz
b4460ae55b
Clean DRLG_L3.cpp spawn
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
JustAnotherGuid
6f2ee117c2
DRLG_CheckQuests clean-up bin exact
7 years ago
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
7 years ago
galaxyhaxz
81f3f5daa2
Cleaning Engine CEL functions ( #652 )
...
* Cleaning Engine CEL functions
* Fix C functions
7 years ago
JustAnotherGuid
9bca16bcae
Clean-up InitQuests ( #598 )
...
* Clean-up AddChest.
* (Work in progress) Clean-up InitL1Triggers
* Clean-up InitL1Triggers (Binary-exact version)
* Add /FAs flag.
* Rebase
* Accidental add.
* Minor modifications.
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
596f244f50
Align structured data tables
8 years ago
Anders Jenbo
4f4bd1fb24
Format quests.cpp
8 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
Dennis Duda
5d03a27248
Cleaned up `GetLevelMTypes`.
...
This had interesting compiler optimizations like
local array merging, which threw off IDA a bit.
By looking into older versions and the PSX symbols
I'm pretty sure I found the correct sizes for both arrays.
There are still minor differences, such as different parameter
loading for function calls. In other places, this solved itself with
time. (VC seems to generate different code base on a lot of
things, even down to alignment).
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago