Anders Jenbo
|
d008af43b0
|
Semantic code style cleanups
|
6 years ago |
Anders Jenbo
|
af7db10bac
|
Correct switch order for TraceErrorDD
This fixes the jump table at the end of the function
https://github.com/galaxyhaxz/devastation/blob/master/FIXES/appfat.cpp
|
6 years ago |
Anders Jenbo
|
f4c181dd70
|
Correct size of app_fatal
The call to ExitProcess(1) can be seen in the original ASM, but still
isen't emitted by the compiler for our code :/
|
6 years ago |
Anders Jenbo
|
295dc35429
|
Renable delete operator
This aligns the first instructions, now that we only target C++ it's we
can safly enable it. Should be moved to storm.h.
|
6 years ago |
Anders Jenbo
|
346c0949e7
|
Correct seed tables
|
6 years ago |
Anders Jenbo
|
9e2cefa522
|
Fix InitHash
|
6 years ago |
Anders Jenbo
|
2ec7c78eae
|
Format source
|
6 years ago |
Anders Jenbo
|
cee695c890
|
Clean up menu structures
|
6 years ago |
Anders Jenbo
|
edcd92e012
|
Misc clean ups that missed last round
|
6 years ago |
Anders Jenbo
|
cc280eeba3
|
Enable asserts in files that where cleaned
|
6 years ago |
Anders Jenbo
|
c9db23de5b
|
Correct sfx_* names, can be seen in assert strings
|
6 years ago |
Anders Jenbo
|
3ac90dc03f
|
Use NewCursor to set cursor
|
6 years ago |
Anders Jenbo
|
a94c2d656f
|
Make hashtable in to a 2d array
|
6 years ago |
Anders Jenbo
|
cd18914026
|
Avoid void pointers
|
6 years ago |
Anders Jenbo
|
be1a3f1503
|
Clean up gamemenu_on
|
6 years ago |
Anders Jenbo
|
6c6ae344de
|
Deduplicate strings in argument parsing
|
6 years ago |
Anders Jenbo
|
c3cdc1c4ab
|
Decompose magic numbers
|
6 years ago |
Anders Jenbo
|
6704657e71
|
Apply sematic codestyle
|
6 years ago |
Anders Jenbo
|
1340192b59
|
Correct array sizes
|
6 years ago |
Anders Jenbo
|
c09c37ec21
|
Create define for monsterAvailTbl
|
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
|
f1c216e688
|
Make player struct x/y fields match monster struct
|
6 years ago |
Anders Jenbo
|
054458845a
|
Fix CLang builds
Possibly the type of ObjDataStruct should be changed to byte
|
6 years ago |
qndel
|
29682a296e
|
fix pushed in buttons
|
6 years ago |
qndel
|
5191237f42
|
enums and stuff (#2024)
|
6 years ago |
Anders Jenbo
|
7b70770c16
|
BUGFIX note for MouseX/Y
|
6 years ago |
Anders Jenbo
|
a291939a7d
|
Value types
|
6 years ago |
Anders Jenbo
|
53ccf38a8c
|
Bool types
|
6 years ago |
Anders Jenbo
|
31181b77c4
|
Bool comparisons
|
6 years ago |
Anders Jenbo
|
2cdb83c8ff
|
Fix signature of FuncDlg properly
Previous fix caused a small diff, see:
https://docs.microsoft.com/en-us/previous-versions/ms960202%28v%3dmsdn.10%29
|
6 years ago |
Anders Jenbo
|
bb9315db92
|
Correct shareware data
This fixes the intro music being played to frequently in the menu, and
makes sure that some spells are not avalible.
|
6 years ago |
Anders Jenbo
|
eaa24860ce
|
Correct return type of tmsg_cleanup
|
6 years ago |
Anders Jenbo
|
f217b14e3e
|
Order variables logically
|
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
|
10febf7e15
|
Decompose a few numbers
|
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
|
c540f74709
|
Clean up calls to WriteFile
|
6 years ago |
Anders Jenbo
|
0f514f25de
|
Apply WinAPI enums and macros
|
6 years ago |
Anders Jenbo
|
c39f668deb
|
Enable some asserts that are helpful for testing
|
6 years ago |
Anders Jenbo
|
660405505f
|
Remove C compat
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
|
6 years ago |
Anders Jenbo
|
187a021b30
|
More documentation from sanctuary/notes (#2026)
|
6 years ago |
Anders Jenbo
|
312168d4c1
|
Reformat the .clang-format files
These files are YAML, changes to a more idiomatic YAML syntax
|
6 years ago |
galaxyhaxz
|
f89204e7dd
|
Fix function/var names (effects/sound)
|
6 years ago |
galaxyhaxz
|
c632e2d1d0
|
Names and bug fixes (#1974)
|
6 years ago |
Anders Jenbo
|
e7bd82b44a
|
A handful of param names and consts
|
6 years ago |