diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 02:05:12 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 02:05:12 +0300 |
commit | 2f466726e6e8c318d3277eff6d987197c13e8bd3 (patch) | |
tree | 89f611198b6ccf2c0175af9541b3afebb328f48b /src/main.cpp | |
parent | e0f7bd4d57bf0c9b497c4d0bb73f7bd4d5cc0643 (diff) | |
download | minetest-2f466726e6e8c318d3277eff6d987197c13e8bd3.tar.gz minetest-2f466726e6e8c318d3277eff6d987197c13e8bd3.tar.bz2 minetest-2f466726e6e8c318d3277eff6d987197c13e8bd3.zip |
Made a proper queued thread to client for handling some block mesh updates. Also made client mutex-free to allow easier adding of new stuff.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index a901163df..3ddac369d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -482,8 +482,8 @@ Inventory local_inventory; u16 g_selected_item = 0;
-bool g_show_map_plot = false;
-bool g_refresh_map_plot = false;
+/*bool g_show_map_plot = false;
+bool g_refresh_map_plot = false;*/
/*
Debug streams
@@ -601,7 +601,7 @@ public: if(event.KeyInput.PressedDown)
{
//dstream<<"Pressed key: "<<(char)event.KeyInput.Key<<std::endl;
- if(g_show_map_plot)
+ /*if(g_show_map_plot)
{
if(event.KeyInput.Key == irr::KEY_ESCAPE
|| event.KeyInput.Key == irr::KEY_KEY_M)
@@ -609,7 +609,7 @@ public: g_show_map_plot = false;
}
return true;
- }
+ }*/
/*
Launch menus
@@ -685,13 +685,13 @@ public: }
// Map plot
- if(event.KeyInput.Key == irr::KEY_KEY_M)
+ /*if(event.KeyInput.Key == irr::KEY_KEY_M)
{
dstream<<"Map plot requested"<<std::endl;
g_show_map_plot = !g_show_map_plot;
if(g_show_map_plot)
g_refresh_map_plot = true;
- }
+ }*/
}
}
@@ -2282,7 +2282,7 @@ int main(int argc, char *argv[]) //std::cout<<"busytime_u32="<<busytime_u32<<std::endl;
- // Absolutelu necessary for wine!
+ // Necessary for device->getTimer()->getTime()
device->run();
/*
@@ -2306,7 +2306,7 @@ int main(int argc, char *argv[]) }
}
- // Absolutelu necessary for wine!
+ // Necessary for device->getTimer()->getTime()
device->run();
/*
|