2014-03-02 18:56:56 -04:30
|
|
|
/**
|
|
|
|
|
* Copyright (c) 2014, Miguel Angel Astor Romero. All rights reserved.
|
|
|
|
|
* See the file LICENSE for more details.
|
|
|
|
|
*/
|
|
|
|
|
|
2014-03-01 22:43:28 -04:30
|
|
|
#include "game_state.h"
|
|
|
|
|
#include "in_game.h"
|
|
|
|
|
|
|
|
|
|
void initStateArray(gs_t ** s){
|
2014-03-03 21:54:15 -04:30
|
|
|
int i;
|
2014-03-01 22:43:28 -04:30
|
|
|
|
2014-03-03 21:54:15 -04:30
|
|
|
for(i = 0; i < NUM_STATES; i++){
|
|
|
|
|
initInGameState(&((*s)[i]));
|
|
|
|
|
}
|
2014-03-01 22:43:28 -04:30
|
|
|
}
|