/[enigma]/enigma/src/stones_internal.hh
ViewVC logotype

Diff of /enigma/src/stones_internal.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by reallysoft, Sun Jul 6 12:47:04 2003 UTC revision 1.3 by reallysoft, Fri Jul 18 17:16:33 2003 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2002,2003 Daniel Heck   * Copyright (C) 2002,2003 Daniel Heck
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/ or
5   * modify it under the terms of the GNU General Public License   * modify it under the terms of the GNU General Public License
6   * as published by the Free Software Foundation; either version 2   * as published by the Free Software Foundation; either version 2
7   * of the License, or (at your option) any later version.   * of the License, or (at your option) any later version.
# Line 20  Line 20 
20  #ifndef STONES_INTERNAL_HH_INCLUDED  #ifndef STONES_INTERNAL_HH_INCLUDED
21  #define STONES_INTERNAL_HH_INCLUDED  #define STONES_INTERNAL_HH_INCLUDED
22    
23    #ifndef FWD_HH
24    #include "fwd.hh"
25    #endif
26    
27  namespace stones  namespace stones
28  {  {
29      void Init_simple();      void Init_simple();
30      void Init_complex();      void Init_complex();
31    
32        // allows to completely remove a Stone and its model
33        // for a short time
34        //
35        // - "delays" animation
36        //
37        // @@@ FIXME: alarms have to be disabled as well
38    
39        class YieldedGridStone {
40            world::Stone   *stone;
41            display::Model *model;
42    
43            YieldedGridStone(const YieldedGridStone&);
44            YieldedGridStone& operator = (const YieldedGridStone&);
45        public:
46    
47            YieldedGridStone(world::Stone *st);
48            ~YieldedGridStone();
49    
50            void set_stone(enigma::GridPos pos);
51        };
52  }  }
53    
54    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26