mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 10:51:55 +02:00
Added more debugging and option to disable new streflop usage.
This commit is contained in:
@@ -8,10 +8,7 @@
|
||||
// License, or (at your option) any later version
|
||||
// ==============================================================
|
||||
|
||||
#ifdef USE_STREFLOP
|
||||
#include "streflop.h"
|
||||
#endif
|
||||
|
||||
#include "math_wrapper.h"
|
||||
#include "main.h"
|
||||
|
||||
#include <string>
|
||||
@@ -270,11 +267,12 @@ int glestMain(int argc, char** argv){
|
||||
AllocRegistry memoryLeaks = AllocRegistry::getInstance();
|
||||
#endif
|
||||
|
||||
#ifdef STREFLOP_H
|
||||
streflop_init<streflop::Simple>();
|
||||
#ifdef USE_STREFLOP
|
||||
|
||||
//streflop_init<streflop::Simple>();
|
||||
printf("%s, STREFLOP enabled.\n",getNetworkVersionString().c_str());
|
||||
#else
|
||||
printf("%s, STREFLOP disabled.\n",getNetworkVersionString().c_str());
|
||||
printf("%s, STREFLOP NOT enabled.\n",getNetworkVersionString().c_str());
|
||||
#endif
|
||||
|
||||
SystemFlags::init();
|
||||
|
Reference in New Issue
Block a user