qndel
c3380d3104
some cleanups
5 years ago
Anders Jenbo
40350a201b
Reorder diablo.cpp
5 years ago
Anders Jenbo
c54cc2013c
Calculate tick related values based on current game speed
5 years ago
Anders Jenbo
b7ca9a812a
Clean up unused return type
5 years ago
Gleb Mazovetskiy
a091a56e8e
Remove MAX_PATH restriction ( #898 )
...
Do not limit filesystem paths to 259 chars for MPQs, save files, and diablo.ini.
The MAX_PATH constant remains but now only limits path lengths within the MPQs.
5 years ago
Anders Jenbo
6580222d1c
Add enums for level entrances
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
b896f7b18b
Only load UI sounds on boot
5 years ago
Anders Jenbo
889bba8fb7
Add Hellfire parameters to help screen
5 years ago
qndel
cb3381916e
[hellfire] RightMouseDown bin exact
6 years ago
Marcin Konicki
aace1b46de
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
Anders Jenbo
32778cdbb9
Perfectly align all resolutions
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
Anders Jenbo
35f9b9d750
Add game speed to the ingame options menu
...
This removes the option to disable color animations (color cyceling)
6 years ago
Tyler
d7ca28ff8e
Added single-player difficulty menu.
6 years ago
luk
f98651d1b8
implement variable game speed #525
6 years ago
Anders Jenbo
9e1428dd0b
Fix build
6 years ago
Chance4us
8e71130000
Fix Toggle fullscreen by hitting alt+enter [ #718 ]
...
Fixes #659
6 years ago
Marcin Konicki
515ac145c5
Implement `--save-dir` CLI option
...
* Lazy load ini, this also fixes launching the game on Android
6 years ago
Anders Jenbo
dc8be6c0ab
C++03 compatibility ( #736 )
...
* Use C++03 compatible constructors
* Remove conflicting definitions
6 years ago
Anders Jenbo
4b46361442
Remove some unused variables
6 years ago
Anders Jenbo
b274f395f6
Correctly assert if the mouse is inside the main panel
6 years ago
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers
6 years ago
Anders Jenbo
c27a0a8c35
Fix bad merge
6 years ago
Anders Jenbo
346c0949e7
Correct seed tables
6 years ago
Anders Jenbo
2ec7c78eae
Format source
6 years ago
Anders Jenbo
cc280eeba3
Enable asserts in files that where cleaned
6 years ago
Anders Jenbo
3ac90dc03f
Use NewCursor to set cursor
6 years ago
Anders Jenbo
6c6ae344de
Deduplicate strings in argument parsing
6 years ago
Anders Jenbo
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
1340192b59
Correct array sizes
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
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
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
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
7b70770c16
BUGFIX note for MouseX/Y
6 years ago
Anders Jenbo
31181b77c4
Bool comparisons
6 years ago
Anders Jenbo
711665ee96
Assign correct data types
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
Anders Jenbo
f7e2283702
Reorder globals
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
6 years ago
qndel
34caded4de
fix hotkeys
6 years ago
Anders Jenbo
dd64f18a49
Merge SetDungeonMicros and SetTownMicros
6 years ago