Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e46043dc authored by DETROYAT Alexis's avatar DETROYAT Alexis
Browse files

beginning of the work on the avoid_monster level (adapted from fullgame engine)

parent 041ab4fc
4 merge requests!131Testing merge against main, to verify CI,!97Engines have test and no leak of memory,!95Enhance Makefile,!94auto export python path when running make tests
#ifndef CUSTOM_MAP_H
#define CUSTOM_MAP_H
#include "../../engines/fullgame/agdbentures.h"
#include "engine/agdbentures.h"
extern const char * str_map1;
......
#ifndef EVENTS_MAP_H
#define EVENTS_MAP_H
#include "../../engines/fullgame/agdbentures.h"
#include "engine/agdbentures.h"
#include "custom_map.h"
void verify_exit(void);
......
#ifndef INPUT_MANAGER_H
#define INPUT_MANAGER_H
#include "../../engines/fullgame/agdbentures.h"
#include "engine/agdbentures.h"
#include "custom_map.h"
#include <unistd.h>
......
......@@ -2,10 +2,23 @@
* level_title: Avoid Monster
* program_name: avoid_monster
* exec_name: avoid_monster
* engine_name: fullgame
* engine_name: map_stack
*
* available_commands: edit next step continue
*
* player_mode: map_stack
* exit_x:
* exit_y:
*
* map_height:
* map_width:
* arcade_maps:
* arcade_maps:
* arcade_maps:
* arcade_maps:
*/
#include "../../engines/fullgame/agdbentures.h"
#include "engine/agdbentures.h"
#include "events_map.h"
#include "input_manager.h"
#include "custom_map.h"
......@@ -18,7 +31,7 @@ int execute_loop(bool manual_mode){
}
win = 0, defeat = 0;
command * com = get_next_command();
exit_main_loop = false;
bool exit_main_loop = false;
// The Holy Main Loop
while (!exit_main_loop) {
parse_input(com);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment