~flosoft/s25rttr/trunk

« back to all changes in this revision

Viewing changes to src/nofMinter.h

  • Committer: FloSoft
  • Date: 2014-04-25 15:35:50 UTC
  • Revision ID: flosoft@siedler25.org-20140425153550-9muu4vodhlqu58m0
committing subversion revision 9357 by FloSoft
astyle

modified:
s25client/trunk/
s25client/trunk/contrib/lua/lin32/include/
s25client/trunk/contrib/lua/lin64/include/
s25client/trunk/contrib/lua/mac/include/
s25client/trunk/contrib/lua/win32/include/
s25client/trunk/contrib/lua/win64/include/
s25client/trunk/driver/audio/SDL/src/
s25client/trunk/driver/src/
s25client/trunk/driver/video/GLFW/src/
s25client/trunk/driver/video/SDL/src/
s25client/trunk/driver/video/WinAPI/src/
s25client/trunk/src/
s25client/trunk/win32/
s25client/trunk/win32/prebuild-mutex/src/

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: nofMinter.h 7521 2011-09-08 20:45:55Z FloSoft $
 
1
// $Id: nofMinter.h 9357 2014-04-25 15:35:25Z FloSoft $
2
2
//
3
3
// Copyright (c) 2005 - 2011 Settlers Freaks (sf-team at siedler25.org)
4
4
//
27
27
/// Klasse f�r den Schreiner
28
28
class nofMinter : public nofWorkman
29
29
{
30
 
        /// Zeichnet ihn beim Arbeiten
31
 
        void DrawWorking(int x, int y);
32
 
        /// Gibt die ID in JOBS.BOB zur�ck, wenn der Beruf Waren raustr�gt (bzw rein)
33
 
        unsigned short GetCarryID() const { return 64; }
34
 
        /// Der Arbeiter erzeugt eine Ware
35
 
        GoodType ProduceWare();
36
 
 
37
 
public:
38
 
 
39
 
        nofMinter(const unsigned short x, const unsigned short y,const unsigned char player,nobUsual * workplace);
40
 
        nofMinter(SerializedGameData * sgd, const unsigned obj_id);
 
30
        /// Zeichnet ihn beim Arbeiten
 
31
        void DrawWorking(int x, int y);
 
32
        /// Gibt die ID in JOBS.BOB zur�ck, wenn der Beruf Waren raustr�gt (bzw rein)
 
33
        unsigned short GetCarryID() const { return 64; }
 
34
        /// Der Arbeiter erzeugt eine Ware
 
35
        GoodType ProduceWare();
 
36
 
 
37
    public:
 
38
 
 
39
        nofMinter(const unsigned short x, const unsigned short y, const unsigned char player, nobUsual* workplace);
 
40
        nofMinter(SerializedGameData* sgd, const unsigned obj_id);
41
41
 
42
42
/// Serialisierungsfunktionen
43
 
        protected:      void Serialize_nofMinter(SerializedGameData * sgd) const;
44
 
        public:         void Serialize(SerializedGameData *sgd) const { Serialize_nofMinter(sgd); }
 
43
    protected:  void Serialize_nofMinter(SerializedGameData* sgd) const;
 
44
    public:     void Serialize(SerializedGameData* sgd) const { Serialize_nofMinter(sgd); }
45
45
 
46
 
        GO_Type GetGOT() const { return GOT_NOF_MINTER; }
 
46
        GO_Type GetGOT() const { return GOT_NOF_MINTER; }
47
47
};
48
48
 
49
49
#endif