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
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
7f699dbad2
Remove more legacy savegame code
...
This code was only active in versions prior to 1.08
6 years ago
Anders Jenbo
e577f9bdc7
Remove more old save game format code
...
Multiplayer save games from before 1.08 where using the system name as
the password, so they would need to be converted on the original machine
by 1.08-1.09b before they can be transfered to another system.
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
4532f009ff
Remove old anti-cheat code from save function
...
Tthis code simply logs the save time of a multiplayer game in the
register database, this was likly done as part of an anti cheat scheme
(the key was "Video Player"), but appears to have since been disabled.
Probably to allow moving save games between PC's which was supported
when better Windows 2000 support was added.
6 years ago
Anders Jenbo
0e578ffb11
Enable assertions
6 years ago
Anders Jenbo
e88e574c5f
Drop unimplemented code
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
qndel
1b1b4e658d
init_read_test_file clean up
7 years ago
Anders Jenbo
faebce4c26
BUGFIX comment for assert left overes
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Robin Eklind
4e09aeb3a8
pfile: add assert comments to pfile_rename_temp_to_perm
...
Based on @galaxyhaxz code in https://github.com/diasurgical/devilution/pull/1294#issuecomment-509018789
Also, per suggestion of @sskras .
7 years ago
Robin Eklind
964c17457b
pfile: add BUGFIX comment for pfile_rename_temp_to_perm
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
lkk7
c199594dd2
Fix save file being converted to lower case ( #126 )
7 years ago
Anders Jenbo
ee1f79dae7
Clean up mpqapi.cpp
7 years ago
Anders Jenbo
4af67eab78
Update pfile.cpp
7 years ago
Anders Jenbo
8eecc53b41
Clean up pfile.cpp
7 years ago
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy ( #1004 )
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
005e4f911a
Fixes and remove unused stuff
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
aperturesecurity
22c941d488
added new build
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
galaxyhaxz
c302881060
Fix gszHero
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
8 years ago
ChaosMarc
eefb443f87
fix VC build
8 years ago
Robin Eklind
7515655efb
Run format.sh
8 years ago
Andrew Dunstan
22dc793b7d
Clean remaining pfile.cpp functions
...
full file is binary exact except for pfile_create_player_description (minor diff)
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
nomdenom
41de3d2920
Use INVALID_HANDLE
8 years ago
squidcc
b9eca92474
pfile cleaning #2 ( #373 )
...
* clean GetSaveDirectory and pfile_read_hero
clean pfile_open_save_archive
clean pfile_archive_contains_game
clean pfile_get_player_class
clean pfile_get_file_name
clean GetTempSaveNames
clean GetPermSaveNames
clean pfile_update
clean pfile_init_save_directory
clean pfile_write_hero
clean pfile_open_archive
clean pfile_flush_W
* add stub for mpqapi_update_multi_creation_time
8 years ago
squidcc
df89dd7333
more pfile cleaning ( #356 )
...
* clean pfile_check_available_space
clean pfile_get_save_num_from_name
clean pfile_encode_hero
clean pfile_get_save_path
clean pfile_flush
clean game_2_ui_class and game_2_ui_player
* type fix-ups
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
8 years ago
nomdenom
1c279c3f89
Fix declaration of gbValidSaveFile (BOOL) ( #331 )
8 years ago
galaxyhaxz
1224d01161
Sync with master ( #301 )
8 years ago
galaxyhaxz
6769eb8baf
Implement hero selection in DiabloUI (P1) ( #300 )
8 years ago
Andrew Dunstan
aedf7555d1
Remove A suffix from all string-related win32 API function names
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago