summaryrefslogtreecommitdiff
path: root/src/constants.h
AgeCommit message (Collapse)Author
2014-12-05(INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins
Until a permanent fix can be developed
2014-11-30Scale form elements consistentlyZefram
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.
2014-11-30Implement proper font handlingsapier
2014-08-22Improve timeout calculationsapier
gf
2014-06-23Store the maximum player file tries in a constantShadowNinja
2014-06-22Support for scalable font and gui elementssapier
Fix positioning of tabheader in order to be usable for scaling GUIs WARNING: this changes position of current tabheaders, mods have to adjust!
2014-04-18Remove liquid_finite and weatherproller
2013-09-16Weather: Clean up getHeat/getHumidity somewhatkwolekr
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-06-23Add support for IPv6proller
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)
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola
2012-06-16Clean up constants.h a bitPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-03-29added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl
2011-11-29Set the BS constant to be floating-point; this removes the need for floating ↵Perttu Ahola
point numbers when dividing it
2011-09-08Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl
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.
2011-08-15lava!Perttu Ahola
2011-08-12fixed not finding data dir if installedConstantin Wenger
2011-05-18small comment updatePerttu Ahola
2011-03-02mapgen work-in-progressPerttu Ahola
2011-02-05mapgen stuffPerttu Ahola
2011-01-30map generation framework under development... not quite operational at this ↵Perttu Ahola
point.
2011-01-24Mainly some texture tweakingPerttu Ahola
2011-01-17minecraft-style water done (but no texture animation or sound)Perttu Ahola
2011-01-17old water removed, some fixes here and therePerttu Ahola
2011-01-16Initial commit of mapgen v.2. Lacks configuration and saving to disk.Perttu Ahola
2011-01-07Added a more flexible path system (and fixed some minor stuff)Perttu Ahola
2010-12-23changes to handing of digging (non backwards-compatible i guess)Perttu Ahola
2010-12-23fixed crack animation timing in clientPerttu Ahola
2010-12-22some work-in-progressPerttu Ahola
2010-12-21Cracking blocks while diggingPerttu Ahola
2010-12-20framework for modifying texturesPerttu Ahola
2010-12-19day/night working client sidePerttu Ahola
2010-12-14tinkering aroundPerttu Ahola
2010-12-13commit before content-tile separationPerttu Ahola
2010-11-30better waterPerttu Ahola
2010-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt
2010-11-29Windows bug fixesPerttu Ahola
2010-11-29sitä sun tätä tekeillä, toimii kivastiPerttu Ahola
2010-11-27block send priority queuePerttu Ahola
2010-11-27Working version before block send priorization updatePerttu Ahola
2010-11-27Initial filesPerttu Ahola