Commit Graph

53 Commits

Author SHA1 Message Date
Anders Jenbo 758c6ac377 Fix save games 2019-05-18 16:47:07 +02:00
Anders Jenbo ee1f79dae7 Clean up mpqapi.cpp 2019-05-12 17:23:52 +01:00
Anders Jenbo 2215013f08 Clean up mpqapi_reg_load_modification_time 2019-05-12 17:23:52 +01:00
Anders Jenbo 4752f30b25 Clean up mpqapi_remove_hash_entry 2019-05-12 17:23:52 +01:00
Anders Jenbo 46dfa53bf2 Clean up mpqapi_new_block 2019-05-12 17:23:52 +01:00
Anders Jenbo 87713db9ab Clean up mpqapi_get_hash_index 2019-05-12 17:23:52 +01:00
Anders Jenbo 0fa0f89659 Clean up mpqapi_add_file 2019-05-12 17:23:52 +01:00
Anders Jenbo c9199f1229 Clean up mpqapi_find_free_block 2019-05-12 17:23:52 +01:00
Anders Jenbo 8af652c4e1 Clean up mpqapi_parse_archive_header 2019-05-12 17:23:52 +01:00
Anders Jenbo 0d36767304 Clean up mpqapi_write_header 2019-05-12 17:23:52 +01:00
Anders Jenbo b797cdf0cf Use INVALID_HANDLE_VALUE 2019-05-11 12:50:04 +02:00
galaxyhaxz 3a636fdcc6 Add missing functions for MI_Dummy (#1004) 2019-04-22 20:21:52 -05:00
Anders Jenbo 55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Robin Eklind 531a3ad34d Merge branch 'mpqapi_write_hash_table' of https://github.com/AJenbo/devilution into AJenbo-mpqapi_write_hash_table 2019-04-10 20:12:12 +09:00
Robin Eklind 72782b118e Merge pull request #878 from AJenbo/mpqapi_write_block_table
Clean up mpqapi_write_block_table
2019-04-10 12:10:39 +09:00
Anders Jenbo c0ec5a134c Clean up mpqapi_can_seek 2019-04-09 20:20:47 +02:00
Anders Jenbo bdc8786542 Clean up mpqapi_write_hash_table 2019-04-09 20:18:04 +02:00
Anders Jenbo e0d3a5f9f0 Clean up mpqapi_write_block_table 2019-04-09 20:13:35 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo 5c22841071 Apply MAX_PATH 2019-04-08 18:52:30 +02:00
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
Robin Eklind 650ce139d3 Merge pull request #820 from JustAnotherGuid/mpqapiregloadmodificationtime
mpqapi_reg_load_modification_time bin exact
2019-04-02 00:03:20 +09:00
JustAnotherGuid 96470993dc mpqapi_close_archive clean-up (bin exact) (#822) 2019-03-31 21:49:34 +02:00
JustAnotherGuid fc5468db3c mpq_rename bin exact 2019-03-31 21:05:09 +02:00
JustAnotherGuid 2b561be90f mpqapi_reg_load_modification_time bin exact - really 2019-03-30 23:58:27 +01:00
JustAnotherGuid 51d6a71c87 mpqapi_reg_load_modification_time bin exact 2019-03-30 23:36:29 +01:00
JustAnotherGuid 339c224a70 mpq_api_get_hash_index_of_path bin exact 2019-03-30 15:12:33 +01:00
galaxyhaxz 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
JustAnotherGuid 449cfd4497 mpqapi_write_file bin exact (#777) 2019-03-28 17:44:58 +01:00
JustAnotherGuid 37bfbf556a void __fastcall mpqapi_remove_hash_entries(BOOL(__stdcall *fnGetName)(DWORD, char *)) 2019-03-24 19:08:18 +01:00
JustAnotherGuid 820e70cd94 Clean-up mpqapi_reg_store_modification_time (#623)
* Clean-up AddChest.

* (Work in progress) Clean-up InitL1Triggers

* Clean-up InitL1Triggers (Binary-exact version)

* Add /FAs flag.

* Rebase

* Accidental add.

* Minor modifications.

* Clean-Up mpqapi_reg_store_modification_time.

* Change to DWORD.
2019-03-14 09:08:48 +09:00
Anders Jenbo 2e32ac5ee0 Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD' (#576) 2019-01-23 09:34:16 +01:00
JustAnotherGuid 694be2da8d Clean-up mpqapi_set_hidden (#552)
* Clean-up mpqapi_set_hidden
Co-Authored-By: JustAnotherGuid <46401660+JustAnotherGuid@users.noreply.github.com>
2019-01-05 20:20:21 +01:00
Anders Jenbo 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Anders Jenbo b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo c46d92be7a Format save game related files 2018-10-22 01:49:43 +02:00
Andrew Dunstan 22dc793b7d Clean remaining pfile.cpp functions
full file is binary exact except for pfile_create_player_description (minor diff)
2018-10-06 14:13:19 +02:00
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
2018-10-01 18:45:25 +02:00
squidcc e2adda15ff fix function declarations (and some cosmetic changes) in preparation for pfile cleanup (#351) 2018-09-27 16:30:33 +02:00
galaxyhaxz cf10dadb91 Correct function names in "encrypt.cpp" (#344) 2018-09-27 00:49:30 +02:00
Dennis Duda f83bceedfa Merge branch 'master' into win32_ansi 2018-09-16 20:58:15 +02:00
Andrew Dunstan aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxz 34938876e0 A few name corrections (#203) 2018-09-14 23:47:22 -05:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
galaxyhaxz 5ff8756116 Fix junk (#174) 2018-08-21 23:58:17 -05:00
galaxyhaxz 775ae59e18 Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00