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
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
40cb1c01f0
Calcualte SStringY instead of using a prebaked table
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
qndel
eab02de82f
ResyncQuests cleanup
7 years ago
qndel
72883c0621
SetReturnLvlPos cleanup
7 years ago
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
Xadhoom
5283a9ffd1
Put everything into namespace dvl
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
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago