Anders Jenbo
834420c0ef
Correct hellfire menu
6 years ago
Anders Jenbo
630655d9e4
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
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
684d6b73f8
Correct ifdef
6 years ago
Manuel Alfayate Corchete
03662be548
Remove atexit() calls and implement a diablo_deinit() function instea… ( #694 )
...
* Remove atexit() calls and implement a diablo_deinit() function instead that cleans up every subsystem if it has been init before.
6 years ago
Gleb Mazovetskiy
a8d69185e0
.travis.yml: Fix ppc64le script
...
Accidentally broke it by adding the build directory back last-minute in #692
6 years ago
Gleb Mazovetskiy
7b72b3d4ea
CMake: Use generator expressions more
...
Generator expressions are the only way to distinguish between build
types in multi-configuration builds (Visual Studio).
This adds generator expressions for some of build type dependent
values as a starting point.
See a more detailed explanation at:
https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#build-specification-with-generator-expressions
Notably:
> Some buildsystems generated by cmake(1) have a predetermined build-configuration set in the CMAKE_BUILD_TYPE variable. The buildsystem for the IDEs such as Visual Studio and Xcode are generated independent of the build-configuration, and the actual build configuration is not known until build-time. Therefore, code such as
>
> string(TOLOWER ${CMAKE_BUILD_TYPE} _type)
> if (_type STREQUAL debug)
> target_compile_definitions(exe1 PRIVATE DEBUG_BUILD)
> endif()
>
> may appear to work for Makefile Generators and Ninja generators, but is not portable to IDE generators.
6 years ago
Gleb Mazovetskiy
92f443a75f
Simplify CI build commands
...
Use -S<source directory> -B<build directory>
This lets us avoid `cd` and the build directory does not have to exist
(CMake will create it).
6 years ago
arrowgent
d28aca49d8
MinGW SDLmain fix ( #687 )
6 years ago
Anders Jenbo
1fc287e504
Use define to minimize ifdef in effects.cpp
6 years ago
Anders Jenbo
e6e0ebe15a
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
6 years ago
Gleb Mazovetskiy
6ceea32bcd
CMake: Cleanup target platform
...
Instead of having a bool option for each target platform,
make it a STRINGS property (basically an enum).
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
f7de4c46a7
Strip eflag logic now that it is fixed in the render
6 years ago
Anders Jenbo
3c5982083f
Merge branch 'master' of github.com:diasurgical/devilution
6 years ago
Anders Jenbo
3f11876aba
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
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
845a202398
Switch to a more up to date Mac image
...
This solves having to update brew
6 years ago
qndel
92c4824820
[hellfire] CalcPlrItemVals
6 years ago
Anders Jenbo
cc0f92d45b
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
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
5cb8312e92
Correct name of random_
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