50 lines
1.5 KiB
C
50 lines
1.5 KiB
C
/*
|
|
** EPITECH PROJECT, 2018
|
|
** task01
|
|
** File description:
|
|
** I do task
|
|
*/
|
|
|
|
#ifndef __MESAGE_DATA_H__
|
|
# define __MESAGE_DATA_H__
|
|
|
|
#include "game/core.h"
|
|
static const char *default_message[NB_MESSAGE] = {
|
|
"Use the arrow keys to move.",
|
|
"Press SPACE or UP to jump\nlike a plumber.",
|
|
"Yay ! Now, go kiss\nthat princess !",
|
|
"In this game you can\nwalk through spikes\nwithout getting killed !",
|
|
"I lie.",
|
|
"And... you failed.",
|
|
"Come on...\nThis is not that difficult.",
|
|
"This is fun, isn't it?",
|
|
"That was fun.\nDo it again, please !",
|
|
"Three tries ? Really ?",
|
|
"You shouldn't drink while\nplaying this game, you know...",
|
|
"Don't you have a life ?",
|
|
"Nah, I won't say a thing.\nI'll juste watch.",
|
|
"Some walls aren't what\nthey appear to be...",
|
|
"Oops, I forgot to tell you\nabout the traps...",
|
|
"This was a fake princess !\nYou've been fooled, kiddo.",
|
|
"That was the stupidest\nway you could die.",
|
|
"Are you sure this\nis the right way ?",
|
|
"Run rabbit, run !",
|
|
"Yep, definitely not\nthe right way."
|
|
};
|
|
|
|
static const uint8_t default_action[NB_MESSAGE] = {
|
|
MESSAGE_BEGIN, MESSAGE_X_TRIGGER, MESSAGE_X_TRIGGER, MESSAGE_BEGIN,
|
|
MESSAGE_DEAD, MESSAGE_DEAD, MESSAGE_DEAD, MESSAGE_DEAD,
|
|
MESSAGE_DEAD, MESSAGE_DEAD, MESSAGE_DEAD, MESSAGE_DEAD,
|
|
MESSAGE_DEAD, MESSAGE_FAKE_GROUND, MESSAGE_DEAD,
|
|
MESSAGE_FAKE_PRINCESS, MESSAGE_DEAD, MESSAGE_DEAD,
|
|
MESSAGE_DEAD, MESSAGE_DEAD
|
|
};
|
|
|
|
static const uint16_t default_trigger_start[NB_MESSAGE] = {
|
|
0, 740, 1408, 0, 1, 12, 8, 15, 10, 3, 20, 50,
|
|
60, 22, 5, 45, 30, 40, 32, 42
|
|
};
|
|
|
|
#endif
|