Commit Graph

173 Commits (master)

Author SHA1 Message Date
VanessaE b0503a4946 add minimum minetest version key for contentdb 2020-06-03 13:00:37 -04:00
Vanessa Dannenberg a6aff9e17a Merge branch 'compress' into 'master'
Lossless texture compression
2020-03-10 01:29:35 +00:00
MoNTE48 f30f5a37dc Lostless texture compression 2020-03-09 23:56:47 +01:00
Vanessa Dannenberg 3ba4f2ac00 move a couple of textures to the mod they belong with 2019-10-03 14:18:42 -04:00
Vanessa Dannenberg 54626da3ce Adapt to changes in signs_lib API
Requires signs_lib commit 38362152 (2019-09-25) or later

Also fixed undeclared global warnings and removed some obsolete bits
here and there.
2019-09-26 00:52:53 -04:00
Vanessa Dannenberg 4f1f0e77de use four pole mounts
on the backs of the medium and large highway on-pole signs, because it
looks better (logically these are really heavy and should fall down if
they have only two :-) )
2019-09-25 19:41:07 -04:00
Vanessa Dannenberg 913fded903 fix placement and rotation glitch
in street intersection signs
2019-09-21 22:54:16 -04:00
Vanessa Dannenberg 3bfd09f545 allow generic highway signs to be placed on poles/posts
(vertical poles/posts only, models are designed to expect poles 2 or 3
meters apart, depending on sign size)
2019-09-21 20:54:26 -04:00
Vanessa Dannenberg adf2ee5934 Rework most models to allow for placement on horizontal poles
also, adjusted for signs_lib's change of `allow_onpole` (vertical
poles/fences, that is; explicitly set them to `true`, as appropriate, as
signs_lib now defaults to disabled)

Some signs cannot be put on a horizontal yet:
* all small/med/large "highway" signs
* any signs using one of the "_top" models (such as the yellow speed advisory
  signs and the "exempt" signs)
* any signs using the slim pole mount (pedestrian crossings)
2019-09-21 19:00:58 -04:00
Vanessa Dannenberg bcc5fac913 fix bad UV mapping on on-pole all-way stop
(re-export from the blend for the other three related models)
2019-09-17 11:47:32 -04:00
Vanessa Dannenberg 87d28feea1 use signs_lib's wide-font API features where appropriate
requires signs_lib commit a5e711d3 or later
2019-09-15 16:17:09 -04:00
Vanessa Dannenberg f9f190d489 Use signs_lib.register_sign() call where appropriate
requires signs_lib commit 6f9ca21 or later

also added on-pole model for OM3 signs.
2019-09-14 22:41:50 -04:00
Vanessa Dannenberg 009849e43e use signs_lib's standard wood and steel signs sound defs 2019-09-14 18:00:21 -04:00
Vanessa Dannenberg f0df211bd8 use signs_lib.standard_steel_groups for all signs
(adding "not_in_creative_inventory" as needed)
2019-09-14 17:43:53 -04:00
Vanessa Dannenberg e874fa2677 put all signs into group:sign, needed by signs_lib's regenerate-signs command 2019-09-13 16:02:38 -04:00
Vanessa Dannenberg 9ae8e0f759 fix 'dummy' formspec images (the hacky way) 2019-09-12 11:31:27 -04:00
Vanessa Dannenberg 95db0afb00 fix wrong/bad selection boxes on highway signs on ceiling and ground 2019-09-11 16:36:59 -04:00
Vanessa Dannenberg 7ff84bebe1 Fix broken/bad screwdriver rotation handling 2019-09-11 15:54:52 -04:00
Vanessa Dannenberg a26a737fa2 update to use new signs_lib API -- requires signs_lib commit 4ff54c9a and above 2019-09-11 12:29:49 -04:00
cheapie e970481a44 Cache character textures 2018-11-21 19:55:54 -05:00
Vanessa Dannenberg 1c3c1832eb add license info 2018-11-09 17:55:03 -05:00
Vanessa Dannenberg 34ef0ca809 fix text size in D3 signs 2018-10-12 20:08:02 -04:00
Vanessa Dannenberg 9079075077 move D3 signs to top of file, to put 'em above D9 :-P 2018-10-12 20:03:25 -04:00
Vanessa Dannenberg 23e13b6bab add arrow symbols to fonts
accessible by putting ^1 to ^8 (think "arrow number 1", etc) in your text
for narrow-width arrows (good for "wide font" highway signs), or ^a to ^h
for double-width arrows (good for all of the normal narrow-font signs).

