bin/CMakeLists.txt
author sheepluva
Fri, 06 Dec 2013 23:53:35 +0100
changeset 9760 395ca7fe6362
parent 8442 535a00ca0d35
child 13331 a4e7e62f2c0d
permissions -rw-r--r--
It seems that at the current state it is necessary to protect sending stats/ending game from multiple execution, as that can happen if you e.g. fail a mission more than once in the same tick (e.g. destroying two essential crates at the same time) Otherwise you can get a blank / stuck frontend (e.g. when using deagle to shoot the two last crates at the same time)! the best approach might be to never call the function that sends stats and ends game from any event handler directly, but instead have a flag 'isFailed' that is set to true when any of the possible fails happen and to check that flag every tick to send stats and end game if true
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
223
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     1
if(WIN32 AND NOT UNIX)
8442
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     2
    file(GLOB DLLs *.dll)
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     3
    file(GLOB ICOs *.ico)
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     4
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     5
    install(FILES
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     6
        ${DLLs}
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     7
        ${ICOs}
535a00ca0d35 whitespaces and tabs again
koda
parents: 8316
diff changeset
     8
        DESTINATION ${target_library_install_dir})
223
c41effdd461d Better build system scripts
unc0rr
parents:
diff changeset
     9
endif(WIN32 AND NOT UNIX)