83 Commits

Author SHA1 Message Date
Anders Jenbo e2a98b75fe Clean up some magic values 2021-01-02 22:34:32 +01:00
Anders Jenbo c833d55cc1 Clean up mpqapi_write_file_contents 2020-12-30 23:03:11 +01:00
Anders Jenbo 0bf9b1bfe6 Fix mpqapi_get_hash_index 2020-12-29 05:36:06 +01:00
qndel bb54ed00e4 mpqapi_get_hash_index bin exact 2020-12-28 17:45:21 +01:00
qndel 8255c27f21 mpqapi_find_free_block bin exact (#2182) 2020-12-28 16:51:22 +01:00
qndel e1406e241a mpqapi_new_block bin exact 2020-12-28 16:50:47 +01:00
Anders Jenbo f2f4de8e33 Reorder mpqapi.cpp 2020-11-04 00:01:29 +01:00
Anders Jenbo cd18914026 Avoid void pointers 2020-04-08 20:34:38 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01:00
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)
2020-03-01 22:18:00 +01:00
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).
2020-02-14 13:12:54 +01:00
qndel 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo 802f2e76fa save_archive_modified = TRUE; 2019-11-09 19:41:58 +01:00
Anders Jenbo 1bc2ea4f58 Update mpqapi.cpp 2019-11-09 19:40:47 +01:00
qndel f473ffbe7f mpqapi_add_file cleanup 2019-09-05 20:20:45 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Anders Jenbo 7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo 8ac54ddcaa Make mpqapi_write_file_contents C compatible 2019-06-14 23:51:47 +02:00
Sergey Semushin f3f29cf0a9 Clean up mpqapi_write_file_contents. 2019-06-14 23:44:41 +02:00
Sergey Semushin 536b1b58aa Clean up OpenMPQ (with goto) 2019-06-12 23:43:55 +01:00
Anders Jenbo a55d2a811f Clean up mpqapi.cpp 2019-06-09 01:52:24 +02:00
Anders Jenbo 2270bad1b9 Correct type of dwChar in mpqapi.cpp 2019-06-09 01:49:52 +02:00
Robin Eklind 2bc0fe09d8 mpqapi_alloc_block bin exact (#1250) 2019-06-09 00:34:52 +01:00
Sergey Semushin af687e8fd8 Clean up mpqapi_flush_and_close. 2019-06-08 22:14:06 +01:00
Sergey Semushin ae8a6cd5b8 Clean up mpqapi_store_creation_time. 2019-06-06 23:31:40 +03:00
Sergey Semushin b0e75bc028 Clean up mpqapi_store_modified_time. 2019-06-06 23:30:45 +03:00
Anders Jenbo 11b6b1f860 Remove more garbage 2019-06-03 02:20:42 +01:00
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