From 10030141b562fb97467749dc3cd450d50cf68a94 Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 8 Jul 2015 17:16:27 -0300 Subject: [PATCH] =?UTF-8?q?Informa=C3=A7=C3=A3o=20para=20compila=C3=A7?= =?UTF-8?q?=C3=A3o=20em=20linha=20de=20comando=20e=20ajuste=20no=20dir.=20?= =?UTF-8?q?de=20uma=20fonte.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ImunoForce/src/ImunoForce.c | 4 ++-- README.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ImunoForce/src/ImunoForce.c b/ImunoForce/src/ImunoForce.c index 5bcd2b1..ebf8ddf 100644 --- a/ImunoForce/src/ImunoForce.c +++ b/ImunoForce/src/ImunoForce.c @@ -14,7 +14,7 @@ //Object object_head = {0,header,NULL,NULL,NULL,NULL}; -main(int argc, char *argv[]) { +int main(int argc, char *argv[]) { int frame = 1, bTrig = 10, bTrig2 = 10 , bulletFreq = 10, i,j; int shoot_enable = 0; int shoot_enable2 = 0; @@ -52,7 +52,7 @@ main(int argc, char *argv[]) { //Initialize allegro addons initialization(); - ALLEGRO_FONT *pressstart_20 = al_load_font("PressStart2P.ttf", 20, 0); + ALLEGRO_FONT *pressstart_20 = al_load_font("src/PressStart2P.ttf", 20, 0); //SOUNDS al_reserve_samples(10); diff --git a/README.md b/README.md index 2ccb36f..2607a98 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,9 @@ We are craving for your Feedback, Game play, ~~Code~~ Ideas. Have a good one! ^^ +## How to compile at the command line +``` +gcc -Wall src/ImunoForce.c src/ImunoEngine.c src/AllegroDef.c src/Multiplayer.c -o imunoforce -lallegro -lallegro_image -lallegro_audio -lallegro_font -lallegro_primitives -lallegro_dialog -lallegro_acodec -lallegro_ttf +``` + +