aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Fix cmake library default build problem since moving to lib/Loic Blot2017-04-07
| | | | Also make Lua library check a cmake module
* Add the REQUIRE_LUAJIT option (#5526)YuGiOhJCJ2017-04-07
|
* Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot2017-04-02
instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef UTIL_POINTEDTHING_HEADER #define UTIL_POINTEDTHING_HEADER #include "../irrlichttypes.h" #include "../irr_v3d.h" #include <iostream> #include <string> enum PointedThingType { POINTEDTHING_NOTHING, POINTEDTHING_NODE, POINTEDTHING_OBJECT }; struct PointedThing { PointedThingType type; v3s16 node_undersurface; v3s16 node_abovesurface; s16 object_id; PointedThing(); std::string dump() const; void serialize(std::ostream &os) const; void deSerialize(std::istream &is); bool operator==(const PointedThing &pt2) const; bool operator!=(const PointedThing &pt2) const; }; #endif