Disabling the C++ console.

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Disabling the C++ console.

by Jordach » Sat Jan 21, 2012 19:15

When I am playing local, the game won't do anything until the console updates, this really annoys me. When I am trying to get mese, the block does not get into my inventory.

So, if we can turn it off, then the game will run faster.

Please make this a feature!

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Sat Jan 21, 2012 19:57

Turning the console off doesn't improve game speed at least not anything noticeable on my side I have the console turned off in my builds its just a single line edit in the C++ code.

If you want to turn the console off you just need to uncomment the following line at the top of main.cpp

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
// This would get rid of the console window
// #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")


So it should look like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
// This would get rid of the console window
#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")


Then build Minetest and play, Hope this helps also let me know if it does speed anything up for you I didn't notice any difference but that could just be on my system.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 7 guests

cron