All pastes #397768 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-16 19:31 UTC
rendered paste body
enum ENTITY_TYPE{ET_OBJECT,ET_LAND,ET_AI};

struct Entity {

 int x;
 int y;
 int z;
 c8 model;
 ENTITY_TYPE type;
}

Entity* entity = new Entity();
entity.type = ET_OBJECT;