mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
new texture stuff quite working
This commit is contained in:
parent
841ac10e5c
commit
804b2647ce
14 changed files with 253 additions and 78 deletions
27
src/main.cpp
27
src/main.cpp
|
@ -267,9 +267,15 @@ Doing now (most important at the top):
|
|||
# maybe done
|
||||
* not done
|
||||
|
||||
=== Stuff being done
|
||||
=== Immediate stuff
|
||||
* Combine meshes to bigger ones in ClientMap and set them EHM_STATIC
|
||||
|
||||
=== Making it more portable
|
||||
* MinGW: Switch away from swprintf; mingw has a bad version of it.
|
||||
Use snprintf + narrow_to_wide or (w)ostringstream
|
||||
* Some MSVC: std::sto* are defined without a namespace and collide
|
||||
with the ones in utility.h
|
||||
|
||||
=== Stuff to do before release
|
||||
* Save the new mapgen stuff
|
||||
- map/meta.txt, which should contain only plain text, something like this:
|
||||
|
@ -331,12 +337,12 @@ Doing now (most important at the top):
|
|||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "Irrlicht.lib")
|
||||
//#pragma comment(lib, "jthread.lib")
|
||||
#pragma comment(lib, "zlibwapi.lib")
|
||||
#pragma comment(lib, "Shell32.lib")
|
||||
// This would get rid of the console window
|
||||
//#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
|
||||
#pragma comment(lib, "Irrlicht.lib")
|
||||
//#pragma comment(lib, "jthread.lib")
|
||||
#pragma comment(lib, "zlibwapi.lib")
|
||||
#pragma comment(lib, "Shell32.lib")
|
||||
// This would get rid of the console window
|
||||
//#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
|
@ -1548,9 +1554,8 @@ int main(int argc, char *argv[])
|
|||
These are needed for unit tests at least.
|
||||
*/
|
||||
|
||||
IIrrlichtWrapper irrlicht_dummy;
|
||||
|
||||
init_mapnode(&irrlicht_dummy);
|
||||
// Initial call with g_texturesource not set.
|
||||
init_mapnode();
|
||||
|
||||
/*
|
||||
Run unit tests
|
||||
|
@ -1716,7 +1721,7 @@ int main(int argc, char *argv[])
|
|||
*/
|
||||
|
||||
init_content_inventory_texture_paths();
|
||||
init_mapnode(g_irrlicht);
|
||||
init_mapnode(); // Second call with g_texturesource set
|
||||
init_mineral(g_irrlicht);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue