summaryrefslogtreecommitdiff
path: root/src/constants.h
Commit message (Collapse)AuthorAge
* Change some rough/inappropriate language in comments (#9061)random-geek2019-10-24
|
* Customizeable max breath for players (#6411)SmallJoker2017-09-15
| | | | * Customizeable maximal breath for players
* Respect object property hp_max field for players (#6287)SmallJoker2017-08-23
| | | | | | | | | | | * Respect object property hp_max field for players This allows modders to configure the maximal HP per player * Statbars: Downscale bar to full 20 HP when exceeding this value Add default max HP for players and breath constants to builtin Document the constants * Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
* Change BS constant from implicit double to float (#6286)Jens Rottmann2017-08-20
| | | | | | | | the BS constant implicitly promotes all position calculations it is used in to double even though positions (= v3f) are only meant to be floats. There are many, many similar occurrences everywhere, but I'm not willing to hunt down all; I only fixed the little part I'm already familiar with.
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
| | | | * Migrate cpp headers to pragma once
* Step height: Add as a player object propertyparamat2017-08-09
| | | | | Add settable player step height using the existing object property. Breaks compatibility with old clients, add to protocol version 35.
* Revert custom player collision box and step height commitsparamat2017-05-09
| | | | | These caused inability to pass through 2 node high spaces or step up onto slabs or steps when a new client connected to an older server.
* Use stepheight from CAO instead of hardcoded valueSapier2017-05-06
|
* Pass clang-format on various cpp/header files (#5559)Loïc Blot2017-04-23
|
* Increase default font size by 1James Stevenson2016-09-21
|
* Add map limit config optionrubenwardy2015-08-02
|
* Change format of screenshot namesCraig Robbins2015-03-31
| | | | | | | | Filename screenshot_ + ISO 8601 format + [-serial] i.e. screenshot_YYYY-MM-DDTHH::MM::SS[-serial].png Serial is added if the filename + timestamp already exists and is in the range 1 to 999
* Increase default font_sizeBlockMen2015-02-18
|
* Fix font_size under windowsBlockMen2015-02-18
|
* Give full breath after deathSmallJoker2015-02-05
|
* Change default font sizes to 14(freetype) and 10(non-freetype)sfan52015-01-10
|
* (INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins2014-12-05
| | | | Until a permanent fix can be developed
* Scale form elements consistentlyZefram2014-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ratios between the sizes of form elements, including text, is now fixed, aside from variations caused by rounding. This makes form layout almost fully predictable, and particularly independent of player's screen size. The proportions of non-text elements are the traditional proportions. For compatibility, the way in which element positions and sizes are specified remains unchanged, in all its baroqueness, with one exception. The exception is that the position of a label[] element is now defined in terms of the vertically center of the first line of the label, rather than the bottom of the first line of the label. This change allows a label to be precisely aligned with button text or an edit box, which are positioned in a centering manner. Label positioning remains consistent with the previous system, just more precisely defined. Make multi-line label[] elements work properly. Previously the code set a bounding rectangle assuming that there would be only a single line, and as a result a multi-line label would be cut somewhere in the middle of the second line. Now multi-line labels not only work, but have guaranteed line spacing relative to inventory slots, to aid alignment. Incidentally fix tabheader[] elements which were being constrained to the wrong width. Given an unusually large form, in variable-size mode, the form rendering system now chooses a scale that will fit the entire form on the screen, if that doesn't make elements too small. Fixed-size forms, including the main menu, are have their sizes fixed in inch terms. The fixed size for fixed-size forms and the preferred and minimum sizes for variable-size forms all scale according to the gui_scaling parameter.
* Implement proper font handlingsapier2014-11-30
|
* Improve timeout calculationsapier2014-08-22
| | | | gf
* Store the maximum player file tries in a constantShadowNinja2014-06-23
|
* Support for scalable font and gui elementssapier2014-06-22
| | | | | Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
* Remove liquid_finite and weatherproller2014-04-18
|
* Weather: Clean up getHeat/getHumidity somewhatkwolekr2013-09-16
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Add support for IPv6proller2013-06-23
| | | | | | | Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-17
|
* Clean up constants.h a bitPerttu Ahola2012-06-16
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl2012-03-29
|
* Set the BS constant to be floating-point; this removes the need for floating ↵Perttu Ahola2011-11-29
| | | | point numbers when dividing it
* Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl2011-09-08
| | | | camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
* lava!Perttu Ahola2011-08-15
|
* fixed not finding data dir if installedConstantin Wenger2011-08-12
|
* small comment updatePerttu Ahola2011-05-18
|
* mapgen work-in-progressPerttu Ahola2011-03-02
|
* mapgen stuffPerttu Ahola2011-02-05
|
* map generation framework under development... not quite operational at this ↵Perttu Ahola2011-01-30
| | | | point.
* Mainly some texture tweakingPerttu Ahola2011-01-24
|
* minecraft-style water done (but no texture animation or sound)Perttu Ahola2011-01-17
|
* old water removed, some fixes here and therePerttu Ahola2011-01-17
|
* Initial commit of mapgen v.2. Lacks configuration and saving to disk.Perttu Ahola2011-01-16
|
* Added a more flexible path system (and fixed some minor stuff)Perttu Ahola2011-01-07
|
* changes to handing of digging (non backwards-compatible i guess)Perttu Ahola2010-12-23
|
* fixed crack animation timing in clientPerttu Ahola2010-12-23
|
* some work-in-progressPerttu Ahola2010-12-22
|
* Cracking blocks while diggingPerttu Ahola2010-12-21
|