blobwarsAttrition/src/test/atlasTest.c

60 lines
1.2 KiB
C
Raw Normal View History

2018-01-28 13:01:39 +01:00
/*
Copyright (C) 2018 Parallel Realities
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "atlasTest.h"
void initAtlasTest(void)
{
2018-02-20 23:12:07 +01:00
int test;
2018-02-12 09:09:03 +01:00
dev.cheatStatic = 0;
2018-02-20 12:29:50 +01:00
dev.cheatBlind = 0;
dev.cheatNoEnemies = 0;
2018-02-13 22:36:42 +01:00
dev.cheatKeys = 0;
2018-02-20 12:29:50 +01:00
dev.cheatPower = 0;
dev.cheatHealth = 0;
2018-02-17 17:53:30 +01:00
dev.cheatLevels = 0;
2018-02-15 23:56:34 +01:00
loadGame();
2018-02-20 12:29:50 +01:00
2018-02-21 09:16:50 +01:00
test = 3;
2018-02-20 23:12:07 +01:00
switch (test)
{
case 0:
initOptions();
break;
case 1:
STRNCPY(game.worldId, "beachFront1", MAX_NAME_LENGTH);
initWorld();
break;
case 2:
initHub();
break;
2018-02-21 09:16:50 +01:00
case 3:
STRNCPY(game.worldId, "beachFront1", MAX_NAME_LENGTH);
initWorld();
break;
2018-02-20 23:12:07 +01:00
}
2018-01-28 13:01:39 +01:00
}