My Idea of A Well Structured Variable System by Twisted Steel Software29th Jun 2008 8:20
|
---|
Summary Uses multiple types to create things like: player.pos.x Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com type xyztype x as float y as float z as float endtype type videotype width as integer height as integer depth as integer vsync as boolean multisample as boolean multimonitor as boolean endtype type playertype pos as xyztype rot as xyztype obj as dword endtype type terraintype pos as xyztype rot as xyztype obj as dword baseimg as integer detailimg as integer endtype type skytype pos as xyztype rot as xyztype obj as dword sunobj as dword endtype type watertype pos as xyztype rot as xyztype obj as dword fx as dword endtype terrain as terraintype player as playertype water as watertype |