48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6f27337220 add R10-25: push button to turn on warning lights 2018-09-30 06:44:48 -04:00
Vanessa Dannenberg
2a99f00347 finish R10-3i, fix broken entities on 9x15 signs 2018-09-30 05:24:47 -04:00
Vanessa Dannenberg
ccb3c566b1 rename all "regulatory" models to "generic sign"
add R10-3a and R10-3e: Pedestrians, push button to cross (etc)

R10-3i WiP
2018-09-30 05:11:09 -04:00
Vanessa Dannenberg
11a464cb68 add stop sign with "all way" plaque (R1-1 + R1-3P) 2018-09-30 04:01:33 -04:00
Vanessa Dannenberg
b27fbbc388 Add signs:
D9-2: general service: hospital
D9-6: general service: handicapped
D9-7: general service: gas/fuel
D9-8: general service: food
D9-9: general service: lodging
D9-11b: general service:  EV charging
2018-09-30 02:44:10 -04:00
Vanessa Dannenberg
1584b453e8 add R6-3 (divided highway with cross road) 2018-09-30 02:12:56 -04:00
Vanessa Dannenberg
79878225ba add W1-7: two direction large arrow (i.e. road ends at a "T", must go right or left) 2018-09-30 01:48:50 -04:00
Vanessa Dannenberg
014a387183 added R6-1 (one-way to left, and to-right variant) 2018-09-30 01:25:11 -04:00
Vanessa Dannenberg
6798a06953 Add R6-4b Roundabout Directional (4 chevrons) 2018-09-29 23:33:10 -04:00
Vanessa Dannenberg
1d388bb4a6 add W10-1: advance railroad grade crossing warning
reworked R15-1 to fix edge UV mapping
2018-09-29 23:11:22 -04:00
Vanessa Dannenberg
7ed2732af7 add R15-1 Railroad grade crossbuck (the X-shaped one) 2018-09-29 22:50:31 -04:00
Vanessa Dannenberg
106cf00f09 Add R10-12 (left turn yield on green light)
and R10-23 (crosswalk - stop on red light)
2018-09-29 19:22:58 -04:00
Vanessa Dannenberg
fd3f13972e restore missing model file 2018-09-29 17:06:56 -04:00
Vanessa Dannenberg
e960923bcd reworked all of the smaller models and most images
for consistency in size (per MUTCD for multi-lane conventional roads).  This
had the side benefit of reducing the number of unique models, also.

Some signs are bigger than before, some are smaller.  All of the reworked
models are now 50 mm thick (a bit thinner than before).

Also, consistent image resolution -- all reworked signs' graphics are
256px, which means most of them are lower resolution than before, but not
enough to make a big impact in quality.

Also, split the pole mount and the signs' eging from the main texture,
otherwise positions of these things in a sign image are unpredictable.

Got rid of all the entity UV guides images, as they're all invalid now.
2018-09-29 08:24:48 -04:00
Vanessa Dannenberg
87cfdede7b add "no turn on red light"
and "use lane with green arrow"
2018-09-29 00:01:38 -04:00
Vanessa Dannenberg
5ba5b9cf8d add R4-8 (keep left) and R10-5 (left on green arrow only) 2018-09-28 21:16:37 -04:00
Vanessa Dannenberg
c4ef1a19f0 add "stop here on red" sign 2018-09-27 10:32:34 -04:00
Vanessa Dannenberg
0421fc92ad add "wrong way" sign 2018-09-27 10:00:32 -04:00
Vanessa Dannenberg
3734688684 add do-not-enter sign 2018-09-27 09:38:04 -04:00
Vanessa Dannenberg
29005d38d6 fix sizes of US Route (24x24 regulatory) and US Interstate signs
to better comply with MUTCD 2009
2018-09-27 09:01:03 -04:00
Vanessa Dannenberg
42ff069415 Add speed limit sign 2018-09-27 07:23:48 -04:00
Vanessa Dannenberg
0ba346139b add type 3 object markers (l, c, r) 2018-09-27 05:01:01 -04:00
Vanessa Dannenberg
eb5eb8dcc9 add "stop for pedestrian" (in-crosswal) sign 2018-09-27 03:49:39 -04:00
Vanessa Dannenberg
1b705a4227 add stop, yield, and pedestrian crossing signs 2018-09-27 01:44:53 -04:00
Vanessa Dannenberg
6b5bddfacd make on-pole variants of the smaller signs
fully automatic placement of US route, US interstate, or yellow or
orange warning diamonds on a pole.  works with:

* all default fences
* homedecor's fences
* gloopblocks steel fence
* coloredwood fences
* Bobblocks "pole" and "wavypole" (which are fences also)
* streets signal/streetlight bigpole (straight piece only, only when vertical)
2018-09-26 22:24:25 -04:00
Vanessa Dannenberg
ed2608da1f make all highway etc signs wall mounted
(doesn't affect the street intersection sign)
2018-09-26 03:50:38 -04:00
Vanessa Dannenberg
df9b0e6f09 add "US Route", US "Interstate", and diamond-shaped warning signs
(1 line, 3 chars max in 31 px font for the route/interstate signs,
3 lines x 15 chars max in 15 px font for the warning sign)
2018-09-25 21:20:50 -04:00
Vanessa Dannenberg
af4cbd5a35 add small and large highway signs
minor adjustment to medium sign size
tweaked text settings here and there a bit
2018-09-24 22:27:45 -04:00
Vanessa Dannenberg
fa15f7c0ad rework entities to get the text margins right. 2018-09-24 20:24:21 -04:00
Vanessa Dannenberg
079c21bd41 add a larger 2x2 sign for highways
uses a bigger, 31-px font
2018-09-24 19:38:10 -04:00
Vanessa Dannenberg
c95f7cce2f don't double-up the line texture to cover both sign sides
instead use the entity's UV mapping to handle it.
2018-09-24 15:38:43 -04:00
Vanessa Dannenberg
5c8262072d fix signs not updating properly via LBM or punch
also move the entities' surfaces outward a bit, to compensate for an engine
positioning glitch
2018-09-23 03:23:34 -04:00
Vanessa Dannenberg
9e2b65e84e add a version of the standard sign that's just the top part,
in case one wants to place it on top of some other kind of pole.
2018-09-21 20:17:31 -04:00
Vanessa Dannenberg
09f60d79b9 fork from signs_lib to create a simple street name sign
(i.e. the two-up green signs found at most street corners.
2018-09-21 01:43:32 -04:00