@@ -48,15 +48,15 @@ class LANGameSlot : public GameSlot
4848 Bool isUser ( LANPlayer *user ); // /< Does this slot contain the given user? Based off user->name
4949 Bool isUser ( UnicodeString userName ); // /< Does this slot contain the given user?
5050 Bool isLocalPlayer ( void ) const ; // /< Is this slot me?
51- inline void setLogin ( UnicodeString name ) { m_user.setLogin (name); }
52- inline void setLogin ( AsciiString name ) { m_user.setLogin (name); }
53- inline void setHost ( UnicodeString name ) { m_user.setHost (name); }
54- inline void setHost ( AsciiString name ) { m_user.setHost (name); }
55- inline void setSerial ( AsciiString serial ) { m_serial = serial; }
56- inline AsciiString getSerial ( void ) { return m_serial; }
51+ void setLogin ( UnicodeString name ) { m_user.setLogin (name); }
52+ void setLogin ( AsciiString name ) { m_user.setLogin (name); }
53+ void setHost ( UnicodeString name ) { m_user.setHost (name); }
54+ void setHost ( AsciiString name ) { m_user.setHost (name); }
55+ void setSerial ( AsciiString serial ) { m_serial = serial; }
56+ AsciiString getSerial ( void ) { return m_serial; }
5757
58- inline void setLastHeard ( UnsignedInt t ) { m_lastHeard = t; }
59- inline UnsignedInt getLastHeard ( void ) { return m_lastHeard; }
58+ void setLastHeard ( UnsignedInt t ) { m_lastHeard = t; }
59+ UnsignedInt getLastHeard ( void ) { return m_lastHeard; }
6060
6161 // LANGameSlot& operator=(const LANGameSlot& src);
6262
@@ -85,68 +85,68 @@ class LANGameInfo : public GameInfo
8585 virtual Int getLocalSlotNum ( void ) const ; // /< Get the local slot number, or -1 if we're not present
8686 Int getSlotNum ( UnicodeString userName ); // /< Get the slot number corresponding to a specific user, or -1 if he's not present
8787
88- inline UnsignedInt getLastHeard ( void ) { return m_lastHeard; }
89- inline void setLastHeard ( UnsignedInt lastHeard ) { m_lastHeard = lastHeard; }
90- inline LANGameInfo *getNext ( void ) { return m_next; }
91- inline void setNext ( LANGameInfo *next ) { m_next = next; }
88+ UnsignedInt getLastHeard ( void ) { return m_lastHeard; }
89+ void setLastHeard ( UnsignedInt lastHeard ) { m_lastHeard = lastHeard; }
90+ LANGameInfo *getNext ( void ) { return m_next; }
91+ void setNext ( LANGameInfo *next ) { m_next = next; }
9292
9393 // Game options
9494 void setMap ( AsciiString mapName ); // /< Set the map to play on
9595 void setSeed ( Int seed ); // /< Set the random seed for the game
9696
97- inline void setName ( UnicodeString name ) { m_gameName = name; } // /< Set the Name of the Game
98- inline UnicodeString getName ( void ) { return m_gameName; } // /< Get the Name of the Game
97+ void setName ( UnicodeString name ) { m_gameName = name; } // /< Set the Name of the Game
98+ UnicodeString getName ( void ) { return m_gameName; } // /< Get the Name of the Game
9999
100100 // Convinience functions that interface with the LANPlayer held in the slot list
101101 virtual void resetAccepted (void ); // /< Reset the accepted flag on all players
102102 Bool amIHost ( void ); // /< Convenience function - is the local player the game host?
103103
104104 // / Get the IP of selected player or return 0
105- inline UnsignedInt getIP ( int who )
105+ UnsignedInt getIP ( int who )
106106 {
107107 return m_LANSlot[who].getIP ();
108108 }
109109
110110 // / Set the IP of the Selected Player
111- inline void setIP ( int who, UnsignedInt IP )
111+ void setIP ( int who, UnsignedInt IP )
112112 {
113113 m_LANSlot[who].setIP (IP);
114114 }
115115
116116 // / set whether or not this is a direct connect game or not.
117- inline void setIsDirectConnect (Bool isDirectConnect)
117+ void setIsDirectConnect (Bool isDirectConnect)
118118 {
119119 m_isDirectConnect = isDirectConnect;
120120 }
121121
122122 // / returns whether or not this is a direct connect game or not.
123- inline Bool getIsDirectConnect ()
123+ Bool getIsDirectConnect ()
124124 {
125125 return m_isDirectConnect;
126126 }
127127
128128 // / Set the Player Name
129- inline void setPlayerName ( int who, UnicodeString name )
129+ void setPlayerName ( int who, UnicodeString name )
130130 {
131131 m_LANSlot[who].setName (name);
132132 }
133133
134134 // / Return the Player name or TheEmptyString
135- inline UnicodeString getPlayerName (int who)
135+ UnicodeString getPlayerName (int who)
136136 {
137137 return m_LANSlot[who].getName ();
138138 }
139139
140140 // / Return the time the player was heard from last, or 0
141- inline UnsignedInt getPlayerLastHeard ( int who )
141+ UnsignedInt getPlayerLastHeard ( int who )
142142 {
143143 if (m_LANSlot[who].isHuman ())
144144 return m_LANSlot[who].getLastHeard ();
145145 return 0 ;
146146 }
147147
148148 // / Set the last time we heard from the player
149- inline void setPlayerLastHeard ( int who, UnsignedInt lastHeard )
149+ void setPlayerLastHeard ( int who, UnsignedInt lastHeard )
150150 {
151151 DEBUG_LOG ((" LANGameInfo::setPlayerLastHeard - changing player %d last heard from %d to %d" , who, getPlayerLastHeard (who), lastHeard));
152152 if (m_LANSlot[who].isHuman ())
0 commit comments