mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
server might build now
This commit is contained in:
parent
64b5975732
commit
364c961200
2 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
#include "mineral.h"
|
#include "mineral.h"
|
||||||
|
|
||||||
|
#ifndef SERVER
|
||||||
|
|
||||||
const char *mineral_filenames[MINERAL_COUNT] =
|
const char *mineral_filenames[MINERAL_COUNT] =
|
||||||
{
|
{
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -46,4 +48,6 @@ textureid_t mineral_block_texture(u8 mineral)
|
||||||
return mineral_textures[mineral];
|
return mineral_textures[mineral];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
type param.
|
type param.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SERVER
|
||||||
// Caches textures
|
// Caches textures
|
||||||
void init_mineral(IrrlichtWrapper *irrlicht);
|
void init_mineral(IrrlichtWrapper *irrlicht);
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MINERAL_NONE 0
|
#define MINERAL_NONE 0
|
||||||
#define MINERAL_COAL 1
|
#define MINERAL_COAL 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue