Commit Graph
100 Commits
Author SHA1 Message Date
Jan 3dad9d60da chore: fix typo in structs 2024-04-07 10:54:04 +02:00
Jan 9c4128b830 chore: update iw5 weapon fulldef sizes 2024-04-07 09:49:53 +02:00
Jan 7be21ebb20 feat: dump iw5 weapons on iw4 level 2024-04-06 11:46:39 +02:00
Jan 9b19b5f26f fix: linux build 2024-04-03 00:10:06 +02:00
Jan 5474cc6655 fix: wrong preprocessing of technique templates 2024-04-03 00:02:45 +02:00
Jan 976fbf94f8 fix: make vertex decl asset references work when building 2024-04-02 23:52:38 +02:00
Jan d1a189defc chore: convert anim names to lower before adding as indirect asset references 2024-04-02 23:49:24 +02:00
Jan a1cf4ef30b feat: load iw4 weapons from raw 2024-04-02 23:49:06 +02:00
Jan 666ea2be9d chore: change tests to reflect new action parsing behaviour 2024-03-30 20:10:20 +01:00
Jan 89074c8601 fix: not reallocating IW5 clipMap pInfo from temp block 2024-03-30 20:10:20 +01:00
Jan fc18f81302 fix: consider asset references when looking for assets of zone 2024-03-30 17:44:55 +01:00
Jan e7a9e4b528 chore: use const reference for assetName in GetAsset methods 2024-03-30 17:19:32 +01:00
Jan f001107ad1 docs: update docs repo url 2024-03-29 11:14:13 +01:00
Jan 239001e6f2 refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan 132cccb971 refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan 1b13f1f1b4 refactor: only use sizeof with parenthesis 2024-03-24 19:56:06 +01:00
Jan 4f0ee35740 refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan e62e4c873e fix: not loading t6 weapon camo shader consts from json 2024-03-24 16:57:47 +01:00
Jan b1ff653dc8 style: fix formatting 2024-03-24 16:35:10 +01:00
Jan 742b8d5bc6 chore: restructure t6 weapon camo json 2024-03-24 16:24:05 +01:00
Jan c881cd6fd3 feat: load t6 weapon camo from json 2024-03-24 16:24:05 +01:00
Jan af37476e23 chore: make material json loader use anonymous namespace 2024-03-24 16:24:01 +01:00
Jan 73d6d2bf5c feat: dump t6 WeaponCamo asset as json 2024-03-24 01:20:49 +01:00
Jan cf02d7ac83 chore: use anonymous namespace for JsonMaterialWriter 2024-03-24 01:20:22 +01:00
Jan cf891e458a chore: move json classes to json folder 2024-03-24 00:51:33 +01:00
Jan f7f44e972d docs: fix broken examples link 2024-03-03 12:17:17 +01:00
Jan 5aec94048c docs: add clarification about building yourself and downloading a release 2024-03-03 11:49:51 +01:00
Jan 105370f7eb docs: move up the documentation and example section 2024-03-03 11:48:25 +01:00
Jan 6f5f8d92dc docs: extend documentation section of readme with links to mods using OAT 2024-03-03 11:47:40 +01:00
Jan a0a420f7f1 fix: build on linux 2024-02-29 17:27:48 +01:00
Jan 0bb17a33bd feat: load materials from json 2024-02-29 17:27:48 +01:00
Jan 1f6d0ab51a chore: replace material dumping with lib recommendation of serializing and deserializing json 2024-02-29 17:27:44 +01:00
Jan 0498c6e8be chore: use gcc/g++ 13 in ci 2024-02-29 17:10:12 +01:00
Jan 3592d7216a chore: upgrade c++ version to cpp20 2024-02-24 21:04:10 +01:00
Jan 81cb19dba2 chore: add hardcoded texture def and constant names 2024-02-24 13:27:23 +01:00
Jan 6b6fd7cb10 chore: check if name for constant or texture def was already added 2024-02-24 11:53:34 +01:00
Jan 5bbab8ca79 chore: measure duration of material constant name extracting 2024-02-24 11:46:00 +01:00
Jan d3b15aa86a feat: use names from shaders to complete names in material constants and texturedefs 2024-02-24 11:42:47 +01:00
Jan 36ac8f02be chore: fix d3d11 shader analyser errors 2024-02-24 11:41:34 +01:00
Jan ad3f019dff chore: add d3d11 enum types 2024-02-24 09:58:34 +01:00
Jan d2420617f0 feat: add parser for dx11 shaders 2024-02-23 22:52:31 +01:00
Jan bde54db328 feat: dump t6 shaders 2024-02-18 13:48:04 +01:00
Jan df7b25b854 feat: dump t6 materials as json 2024-02-18 10:16:43 +01:00
Jan 62e08c29bd fix: attachment unique overwrites handling being incorrect 2024-02-15 21:13:58 +01:00
Jan b9bf4778fa fix: fix weapon attachment unique hidetags 2024-02-13 23:53:59 +01:00
Jan 66e8f8fa78 chore: use cerr for error messages in weapon assets for t6 2024-02-13 23:53:42 +01:00
Jan 68dfac10db fix: consider attachmentunique szXAnims an assetref 2024-02-13 16:57:15 +01:00
Jan f6ee4790fa fix: not dumping all sound aliases in aliases csv 2024-02-11 11:32:47 +01:00
Jan 4914eb552f chore: fix linux build 2024-02-10 17:04:32 +01:00
Jan 4591787989 chore: drop third party lib for reading flac header 2024-02-10 16:38:20 +01:00
Jan 05ce73049d chore: small code cleanups 2024-02-10 10:52:02 +01:00
Jan 45689a29a1 chore: make SoundBankEntryInfo a class without constructors 2024-02-10 10:01:55 +01:00
Jan 5a3aa8ca0f fix: not adding correct condition to iw5 FxEffectVisuals lightDef 2024-02-08 23:39:23 +01:00
Jan a3dfb9e431 fix: indirect asset references may not be fully lower case 2024-02-08 22:59:42 +01:00
Jan d3d7f1b6e5 fix: not properly handling array of indirect asset ref pointers 2024-02-07 01:27:54 +01:00
Jan 54c37c318e style: fix formatting 2024-02-07 01:18:00 +01:00
Jan c9a6b10f58 chore: add assetrefs to other games 2024-02-07 01:12:03 +01:00
Jan 405cad06a8 feat: load T6 FxEffectDefRef as asset ref 2024-02-07 01:06:16 +01:00
Jan 37fad556c6 chore: load asset refs from assets taken from global asset pools 2024-02-07 01:00:43 +01:00
Jan fef815e708 feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan 2dd4eaf54f feat: automatically load anims of weapons in t6 2024-02-06 23:56:31 +01:00
Jan 0a13281295 chore: load indirectly referenced assets if they are not ignored 2024-02-06 23:56:05 +01:00
Jan ac0d8a83a0 chore: refactor pool allocation and add indirect references 2024-02-06 23:03:40 +01:00
Jan ce31472f7f fix: notetracksoundmap initialized with empty string instead of nullptr in t6 2024-02-04 21:16:01 +01:00
Jan 27cd703cbd fix: weapon hidetags initialized with empty string instead of nullptr in t6 2024-02-04 21:10:29 +01:00
Jan 3fd17fc6d3 fix: calculate requiring marking for structs even when called recursively 2024-01-24 00:16:09 +01:00
Jan c6c89140b2 fix: check correct array for emptyness when getting dependencies from marker 2024-01-23 23:59:08 +01:00
Jan 0b0b888b0d chore: make help command return exit code 0 2024-01-23 23:14:52 +01:00
Jan 05437cfd7d feat: add version command line arg to all executables 2024-01-23 23:14:52 +01:00
Jan 7919683748 chore: write header with git version 2024-01-23 23:14:51 +01:00
Jan df2a5294e8 fix: consider structures that are assets requiring marking 2024-01-23 19:29:43 +01:00
Jan 70dba19484 fix: do not consider a structure require marking when it contains a string member 2024-01-23 19:29:09 +01:00
Jan 91cbfa2bbb chore: use marker template in loader for scriptstrings and dependencies 2024-01-22 22:40:03 +01:00
Jan 685a99577b chore: remove scriptstring and dependency registration from ZoneLoad template 2024-01-22 22:39:18 +01:00
Jan 9d7c0d3452 feat: add asset marking 2024-01-22 21:47:46 +01:00
Jan c8d25059b9 fix: fix StringTableLoaderV3 not properly initializing cell indices 2024-01-20 20:04:22 +01:00
Jan ada3a3251e test: add unit tests for string table asset loaders 2024-01-20 20:03:59 +01:00
Jan 2a1b64021b chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan 8de849dc85 feat: add iw3 StringTable loading via generic loader 2024-01-20 15:37:15 +00:00
Jan 4696011d9d chore: extend CsvStream to be able to emit const char* allocated with a MemoryManager 2024-01-20 16:30:59 +01:00
Jan 09f3313d76 chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Jan bcdde6a244 feat: add localize entry loading for IW3 2024-01-20 11:37:41 +01:00
Jan 034809c7bb Fix formatting 2024-01-07 14:36:23 +00:00
Jan 44b0f4da5e Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:41:50 +01:00
Jan cd53c3cbe4 Move D3DFormat definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:35:00 +01:00
Jan c4150279d0 Add naive expression dumping for menus for debugging purposes 2024-01-06 19:39:07 +01:00
Jan 6eca361517 Fix IW4 menu dumper not dumping custom functions properly 2024-01-06 13:41:02 +01:00
Jan 15bec9c356 Remove duplicated dumping of disabled property in items 2024-01-06 12:07:47 +01:00
Jan 9d0beaa8fc Communicate to the asset loader when parsing localize file failed 2023-12-31 13:45:17 +01:00
Jan eb065658e6 Use CommonLocalizeEntry in parser 2023-12-31 13:41:44 +01:00
Jan 7c50dd84a7 Reduced duplicated code between localize asset loaders 2023-12-31 13:32:38 +01:00
Jan 196e2edd8a Use ZoneState to check whether localize key is duplicated 2023-12-31 12:28:13 +01:00
Jan e4cfda73dc Move localize parsing into localize root folder 2023-12-31 11:09:45 +01:00
Jan 32d8552115 Separate release and ci workflows 2023-12-30 20:37:33 +01:00
Jan 29a77ff0d8 Correctly name token-paste instead of token-join 2023-12-30 20:05:49 +01:00
Jan e090e112e6 Implement token pasting 2023-12-30 20:03:35 +01:00
Jan eece5bb91d Leave in token joining operator but do stringize forward lookup instead 2023-12-30 18:47:32 +01:00
Jan edb88273e7 Fix not correct adding input suffix when expanding nested macro 2023-12-30 16:45:06 +01:00
Jan 70d4d77266 Identify token joining operators 2023-12-30 16:41:17 +01:00
Jan 729b72c1d9 Consider triple number sign in macro value combination of ## and # 2023-12-30 14:39:08 +01:00