Changeset 6319311 in network-game for common/Game.h


Ignore:
Timestamp:
Oct 1, 2013, 3:56:03 PM (12 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
master
Children:
373089e
Parents:
0693e25
Message:

Some redfinition issues related to winsock2 are fixed and a few allegro rendering functions are now in GameRender

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Game.h

    r0693e25 r6319311  
    44#include "Compiler.h"
    55
    6 #if defined WINDOWS
    7    #include <winsock2.h>
    8    #include <WS2tcpip.h>
    9 #elif defined LINUX
    10    #include <netinet/in.h>
    11 #endif
    12 
    136#include <string>
    147#include <map>
     8
     9#ifdef WINDOWS
     10   #define WIN32_LEAN_AND_MEAN
     11#endif
    1512
    1613#include <allegro5/allegro_font.h>
     
    4845   void setBlueScore(int score);
    4946   void setRedScore(int score);
    50 
    51    void drawPlayers(ALLEGRO_FONT* font, unsigned int curPlayerId);
    5247};
    5348
Note: See TracChangeset for help on using the changeset viewer.