forked from oerkki/voxelands
Remove working things
This commit is contained in:
parent
8856e1a25d
commit
135679dde4
|
@ -34,10 +34,6 @@
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
|
|
||||||
#ifndef SERVER
|
#ifndef SERVER
|
||||||
float roundf(float x)
|
|
||||||
{
|
|
||||||
return (float)((x < 0) ? (ceil((x) - 0.5)) : (floor((x) + 0.5)));
|
|
||||||
}
|
|
||||||
static const v3s16 corners[8] = {
|
static const v3s16 corners[8] = {
|
||||||
v3s16(-1, 1, 1),
|
v3s16(-1, 1, 1),
|
||||||
v3s16( 1, 1, 1),
|
v3s16( 1, 1, 1),
|
||||||
|
|
|
@ -292,11 +292,8 @@ struct TileSpec
|
||||||
animation_frame_count(0),
|
animation_frame_count(0),
|
||||||
animation_frame_length_ms(0)
|
animation_frame_length_ms(0)
|
||||||
{
|
{
|
||||||
#ifndef SERVER
|
|
||||||
// init material only on clients
|
|
||||||
video::SMaterial m;
|
video::SMaterial m;
|
||||||
m_material = m;
|
m_material = m;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator==(TileSpec &other)
|
bool operator==(TileSpec &other)
|
||||||
|
|
Loading…
Reference in New Issue