summaryrefslogtreecommitdiff
path: root/3dc/win95/objedit.h
diff options
context:
space:
mode:
authorRebellion Developments <rebellion@nomail>2000-03-16 11:25:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-19 05:45:17 +0200
commit218ca90543758a20ac326e444ca0643174ca7384 (patch)
tree16bfe3e5307f9f515489000f28728224291a0e3b /3dc/win95/objedit.h
Import Aliens vs Predator - Gold (Build 116)
Source code release, imported from: https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code All text files were converted to Unix format.
Diffstat (limited to '3dc/win95/objedit.h')
-rw-r--r--3dc/win95/objedit.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/3dc/win95/objedit.h b/3dc/win95/objedit.h
new file mode 100644
index 0000000..c39b2ec
--- /dev/null
+++ b/3dc/win95/objedit.h
@@ -0,0 +1,84 @@
+
+#include "Chunk.hpp"
+
+#define VECTOR VECTORCH
+
+struct ChunkMapBlock
+{
+ char TemplateName[20];
+ char TemplateNotes[100];
+ int MapType;
+ int MapShape;
+ int MapFlags;
+ int MapFlags2;
+ int MapFlags3;
+ int MapCType;
+ int MapCGameType;
+ int MapCStrategyS;
+ int MapCStrategyL;
+ int MapInteriorType;
+ int MapLightType;
+ int MapMass;
+ VECTOR MapNewtonV;
+ VECTOR MapOrigin;
+ int MapViewType;
+
+ int MapVDBData;
+ int SimShapeList;
+
+
+
+};
+
+class Map_Block_Chunk : public Chunk
+{
+public:
+ virtual size_t size_chunk()
+ {
+ return (chunk_size=216);
+ }
+ virtual BOOL output_chunk (HANDLE &);
+
+ virtual void fill_data_block (char * data_start);
+
+ ChunkMapBlock map_data;
+ friend class Object_Project_Data_Chunk;
+
+ Map_Block_Chunk (Object_Project_Data_Chunk * parent)
+ :Chunk(parent,"MAPBLOCK")
+ {}
+private:
+
+ //constructor from buffer
+ Map_Block_Chunk (Object_Project_Data_Chunk * parent,const char* data);
+};
+
+struct ChunkStrategy
+{
+ char StrategyName[20];
+ char StrategyNotes[100];
+ int Strategy;
+};
+
+class Strategy_Chunk : public Chunk
+{
+public :
+ virtual size_t size_chunk()
+ {
+ return (chunk_size=136);
+ }
+ virtual BOOL output_chunk (HANDLE &);
+
+ virtual void fill_data_block (char * data_start);
+
+ ChunkStrategy strategy_data;
+ friend class Object_Project_Data_Chunk;
+
+ Strategy_Chunk(Object_Project_Data_Chunk *parent)
+ :Chunk(parent,"STRATEGY")
+ {}
+private:
+
+ //constructor from buffer
+ Strategy_Chunk (Object_Project_Data_Chunk * parent,const char* data);
+};