aboutsummaryrefslogtreecommitdiff
path: root/src/player.cpp
Commit message (Expand)AuthorAge
...
* Keep track of player itemGiuseppe Bilotta2011-08-11
* Fixing ladders againMark Holmquist2011-08-01
* Fixed a few problems in the ladder update, and changed the speed to account f...Mark Holmquist2011-08-01
* Ladders implemented!Mark Holmquist2011-08-01
* Fixed handling of inventory in creative mode (normal inventory is not trashed...Perttu Ahola2011-07-30
* extended content-type rangePerttu Ahola2011-07-23
* improved player fall damage detectionPerttu Ahola2011-06-26
* hopefully fixed the privilege problemsPerttu Ahola2011-05-29
* player passwords and privileges in world/auth.txtPerttu Ahola2011-05-29
* Added 'shout' player privilegeCiaran Gultnieks2011-05-23
* All textures are are now searched first from the directory specified by the t...Perttu Ahola2011-05-21
* Passwords - password entry at main menu, stored and checked by serverCiaran Gultnieks2011-05-20
* Fixed two compiler warningsPerttu Ahola2011-05-16
* Privileges to/from string conversion functions standalone, not static membersCiaran Gultnieks2011-05-16
* Allow "all" to be specified in player config file for privilegesCiaran Gultnieks2011-05-16
* Improved server commands and added player permissions.Ciaran Gultnieks2011-05-16
* Code refactoring; split half of main.cpp to game.cpp.Perttu Ahola2011-04-23
* set client to not show hp if server doesn't support itPerttu Ahola2011-04-21
* Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola2011-04-21
* Fixed some problems with crafting and inventoryPerttu Ahola2011-04-11
* mainly work on object scripting apiPerttu Ahola2011-02-23
* Temporary commit; lots of test code and stuffPerttu Ahola2011-02-21
* sneaking bug fixingPerttu Ahola2011-02-14
* disabled jumping in sneak mode if far away from the edge because it can drop ...Perttu Ahola2011-02-14
* fixed bug in sneakingPerttu Ahola2011-02-14
* added sneaking/crouching and changelogPerttu Ahola2011-02-14
* bug-fixin'Perttu Ahola2011-02-08
* mapgen tweakingPerttu Ahola2011-02-06
* This map generator is starting to look pretty good now... also, disabled load...Perttu Ahola2011-02-01
* Now texture handling is fast. Also now players are saved on disk.Perttu Ahola2011-01-28
* Faster lighting at map generation timePerttu Ahola2011-01-24
* old water removed, some fixes here and therePerttu Ahola2011-01-17
* fine-tuning of map generator and server and stuff.Perttu Ahola2011-01-17
* Initial commit of mapgen v.2. Lacks configuration and saving to disk.Perttu Ahola2011-01-16
* Players are left on server while server is running. No passwords yet.Perttu Ahola2011-01-15
* Added a more flexible path system (and fixed some minor stuff)Perttu Ahola2011-01-07
* added fog to playersPerttu Ahola2010-12-22
* crafting system!Perttu Ahola2010-12-22
* just savin'Perttu Ahola2010-12-22
* some work-in-progressPerttu Ahola2010-12-22
* added dedicated server build without irrlichtPerttu Ahola2010-12-19
* working nicelyPerttu Ahola2010-12-13
* better waterPerttu Ahola2010-11-30
* license stuffPerttu Ahola2010-11-29
* Initial filesPerttu Ahola2010-11-27
">(id); } void processActiveObjectMessage(u16 id, const std::string &data); /* Callbacks for activeobjects */ void damageLocalPlayer(u16 damage, bool handle_hp=true); /* Client likes to call these */ // Get all nearby objects void getActiveObjects(const v3f &origin, f32 max_d, std::vector<DistanceSortedActiveObject> &dest) { return m_ao_manager.getActiveObjects(origin, max_d, dest); } bool hasClientEnvEvents() const { return !m_client_event_queue.empty(); } // Get event from queue. If queue is empty, it triggers an assertion failure. ClientEnvEvent getClientEnvEvent(); virtual void getSelectedActiveObjects( const core::line3d<f32> &shootline_on_map, std::vector<PointedThing> &objects ); const std::list<std::string> &getPlayerNames() { return m_player_names; } void addPlayerName(const std::string &name) { m_player_names.push_back(name); } void removePlayerName(const std::string &name) { m_player_names.remove(name); } void updateCameraOffset(const v3s16 &camera_offset) { m_camera_offset = camera_offset; } v3s16 getCameraOffset() const { return m_camera_offset; } private: ClientMap *m_map; LocalPlayer *m_local_player = nullptr; ITextureSource *m_texturesource; Client *m_client; ClientScripting *m_script = nullptr; client::ActiveObjectMgr m_ao_manager; std::vector<ClientSimpleObject*> m_simple_objects; std::queue<ClientEnvEvent> m_client_event_queue; IntervalLimiter m_active_object_light_update_interval; std::list<std::string> m_player_names; v3s16 m_camera_offset; };