mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-18 04:55:20 +01:00
Some work-in-progress in hp and mobs and a frightening amount of random fixes.
This commit is contained in:
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
#include "common_irrlicht.h"
|
||||
#include "inventory.h"
|
||||
#include "collision.h"
|
||||
|
||||
#define PLAYERNAME_SIZE 20
|
||||
|
||||
@@ -124,6 +125,8 @@ public:
|
||||
|
||||
bool craftresult_is_preview;
|
||||
|
||||
u16 hp;
|
||||
|
||||
u16 peer_id;
|
||||
|
||||
protected:
|
||||
@@ -325,6 +328,8 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
void move(f32 dtime, Map &map, f32 pos_max_d,
|
||||
core::list<CollisionInfo> *collision_info);
|
||||
void move(f32 dtime, Map &map, f32 pos_max_d);
|
||||
|
||||
void applyControl(float dtime);
|
||||
|
||||
Reference in New Issue
Block a user