~bauer87/hexwars/sfml

« back to all changes in this revision

Viewing changes to src/shared/gui/BasicUserInterface-Test.cpp

  • Committer: Patrik Schönfeldt
  • Date: 2014-08-05 19:37:17 UTC
  • Revision ID: patrik@proxima.snft.de-20140805193717-k8m1m4h1fyfiq5e2
* finished SFML implementation to a stage where BUI-test works

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "BasicUserInterface.hpp"
22
22
 
23
23
int main(int argc, char** argv){
24
 
#ifdef ALLEGRO5
25
 
    al_set_app_name("hexwars");
26
 
    if (!al_init()) {
27
 
        std::cerr << "Failed to initialize allegro.\n";
28
 
        exit(-1);
29
 
    }
30
 
#endif
31
 
 
32
24
    FSHandler* fsh = new FSHandler();
33
25
 
34
26
    BasicUserInterface* bui= new BasicUserInterface(fsh);