in order, arrows 1 and "a" point up, 2/b points up-and-right, 3/c points
right, and so on, turning clockwise

Any other ^x pair just renders directly (no escape char, sorry)
2018-10-09 07:48:31 -04:00
Vanessa Dannenberg 335b12c485 fix hard-coded "3-line" in descriptions of highway signs 2018-10-09 05:04:59 -04:00
Vanessa Dannenberg 6328422e40 make big-font versions of highway signs 2018-10-09 05:03:12 -04:00
Vanessa Dannenberg 6fefed49f1 completely re-worked the highway signs' models and textures
made the fonts are a bit smaller in the process the
The "small" ones should now hold about half as much as a signs_lib sign
The "medium" ones should now hold about the same amount as a signs_lin sign
The "large" ones should hold about 40% more than that.
2018-10-03 04:05:35 -04:00
Vanessa Dannenberg 02296cdcfe add left- and right-pointing M4-10 (detour) 2018-10-03 02:00:44 -04:00
Vanessa Dannenberg 0a843a25d8 add R6-5P (clockwise and counter-clockwise versions) 2018-10-03 01:40:28 -04:00
Vanessa Dannenberg 571e90bfd5 add left-pointing version of R6-4b 2018-10-03 01:29:48 -04:00
Vanessa Dannenberg a00f1563c4 Add orange version of W7-3aP and left- and right-pointing W1-6 2018-10-03 01:24:51 -04:00
Vanessa Dannenberg c9fcf1c577 add signs: W1-1 through W1-5, W1-11, W1-15
(both left- and right-pointing versions as appropriate)
2018-10-03 01:09:37 -04:00
Vanessa Dannenberg 2aee979754 add R3-6 (and right/straight version) 2018-10-03 00:16:17 -04:00
Vanessa Dannenberg 522495b4fb W13-P signs to restore LBM 2018-10-03 00:01:58 -04:00
Vanessa Dannenberg df9f36b621 move most signs' entities back (toward the sign surface) a bit 2018-10-03 00:00:40 -04:00
Vanessa Dannenberg 96ce4b3041 add W13-P (with km/h and m/s variants also) 2018-10-02 23:38:07 -04:00
Vanessa Dannenberg 7daebbe581 add "next X miles" sign to restore LBM 2018-10-02 22:49:44 -04:00
Vanessa Dannenberg 9086c084af fix W10-1 round model to correct size
(and rename it to "generic")
2018-10-02 22:48:11 -04:00
Vanessa Dannenberg afaa55fa0d Add W10-1aP and R15-3P (RR "exempt" signs) 2018-10-02 22:40:02 -04:00
Vanessa Dannenberg e635315fff Add "both ways" variant of R10-3a
and W7-3aP distance sign (e.g. "next N miles", but blank, 2 lines editable)
2018-10-02 22:05:28 -04:00
Vanessa Dannenberg a428eef936 split signs.lua into multiple files by sign class
also sort the signs in each file by MUTCD number
2018-09-30 20:52:40 -04:00
Vanessa Dannenberg 61b4dc0407 decrease font width and increase amount of text on intersection signs 2018-09-30 17:05:44 -04:00
Vanessa Dannenberg 51e35d768b tweak size/position of text on "hill with grade" and "low clearance" signs 2018-09-30 16:47:10 -04:00
Vanessa Dannenberg 3cad81f660 add latest signs to restore-text LBM, as appropriate 2018-09-30 16:43:41 -04:00
Vanessa Dannenberg ceb955f9eb fix LBM not restoring sign text 2018-09-30 16:37:43 -04:00
Vanessa Dannenberg 7913e1b72c fix wrong selection box on US route, US Interstate, and generic warning signs 2018-09-30 16:35:35 -04:00
Vanessa Dannenberg 4dbd8e035a use 31 px font on street intersection signs 2018-09-30 16:31:31 -04:00
Vanessa Dannenberg 6069d02e3a Add R8-8: do not stop on tracks 2018-09-30 07:04:35 -04:00
Vanessa Dannenberg 7af53c2cda add right-pointing variant of R10-3a 2018-09-30 06:54:12 -04:00
Vanessa Dannenberg 20f4246d48 Only apply selbox Z offset to on-post model
(regular is assumed to be flat against a wall or side post)
2018-09-30 06:47:01 -04:00