introduce footbridges over water and swamp
Bug #734193 reported by
Astuur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands media development |
Won't Fix
|
Wishlist
|
Unassigned | ||
widelands |
Won't Fix
|
Wishlist
|
Benedikt Straub |
Bug Description
This a feature suggestion for the wiishlist.
It would be nice, if there could be little footbridges built, where roads a passing over 1-tile water and swamp.
The road building routine should therefore realize over what terrain such a 1-tile bridge is necessary and build it unconditionally.
Related branches
lp:~widelands-dev/widelands/bridges
On hold
for merging
into
lp:widelands
- kaputtnik (community): Needs Fixing
- GunChleoc: Approve
-
Diff: 608 lines (+284/-6)15 files modifieddata/tribes/atlanteans.lua (+32/-0)
data/tribes/barbarians.lua (+28/-0)
data/tribes/empire.lua (+28/-0)
data/tribes/frisians.lua (+28/-0)
src/economy/roadbase.cc (+79/-2)
src/economy/roadbase.h (+4/-0)
src/graphic/gl/road_program.cc (+6/-3)
src/logic/map_objects/bob.cc (+18/-0)
src/logic/map_objects/tribes/tribe_descr.cc (+23/-1)
src/logic/map_objects/tribes/tribe_descr.h (+11/-0)
src/logic/roadtype.h (+2/-0)
src/wui/interactive_base.cc (+21/-0)
src/wui/interactive_base.h (+2/-0)
src/wui/interactive_player.cc (+1/-0)
src/wui/interactive_spectator.cc (+1/-0)
Changed in widelands: | |
milestone: | build17-rc1 → build-18rc1 |
Changed in widelands-media: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: graphic |
Changed in widelands: | |
milestone: | build18-rc1 → none |
Changed in widelands: | |
status: | Incomplete → Confirmed |
tags: |
added: images world removed: graphic |
Changed in widelands-media: | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
I think this sounds great. It would look a lot less out of place than the normal roads currently used. An alternative would be to place the carriers in small boats like Settlers 2 did, but that always seemed a bit odd to me. By using footbridges it also makes sense that you can only build across 1-tile sections of water, and not across vast oceans.
For an implementation two parts are needed:
1. Someone needs to create graphics for the bridge itself.
2. Some check in the code for what kind of terrain the road is on. I assume it can be treated like a normal road, just drawn differently if it goes across water/swamp.
Look at this for build17?