madmaxoft
3eb531a8c8
Added asserts for critical data in cPrefab.
2014-03-30 00:20:28 +01:00
madmaxoft
d64d9145d1
cPrefab now uses a struct for block type definition in CharMap.
...
As suggested by worktycho in 7b585290fc
, instead of packing the two values into a single int, they're packed into a struct.
Also added a test code for the prefab parsing in SELF_TEST.
2014-03-29 22:56:48 +01:00
madmaxoft
910e770a18
Fixed Prefab's rotations.
2014-03-28 16:36:33 +01:00
madmaxoft
7b585290fc
cPrefab can draw itself into a cChunkDesc.
2014-03-27 23:03:57 +01:00
madmaxoft
8c2c4f2463
Prefabs support connectors, rotations and merge strategy.
2014-03-26 22:01:01 +01:00
madmaxoft
37778e5f82
Added a basic cPrefab class.
...
Can be defined in the source by GalExport's cpp output.
2014-03-25 22:10:53 +01:00