Robin Eklind
ef64f49c4c
control: add BUGFIX comment for DrawSpellBook
...
The render of the spellbook page 3 and page 4 buttons were both
off by one pixel.
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
c802cbdc4d
Merge more Hellfire code paths
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
qndel
c4c2e0420c
spell defines and macros ( #2162 )
5 years ago
Anders Jenbo
086cdf6afe
Re order control.cpp
5 years ago
Anders Jenbo
330074e840
Clean up menu animation code
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
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
Anders Jenbo
02ddab6a31
Apply SPLICONLENGTH
6 years ago
qndel
ed11e3bde5
[hellfire] DrawSpellList bin exact
6 years ago
qndel
5d7eeddcc9
[hellfire] DrawChr bin exact
6 years ago
qndel
fb8955dd5c
control_print_talk_msg cleanup
6 years ago
qndel
a78d532e2c
DrawGoldSplit cleanup
6 years ago
qndel
af76de2563
CheckSBook cleanup
6 years ago
qndel
f5ab247c42
CheckChrBtns cleanup
6 years ago
qndel
703ec92566
control_check_btn_press cleanup
6 years ago
qndel
0ef6d9e97b
DoPanBtn cleanup
6 years ago
qndel
f0f33571a6
DoSpeedBook cleanup
6 years ago
qndel
1e5554ec6f
DrawChr cleanup
6 years ago
Anders Jenbo
76f63c9202
Fix icon offset
6 years ago
Anders Jenbo
c53ca1a62a
Adjust resolution to monitor default on startup
6 years ago
Anders Jenbo
c2d54ad39e
Decompose number
6 years ago
Anders Jenbo
2a3db5f316
Clean up DrawDurIcon
6 years ago
Anders Jenbo
29efef6987
Decompose cords in control_print_talk_msg()
6 years ago
Anders Jenbo
cc09635b71
Calculate x posistion of PrintSBookStr
6 years ago
Tyler
c803c6aa66
Calculate position of screen elements
6 years ago
Anders Jenbo
dc8be6c0ab
C++03 compatibility ( #736 )
...
* Use C++03 compatible constructors
* Remove conflicting definitions
6 years ago
qndel
b0a8a38462
clean magic numbers
6 years ago
Anders Jenbo
edcd92e012
Misc clean ups that missed last round
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
Anders Jenbo
684d6b73f8
Correct ifdef
6 years ago
qndel
29682a296e
fix pushed in buttons
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
53ccf38a8c
Bool types
6 years ago
Anders Jenbo
31181b77c4
Bool comparisons
6 years ago
Anders Jenbo
a02167a648
Use correct defines for variables
...
This also defines MAXRESIST and DEBUGSEEDS
6 years ago
Anders Jenbo
8f635b779c
Correct style of checks
6 years ago
Anders Jenbo
e8454376d3
Semantically get the first item instead of the array
6 years ago
Anders Jenbo
711665ee96
Assign correct data types
6 years ago
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
6 years ago
Anders Jenbo
0a1b4d347c
Create defines for spell icons
...
This will avoids a lot of Hellfire ifdef and generally makes the
caluclations cleaner
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
95a3aa985a
Fix byte shift
...
There is no issue associated with this for the vanila game as all skills
are within the first 32 spells.
This fix can also be found in Hellfire.
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago