mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
merged the content type extension and delta
This commit is contained in:
commit
2587bb361c
69 changed files with 3756 additions and 159 deletions
15
src/main.cpp
15
src/main.cpp
|
@ -357,6 +357,12 @@ TODO: Merge bahamada's audio stuff (clean patch available)
|
|||
|
||||
TODO: Move content_features to mapnode_content_features.{h,cpp} or so
|
||||
|
||||
TODO: Add some kind of content range validation to mapnode serialization
|
||||
|
||||
TODO: Make sure menu text position is fixed
|
||||
|
||||
TODO: Fix sector over limits error
|
||||
|
||||
Making it more portable:
|
||||
------------------------
|
||||
|
||||
|
@ -419,6 +425,8 @@ Doing currently:
|
|||
#include "keycode.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gettext.h"
|
||||
|
||||
// This makes textures
|
||||
ITextureSource *g_texturesource = NULL;
|
||||
|
||||
|
@ -1148,6 +1156,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Create user data directory
|
||||
fs::CreateDir(porting::path_userdata);
|
||||
|
||||
setlocale(LC_MESSAGES, "");
|
||||
bindtextdomain("minetest", (porting::path_userdata+"/locale").c_str());
|
||||
textdomain("minetest");
|
||||
|
||||
// Initialize debug streams
|
||||
#ifdef RUN_IN_PLACE
|
||||
|
@ -1363,6 +1375,9 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Set device in game parameters
|
||||
device = device;
|
||||
|
||||
// Set the window caption
|
||||
device->setWindowCaption(L"Minetest [Main Menu]");
|
||||
|
||||
// Create time getter
|
||||
g_timegetter = new IrrlichtTimeGetter(device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue