Labyrinth of the Minotaur A simple roguelike/RPG using a nokia 5110 screen
Dependencies: N5110 PowerControl mbed
WorldBuilder/WorldBuilder.h
- Committer:
- ThomasBGill
- Date:
- 2015-05-04
- Revision:
- 20:e54792b89571
- Child:
- 21:aa4feee6aa39
File content as of revision 20:e54792b89571:
#include "mbed.h" #ifndef WORLDBUILDER_H #define WORLDBUILDER_H #define WALL 0 #define FLOOR 1 #define ENTER 2 #define EXIT 3 #define FLOOR_SEEN 4 #define CHEST 5 #define CHEST_OPENED 6 #define RIGHT 0 #define LEFT 1 #define UP 2 #define DOWN 3 #define SOUTH 0 #define EAST 1 extern int map[84][48]; //Enterance coordinates extern int enx; extern int eny; //Exit coordinates extern int exx; extern int exy; extern int sx; extern int sy; extern int dir; extern int level; void Walls(); void FirstRoom(); void ExitRoom(); void DungeonRoomBuilder(); int Neighbours(int i, int j); void DeadEnds(int d); void Border(); void MazeKill(); void Maze(); void DungeonBuilder(); void LabyrinthBuilder(); #endif