Changeset 0065962 in network-game for client/Client


Ignore:
Timestamp:
Jan 11, 2019, 6:58:52 PM (6 years ago)
Author:
dportnoy15 <dmitry.portnoy@…>
Branches:
master
Children:
7f9b01c
Parents:
ea3a3a9
Message:

Update the readme with instructions for installing the client on OSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    rea3a3a9 r0065962  
    149149string alertMessage;
    150150
    151 int main(int argc, char **argv)
    152 {
     151int main(int argc, char **argv) {
    153152   ALLEGRO_DISPLAY *display = NULL;
    154153   ALLEGRO_EVENT_QUEUE *event_queue = NULL;
     
    207206   }
    208207 
    209    if(!al_install_keyboard()) {
     208   if (!al_install_keyboard()) {
    210209      fprintf(stderr, "failed to initialize the keyboard!\n");
    211210      return -1;
    212211   }
    213212
    214     if(!al_install_mouse()) {
     213    if (!al_install_mouse()) {
    215214      fprintf(stderr, "failed to initialize the mouse!\n");
    216215      return -1;
     
    218217 
    219218   timer = al_create_timer(1.0 / FPS);
    220    if(!timer) {
     219   if (!timer) {
    221220      fprintf(stderr, "failed to create timer!\n");
    222221      return -1;
     
    230229   }
    231230   display = al_create_display(SCREEN_W, SCREEN_H);
    232    if(!display) {
     231   if (!display) {
    233232      fprintf(stderr, "failed to create display!\n");
    234233      al_destroy_timer(timer);
     
    244243 
    245244   event_queue = al_create_event_queue();
    246    if(!event_queue) {
     245   if (!event_queue) {
    247246      fprintf(stderr, "failed to create event_queue!\n");
    248247      al_destroy_display(display);
Note: See TracChangeset for help on using the changeset viewer.