1811 Commits

Author SHA1 Message Date
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
8736280ea8 Fix zone writing code not setting ptr following 2021-03-18 13:02:31 +01:00
Jan
0a4886e7ab Make sure zone memory can allocate blocks that are larger than its default maximum size and throw an error if allocation failed 2021-03-18 11:48:41 +01:00
Jan
50808bfad7 Fix xchunk processor not resetting input buffer size 2021-03-18 11:47:55 +01:00
Jan
2add1ba22d Make sure xchunk write size can specified to be smaller than xchunk size to respect zlib to add size instead of removing size due to not being able to compress 2021-03-18 11:47:41 +01:00
Jan
7c0504603e Basic write template based on load template 2021-03-18 10:58:07 +01:00
Jan
58eb64114c Add missing headers for gcc 2021-03-17 23:32:42 +01:00
Jan
1c35f43c25 Add noexcept specifier to XChunkException and WritingException 2021-03-17 23:25:58 +01:00
Jan
0bd4160956 Use static variable for void* PTR_INSERT and PTR_FOLLOWING instead of constexpr because thats incompatible with g++ 2021-03-17 23:16:09 +01:00
Jan
724e221ba4 Write XChunks in fastfiles 2021-03-17 22:25:47 +01:00
Jan
f22012d282 Move XChunk processors to ZoneCommon 2021-03-16 20:42:48 +01:00
Jan
ca1329323b Add header writing to IW4 ZoneWriterFactory 2021-03-16 13:30:36 +01:00
Jan
c9f88e5e93 Use ZoneConstants class for IW4 2021-03-16 13:19:56 +01:00
Jan
03775944ce Add skeleton for IW4 writing 2021-03-16 12:52:26 +01:00
Jan
4feea62280 ZoneWriting stuff 2021-03-16 12:37:15 +01:00
Jan
9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00
Jan
301f6e3e7a Use unique_ptr for ZoneLoading 2021-03-14 12:34:50 +01:00
Jan
94230cefb0 Make empty linking asset if asset is ignored 2021-03-13 19:32:51 +01:00
Jan
d65f906ecb Remove FxImpactTable asset name 2021-03-13 15:48:55 +01:00
Jan
b8cfdba5ec Make ZoneDefinition parser recognize strings as asset names 2021-03-13 15:48:26 +01:00
Jan
cff70daccb Make comment removing preprocessor not recognize comments when inside a string 2021-03-13 15:48:04 +01:00
Jan
8a227d1171 Fix SimpleLexer not initializing read numbers property 2021-03-13 15:47:42 +01:00
Jan
a84a4051f9 Write ZoneDefinition entry in parenthesis if there are unparsable character sequences 2021-03-13 15:10:03 +01:00
Jan
0db526d1c8 Check for already loaded assets when loading asset dependencies 2021-03-13 14:54:56 +01:00
Jan
5f6d976748 Fix ZoneDefinition parser condition for leaving out slashes 2021-03-13 14:54:36 +01:00
Jan
a7860c7c76 Add AssetLoader basis 2021-03-13 14:27:20 +01:00
Jan
83080db991 Include filesize when opening a file with searchpaths 2021-03-13 10:27:18 +01:00
Jan
62247cecda Create directories for output fastfile for linker 2021-03-13 10:25:37 +01:00
Jan
a57201d78d Rename AssetLoading from Linker to ZoneCreation 2021-03-12 11:20:02 +01:00
Jan
43966e8e00 Remove unused xblocks vector in Zone 2021-03-12 10:57:31 +01:00
Jan
b360816190 Add AssetLoaders for linker that handle asset types for their specific game 2021-03-12 10:55:55 +01:00
Jan
792509d11d Read assetlists for ignoring assets 2021-03-11 14:04:53 +01:00
Jan
88b5eefe24 Create CsvStream class to replace CsvWriter 2021-03-11 12:43:33 +01:00
Jan
9b15afa70e Make ZoneDefinition sequences also accept eof instead of new line 2021-03-10 15:17:36 +01:00
Jan
8798779b39 Add ZoneDefinition Lexer 2021-03-10 14:58:02 +01:00
Jan
c47ea48b6b Open search paths for assets, gdts and source in Linker 2021-03-10 12:26:09 +01:00
Jan
8c7926e745 Add document describing folder structure 2021-03-09 14:30:58 +01:00
Jan
6b80a1f951 Add sequences for ZoneDefinition includes and ignores 2021-03-09 11:20:05 +01:00
Jan
00462b9228 Include parsing when include ZoneCommon 2021-03-09 11:19:49 +01:00
Jan
f3e8100526 Add ZoneDefinition Parsing 2021-03-09 11:04:34 +01:00
Jan
88ff98f334 Add Simple Parsing implementations for basic parsers 2021-03-09 11:04:04 +01:00
Jan
8d9080066f Extract commonly used Parser code to new Parser component 2021-03-08 20:06:34 +01:00
Jan
d96f813e73 Restructure ZoneDefinitionWriting 2021-03-08 17:28:24 +01:00
Jan
e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan
39a1485be6 Add T6 attachment unique dumper 2021-03-07 17:51:02 +01:00
Jan
7e9dfe9127 move iw4 string arrays to commoniw4 header 2021-03-07 15:33:21 +01:00
Jan
ba1bca775b Move T6 string arrays to CommonT6 header 2021-03-07 15:30:48 +01:00
Jan
5db7eaeec3 Add T6 Attachment dumper 2021-03-07 15:25:58 +01:00
Jan
b891f9527e Change the condition under which assets are dumped inside a gdt:
Make the parameter --gdt to manually make the tool dump as a gdt
2021-03-07 15:25:47 +01:00
Jan
313e9e9f1a Remove reference asset names from info strings 2021-03-06 21:20:13 +01:00