Anders Jenbo
6e1a106a38
🚚 Move header we implement into the project
5 years ago
Gleb Mazovetskiy
135f5e03c7
Only write to the file once when saving
5 years ago
Anders Jenbo
6eb609ac8b
🐛 Fix Hellfire save games corrupting game state in Windows
5 years ago
Anders Jenbo
a1dabf3aba
🐛 Fix Hellfire save games corrupting game state in Windows
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Gleb Mazovetskiy
642472cce8
pfile: extract pfile_get_password()
5 years ago
Anders Jenbo
ebc27082e7
🔥 remove unused parts of init_test_access
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
6f1498d315
🚚 Move structures to there respective headers
5 years ago
Anders Jenbo
bc3dc545da
🔥 Remove unused parts of game creation logic
5 years ago
Anders Jenbo
bba73ea20f
✨ Handle mixed item origins in multiplayer
5 years ago
Anders Jenbo
a2656637e4
🎨 Format source
5 years ago
Anders Jenbo
8196bdbd31
✨ Set the initial ready spell when creating a new hero
5 years ago
Anders Jenbo
1284333765
♻️ Use explicit types and remove globals from save file logic
5 years ago
Xadhoom
12c7b715cd
Add test for vanilla pfile_write_hero()
5 years ago
qndel
12dddc4e8f
✨ Preserve active spell and hotkeys across games
5 years ago
Anders Jenbo
c71efb5960
✅ Better assertions on item generation tests
...
[Diablo/Hellfire] Also clear PkItemStruct when calling PackItem() to
avoid garbage data ending up in the saves.
5 years ago
Anders Jenbo
8cebb84475
Remove unused function
5 years ago
Anders Jenbo
3593266ef7
Converte all Levels when cross loading saves
5 years ago
Anders Jenbo
4d47d513ce
Implement Hellfire multiplayer saves
5 years ago
pionere
97d53ced7e
get rid of a few warnings (strncpy)
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
4ffbb32952
[hellfire] Allow continuing Diablo saves in Hellfire and vice versa
5 years ago
Anders Jenbo
c7b32ec4e4
Clean ups
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
a2a3729491
Enable loading hellfire games form main menu
5 years ago
Anders Jenbo
8f0b8b3b51
Clean up pfile.cpp
5 years ago
Anders Jenbo
da908b83f2
[hellfire] pfile_read
5 years ago
Anders Jenbo
87c325ef31
[hellfire] pfile_write_save_file
5 years ago
Anders Jenbo
5169c054b6
[hellfire] pfile_archive_contains_game
5 years ago
Anders Jenbo
5bd15f28db
[hellfire] pfile_read_hero
5 years ago
Anders Jenbo
363c37a447
[hellfire] pfile_get_file_name
5 years ago
Anders Jenbo
e46a0bff55
[hellfire] pfile_ui_set_hero_infos
5 years ago
Anders Jenbo
6cfc2862d6
[hellfire] pfile_get_save_path and frinds
5 years ago
Anders Jenbo
2de8282345
[hellfire] pfile_encode_hero
5 years ago
Anders Jenbo
043d15db66
[hellfire] PackPlayer and frinds
5 years ago
qndel
23c2108dff
GetTempSaveNames/GetPermSaveNames
5 years ago
Anders Jenbo
3b8b5f9007
Reorder pfile.cpp
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
46e3216aac
Remove unused code
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
57f0f5f4c7
Handle hellfire save game differences
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
4b46361442
Remove some unused variables
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
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago