00001 00020 #ifndef POLYVERT_H 00021 #define POLYVERT_H 00022 00023 #include "elst2.h" 00024 #include "rect.h" 00025 00030 class POLYPT:public ELIST2_LINK 00031 { 00032 public: 00033 POLYPT() { //empty 00034 } 00035 POLYPT( //constructor 00036 const FCOORD &position, //coords 00037 const FCOORD &vector) { //step to next 00038 pos = position; 00039 vec = vector; //just copy 00040 } 00041 00042 void prep_serialise() { //set ptrs to counts 00043 } 00044 void dump( //write external bits 00045 FILE *) { 00046 } 00047 void de_dump( //read external bits 00048 FILE *) { 00049 } 00050 //really simple 00051 make_serialise (POLYPT) FCOORD pos; 00053 FCOORD vec; 00054 }; 00055 00056 ELIST2IZEH_S (POLYPT) 00057 #endif