equal
deleted
inserted
replaced
157 |
157 |
158 SwitchMode(SM_NEWGAME); |
158 SwitchMode(SM_NEWGAME); |
159 return 0; |
159 return 0; |
160 } |
160 } |
161 |
161 |
162 int32 CmdLoadGame(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
162 int32 CmdCreateScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
163 { |
163 { |
164 if (!(flags & DC_EXEC)) |
164 if (!(flags & DC_EXEC)) |
165 return 0; |
165 return 0; |
166 |
166 |
167 // ShowSaveLoadDialog(0); |
|
168 return 0; |
|
169 } |
|
170 |
|
171 int32 CmdCreateScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
|
172 { |
|
173 if (!(flags & DC_EXEC)) |
|
174 return 0; |
|
175 |
|
176 _switch_mode = SM_EDITOR; |
167 _switch_mode = SM_EDITOR; |
177 return 0; |
|
178 } |
|
179 |
|
180 int32 CmdSetSinglePlayer(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
|
181 { |
|
182 printf("CmdSetSinglePlayer\n"); |
|
183 return 0; |
168 return 0; |
184 } |
169 } |
185 |
170 |
186 int32 CmdStartScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
171 int32 CmdStartScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
187 { |
172 { |