1047 Commits

Author SHA1 Message Date
Jan
f9d515f141 reenable gitlab buildpipeline for gcc linux builds 2021-03-04 13:15:57 +01:00
Jan
159414d39c Fix type alignment macro inconsistencies 2021-03-04 13:06:36 +01:00
Jan
9ed749c9d2 Get rid of inheritence on Vector4 struct to prevent offsetof macro giving out a warning on gcc 2021-03-04 03:45:14 -08:00
Jan
35d9110783 Add alignment specifiers for gcc specifically to match MSVC alignments 2021-03-04 03:29:16 -08:00
Jan
3c9a9c038d Add alignment macros for asset definition that make use of parameter values 2021-03-04 11:41:09 +01:00
Jan
5f3aa2a460 Implement defines with parameters to ZoneCodeGenerator 2021-03-04 11:37:06 +01:00
Jan
29b962e949 Add offset of members to assetstructtests 2021-03-04 09:04:25 +01:00
Jan
a10b3b7d3c Change ZoneLoad alloc method getting alignment via alignof to alignment value being specified directly via number 2021-03-04 08:44:23 +01:00
Jan
9d05282ffb replace alignas with macros per compiler in asset headers 2021-03-03 13:49:58 -08:00
Jan
8dfd91e71e add linux build script 2021-03-03 13:30:24 -08:00
Jan
01fb7984db do not link ZoneWriting for now because it has no content 2021-03-03 22:17:20 +01:00
Jan
7b99d6b7dd only add pthreads linking when on linux 2021-03-03 22:17:05 +01:00
Jan
12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon 2021-03-03 12:56:15 -08:00
Jan
d616738be4 Use premake error function to display errors 2021-03-03 11:59:54 -08:00
Jan
7e7889f103 Make sure circular dependencies are an error 2021-03-03 11:57:16 -08:00
Jan
dc3fef5b0f Rework depedency management in premake lua scripts 2021-03-03 11:55:37 -08:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
a15fd17dfe Change alignment specifier to __attribute__((align(x)) for non VC++ 2021-03-03 15:58:55 +01:00
Jan
b4d8e9c17b Make compilation process compatible to linux on gcc 2021-03-03 06:21:25 -08:00
Jan
1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan
b6b0a57232 Refactor Crypto/Utils lib to make it Linux compatible 2021-03-01 08:17:18 -08:00
Jan
22402766af Make linux script and premake executable 2021-03-01 07:35:36 -08:00
Jan
2b9f3b52c4 Add linux premake 2021-03-01 16:26:54 +01:00
Jan
0975b1baa2 disable gitlab pipeline for now 2021-03-01 14:44:03 +01:00
Jan
1a09ad4396 Rename ZoneCodeGeneratorNew to ZoneCodeGenerator.
Cleaning build folder might be required to prevent errors due to previous c# project
2021-03-01 14:39:29 +01:00
Jan
f85c82f487 Remove old ZoneCodeGenerator implementation in c# 2021-03-01 14:30:10 +01:00
Jan
5290d3a768 Update ZCG new console output 2021-03-01 14:12:36 +01:00
Jan
e33250a2de Remove unused and comment parts of the zoneload zcg new template 2021-03-01 13:55:58 +01:00
Jan
1ce87f3ca3 fix some stuff for zoneload zcg new template 2021-03-01 13:15:12 +01:00
Jan
682e2e44ca Fix T6 commands not including commands for weaponcamo 2021-03-01 13:14:52 +01:00
Jan
e7c37574e7 Add dynamic array to zoneload zcg new 2021-03-01 12:54:41 +01:00
Jan
602d263472 fix a few snippet conditions for zoneloading in zcg new 2021-03-01 12:10:57 +01:00
Jan
11eb9ae4ce implement pointerarray 2021-02-28 23:37:14 +01:00
Jan
226c589bb8 make sure to calculate alignment of following modifiers properly 2021-02-28 23:17:39 +01:00
Jan
48d672edbe fix pointer array strings 2021-02-28 22:58:15 +01:00
Jan
25dbe10ba2 fix template error for singlepointer 2021-02-28 22:42:53 +01:00
Jan
7b29d61bb5 Fix types referenced via typedef not being accounted for when building rendering context 2021-02-28 22:42:44 +01:00
Jan
1164ec1777 Add embedded array to zcg template 2021-02-28 17:22:32 +01:00
Jan
41faee0979 Restructure template code for arraypointer and singlepointer to better reuse code instead of duplicating it 2021-02-28 17:09:39 +01:00
Jan
9578a24c49 Fix ZCG new operation 2 needs parenthesis if precendence is equal 2021-02-28 17:04:39 +01:00
Jan
5b7f33b63d implement loadzone singlepointer 2021-02-20 16:46:00 +01:00
Jan
04491e21f2 zoneload member skeleton 2021-02-20 15:44:26 +01:00
Jan
5be0b28323 Implement ZoneLoad skeleton 2021-02-20 14:40:14 +01:00
Jan
447e729964 prevent shuffling usedtypes when building rendering context 2021-02-20 12:36:12 +01:00
Jan
fe121853e2 render zoneload header 2021-02-20 12:28:38 +01:00
Jan
5db8c3adf1 fix image formats not being inside all image formats array 2021-02-20 10:49:25 +01:00
Jan
df549b811d fix custom bit size not being applied to variables 2021-02-20 10:46:04 +01:00
Jan
989bc9fc30 Fix enum parent type not being set 2021-02-20 10:45:44 +01:00
Jan
44e739ba44 fix rendering context only adding asset types instead of the other way around 2021-02-20 10:45:29 +01:00
Jan
b4f1e09315 Change cpp unit test framework to catch2 for all cpp unit test projects 2021-02-20 10:44:33 +01:00