link to release version of allegro

This commit is contained in:
Sebastian Krzyszkowiak 2012-03-08 20:55:18 +01:00
parent 185ac75bbe
commit 8e2e55e416
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ CFLAGS=-I$(IDIR) -Wall -g
SRCDIR=src
ODIR=obj
LIBS=-lallegro-debug -lallegro_audio-debug -lallegro_acodec-debug -lallegro_image-debug -lallegro_font-debug -lallegro_ttf-debug -lm
LIBS=-lallegro -lallegro_audio -lallegro_acodec -lallegro_image -lallegro_font -lallegro_ttf -lm
_OBJ = config.o main.o about.o intro.o loading.o map.o menu.o level.o pause.o
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))

View file

@ -54,6 +54,9 @@ void Level_Draw(struct Game *game) {
}
void Level_Load(struct Game *game) {
game->level.derpy_frame = 0;
game->level.derpy_frame_tmp = 0;
game->level.derpy_pos = -0.2;
al_play_sample_instance(game->level.music);
ALLEGRO_EVENT ev;
int fadeloop;
@ -79,9 +82,6 @@ int Level_Keydown(struct Game *game, ALLEGRO_EVENT *ev) {
}
void Level_Preload(struct Game *game) {
game->level.derpy_frame = 0;
game->level.derpy_frame_tmp = 0;
game->level.derpy_pos = -0.2;
PrintConsole(game, "Initializing level %d...", game->level.current_level);
game->level.image =LoadScaledBitmap("table.png", al_get_display_width(game->display), al_get_display_height(game->display));
game->level.sample = al_load_sample( "data/moonwalk.flac" );