aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
Commit message (Expand)AuthorAge
...
* Cleanup client init states by bumping protocol versionsapier2014-04-08
* Performance optimized button to button mask evaluationsapier2014-04-03
* Fix lost change password buttonsapier2014-04-01
* Normal maps generation on the fly.RealBadAngel2014-03-21
* Fix sound not being played at the correct place.Novatux2014-03-15
* Fix game pause in singleplayerBlockMen2014-03-13
* Fix special characters in pause and message menuBlockMen2014-03-13
* Replace usage of long long with u64/s64ShadowNinja2014-03-12
* Fix race condition on exit to menusapier2014-03-09
* Replace pause and message menu by formspec onessapier2014-03-05
* Fix rendering glitches when far from the center of the mapNovatux2014-03-04
* Remove lots of dead codesapier2014-02-07
* Add the option to bind to a specific addressShadowNinja2014-02-05
* Add player:override_day_night_ratio() for arbitrarily controlling sunlight br...Perttu Ahola2014-02-01
* Add player:set_sky() with simple skybox supportPerttu Ahola2014-02-01
* New HUD element - waypoint.RealBadAngel2014-01-26
* Prevent placing node when player would be inside new nodeBlockMen2014-01-15
* Allow vertical axis particle rotation constraintkhonkhortisan2014-01-13
* Make MutexQueue use jsemaphore for signalingsapier2014-01-10
* Actually pause singleplayer game in pause menu and use lower maximum FPS in itPerttu Ahola2014-01-06
* Fix objects being selected behind a nodeNovatux2014-01-02
* Remove FPS from window titlePilzAdam2013-12-25
* Check for denied access in itemdef/nodedef/media fetch loopKahrl2013-12-19
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-18
* Directional fog + horizon colors, based on sun & moon positions at sunrise / ...MirceaKitsune2013-12-15
* Rewrite client media download and support hash-based remote downloadKahrl2013-12-13
* Optimize shaders code. Add settings at compile time.RealBadAngel2013-12-09
* Fix paralax occlusion settingShadowNinja2013-12-06
* Shaders rework.RealBadAngel2013-12-03
* Show git hash in version string at top left corner of windowKahrl2013-09-28
* Use cached "weather" settingproller2013-09-17
* Fog depend on humidityproller2013-09-17
* Change mainmenu texture handling + small misc changesKahrl2013-09-11
* Fix selectionbox not honoring anaglyph mode 3d distortionsapier2013-09-05
* Fix enable_fog = false not having any effect when shaders are enabledKahrl2013-09-03
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
* Remove farmeshKahrl2013-08-13
* Add texture pack selection to main menuNovatux2013-08-04
* Fix and improve view range tunerPerttu Ahola2013-08-03
* Make bumpmapping compatible with irrlicht 1.8Esteban I. Ruiz Moreno2013-07-31
* Weather supportproller2013-07-27
* Make range of tools configureablePilzAdam2013-07-20
* Dont play digging sound if not diggingPilzAdam2013-07-09
* Add texture bumpmapping feature.RealBadAngel2013-07-04
* Replace C++ mainmenu by formspec powered onesapier2013-07-02
* Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl2013-07-02
* Fix i18n of some strings.arsdragonfly2013-07-02
* Add support for IPv6proller2013-06-23
* Play placing sound only if place prediction was successfulPilzAdam2013-06-19
* Dont dig or place nodes if interact priv is missing (clientside)PilzAdam2013-06-19
lass="hl opt">.hud[name] = hud hud.id = player:hud_add({ hud_elem_type = "text", name = "ADVTRAINS", number = 0xFFFFFF, position = {x=0.5, y=0.7}, offset = {x=0, y=0}, text = text, scale = {x=200, y=60}, alignment = {x=0, y=0}, }) hud.oldText=text return elseif hud.oldText ~= text then player:hud_change(hud.id, "text", text) hud.oldText=text end end function advtrains.hud_train_format(train, flip) local fct=flip and -1 or 1 if not train then return "" end local max=train.max_speed or 10 local vel=advtrains.abs_ceil(train.velocity) local tvel=advtrains.abs_ceil(train.tarvelocity) local topLine, firstLine, secondLine topLine=" ["..mletter[fct*train.movedir].."] "..doorstr[(train.door_open or 0) * train.movedir].." "..(train.brake and "="..( train.brake_hold_state==2 and "^" or "" ).."B=" or "") firstLine=attrans("Speed:").." |"..string.rep("+", vel)..string.rep("_", max-vel)..">" secondLine=attrans("Target:").." |"..string.rep("+", tvel)..string.rep("_", max-tvel)..">" return topLine.."\n"..firstLine.."\n"..secondLine end