~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/worker.h

  • Committer: Nicolai Hähnle
  • Date: 2010-10-31 12:50:41 UTC
  • mto: (5614.3.1 campaigns)
  • mto: This revision was merged to the branch mainline in revision 5692.
  • Revision ID: prefect_@gmx.net-20101031125041-z0qh421qs7gjix50
Initial cut of ship construction, untested, without proper savegame support

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                typedef bool (Worker::*execute_t)(Game &, Bob::State &, Action const &);
52
52
 
53
53
                enum {
54
 
                        walkObject, //  walk to objvar1
55
 
                        walkCoords, //  walk to coords
 
54
                        walkObject = 1, //  walk to objvar1
 
55
                        walkCoords = 2, //  walk to coords
 
56
                };
 
57
 
 
58
                enum {
 
59
                        plantAlways,
 
60
                        plantUnlessObject
56
61
                };
57
62
 
58
63
                execute_t function;
245
250
        bool run_geologist_find   (Game &, State &, Action const &);
246
251
        bool run_scout            (Game &, State &, Action const &);
247
252
        bool run_playFX           (Game &, State &, Action const &);
 
253
        bool run_construct        (Game &, State &, Action const &);
248
254
 
249
255
        // Displays a message to the player if a find... program can't be
250
256
        // executed