aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
...
* make smoke also distribute horizontally a bitorwell962016-11-03
* Add a box wagonorwell962016-11-03
* move a line to correct behaviororwell962016-11-03
* rework entity handlingorwell962016-11-02
* add 2 value sanity checks which should not be needed but are for any reasonorwell962016-10-29
* fix unloaded map chunk travellingorwell962016-10-29
* Include zip in repo, because of hosting. No .tar.gz.orwell962016-10-27
* add .gitignore to not include the .zip and .tar.gz into the repoorwell962016-10-27
* shorten readme file rapidly since I always forget to update itorwell962016-10-27
* Revert "also remove two xcfs in the textures folder"orwell962016-10-27
* Merge pull request #9 from gpcf/masterorwell962016-10-27
|\
| * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2016-10-26
| |\ | |/ |/|
* | add smoke: remove debug messageorwell962016-10-26
* | fix crash on getting on wagon, caused by nonexistant tableorwell962016-10-26
* | add smoke to steam engineorwell962016-10-26
| * Added makefile that creates a .zip and a .tar.gz file for installation.Gabriel Pérez-Cerezo2016-10-23
| * Revert "remove all .blend and additional files that are not part of the mod f...Gabriel Pérez-Cerezo2016-10-23
|/
* also remove two xcfs in the textures folderorwell962016-10-22
* remove all .blend and additional files that are not part of the mod from the ...orwell962016-10-22
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962016-10-22
|\
| * Merge pull request #5 from gpcf/masterorwell962016-10-15
| |\
| | * Fixed bug with protectionsGabriel Pérez-Cerezo2016-10-08
| | * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2016-10-06
| | |\ | | |/ | |/|
| | * Fixed Bug introduced by bugfixGabriel Pérez-Cerezo2016-10-05
| | * Fixed bug (unable to send message to player)Gabriel Pérez-Cerezo2016-10-05
| | * Fixed crash problemGabriel Pérez-Cerezo2016-10-05
| | * Now honors protectionsGabriel Pérez-Cerezo2016-10-04
* | | make the attach position (the 'seat') selectableorwell962016-10-22
* | | try to make engine animation workorwell962016-10-19
|/ /
* | some smaller slopesorwell962016-10-06
* | add japanese wagon and engineorwell962016-10-06
|/
* add acceleration calculationorwell962016-09-29
* fix train entities moving with wrong speedorwell962016-09-29
* add owner system to prevent random train destroyingorwell962016-09-29
* destructed wagons in survival give only steel back, user confirmation addedorwell962016-09-28
* adding ability for custom on_step/destroy functions in wagon definitionorwell962016-09-28
* add 45 degrees vertical railsorwell962016-09-18
* add more crafting recipes and a manualorwell962016-09-17
* add some items to the not-blocking-trains grouporwell962016-09-15
* wtf did this file in here?orwell962016-09-15
* relicensing under CC-BY-NC-SA and updationg readme.orwell962016-09-15
* various improvements on signals and bumpersorwell962016-09-13
* make switches not switchable when train is on it, and do neccessary stuff on ...orwell962016-09-13
* add electric signal and rotate signals for better placementorwell962016-09-13
* add mesecon support for switches and signalsorwell962016-09-13
* adding a signal.orwell962016-09-12
* adding mbb's new texturesorwell962016-09-12
* Adding crafting recipesorwell962016-09-12
* fix item drops on rails, and throw bumpers out of the trackplacer tables, bec...orwell962016-09-12
* add bumpersorwell962016-09-12
n>L); lua_pushnumber(L, p.X); lua_setfield(L, -2, "x"); lua_pushnumber(L, p.Y); lua_setfield(L, -2, "y"); } v2s16 read_v2s16(lua_State *L, int index) { v2s16 p; luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "x"); p.X = lua_tonumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "y"); p.Y = lua_tonumber(L, -1); lua_pop(L, 1); return p; } v2s32 read_v2s32(lua_State *L, int index) { v2s32 p; luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "x"); p.X = lua_tonumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "y"); p.Y = lua_tonumber(L, -1); lua_pop(L, 1); return p; } v2f read_v2f(lua_State *L, int index) { v2f p; luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "x"); p.X = lua_tonumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "y"); p.Y = lua_tonumber(L, -1); lua_pop(L, 1); return p; } v3f read_v3f(lua_State *L, int index) { v3f pos; luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "x"); pos.X = lua_tonumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "y"); pos.Y = lua_tonumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "z"); pos.Z = lua_tonumber(L, -1); lua_pop(L, 1); return pos; } v3f check_v3f(lua_State *L, int index) { v3f pos; luaL_checktype(L, index, LUA_TTABLE); lua_getfield(L, index, "x"); pos.X = luaL_checknumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "y"); pos.Y = luaL_checknumber(L, -1); lua_pop(L, 1); lua_getfield(L, index, "z"); pos.Z = luaL_checknumber(L, -1); lua_pop(L, 1); return pos; } void pushFloatPos(lua_State *L, v3f p) { p /= BS; push_v3f(L, p); } v3f checkFloatPos(lua_State *L, int index) {