source: golgotha/src/golg/map_vars.hh

Last change on this file was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 988 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef G1_MAP_VARS_HH
10#define G1_MAP_VARS_HH
11
12#include "map_data.hh"
13#include "lisp/li_optr.hh"
14
15class li_class;
16
17class g1_map_vars_class : public g1_map_data_class
18{
19public:
20  li_object_pointer var_ptr;
21  li_class *vars() { return (li_class *)var_ptr.get(); }
22
23  g1_map_vars_class() : g1_map_data_class("vars") {}
24
25  virtual void load(g1_loader_class *fp, w32 sections);
26  virtual void save(g1_saver_class *fp, w32 sections);
27};
28
29extern g1_map_vars_class  g1_map_vars;
30
31
32#endif
Note: See TracBrowser for help on using the repository browser.