aboutsummaryrefslogtreecommitdiff
path: root/src/collision.h
Commit message (Expand)AuthorAge
* Add an option to disable object <-> object collision for Lua entitiesPilzAdam2013-07-20
* fix objects colliding with its own collision boxessapier2013-04-09
* Closed add object <-> object collision handlingsapier2013-03-28
* Update Copyright YearsSfan52013-02-24
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
* Add bouncy node groupPerttu Ahola2012-09-01
* Custom boxy nodes (stairs, slabs) and collision changesKahrl2012-06-17
* Optimize headersPerttu Ahola2012-06-17
* Switch the license to be LGPLv2/later, with small parts still remaining as GP...Perttu Ahola2012-06-05
* Relatively snappy object-ground collision detectionPerttu Ahola2011-11-29
* GameDef compilesPerttu Ahola2011-11-29
* reorganized a lot of stuff and modified mapgen and objects slightly while doi...Perttu Ahola2011-06-26
* Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola2011-04-21
* implemented rats in new system to verify that it worksPerttu Ahola2011-04-10
pos;\0'; for (unsigned int i = 0; i < data_size; i++) { unsigned char c = (unsigned char)data[i]; buf2[0] = hex_chars[(c & 0xf0) >> 4]; buf2[1] = hex_chars[c & 0x0f]; ret.append(buf2); } return ret; } static inline std::string hex_encode(const std::string &data) { return hex_encode(data.c_str(), data.size()); } static inline bool hex_digit_decode(char hexdigit, unsigned char &value) { if (hexdigit >= '0' && hexdigit <= '9') value = hexdigit - '0'; else if (hexdigit >= 'A' && hexdigit <= 'F') value = hexdigit - 'A' + 10; else if (hexdigit >= 'a' && hexdigit <= 'f') value = hexdigit - 'a' + 10; else return false; return true; }