Thread: Dosbox
View Single Post
  #6  
Old March 8th, 2019, 01:30 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,614
Thanks: 4,056
Thanked 5,814 Times in 2,869 Posts
DRG will become famous soon enough
Exclamation Re: Dosbox

Quote:
Originally Posted by MarkSheppard View Post
Okay, loaded Steel Panthers Arsenal version of SP2 in dosbox...

A. Left to right placed paved road on clear map; the last section of road (right side) shows a road tile, but instead reports clear terrain.

B. Double clicking on the map, then moving to another section and double clicking...I don't see a road, but when I put the info cursor over it, I get it reported as a paved road.
As we suspected this goes back to the original game but as of the next patch both games will no longer do A or B.

It's a long story but Andy made a slight change to SPww2 code and gaps were noticed appearing in maps in sections of paved road but using older EXEs the road appeared perfectly normal but passing your mouse cursor down the road would reveal gaps where the road ended and the underlying terrain was reported..... but to anyone looking at the map it looked like continuous road. The problem did not occur with secondary roads.

What was happening was the last hex in a series of paved road that was put down was showing a road tile but road terrain was not actually being recorded so if you travelled a tank down that road you would go from road to clear then back to road again but everything looked OK.

If a mapmaker made a habit of laying a section of road then starting the next section from the next clear hex showing on the map a gap was being created. If however, the map maker made a habit of laying a section of road then starting the next section from the last tile of the road showing then a gap was not be created.

The revised code reads if a road tile is actually on the hex and if yes makes that a road tile hex so all the maps and scenarios that have these little gaps here and there....and there are hundreds of them... will , with the next patch for both games....be automagically fixed... they will not report the underlying terrain so if a road looks like a road it WILL BE a road

...and it will no longer do B either


Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following 5 Users Say Thank You to DRG For This Useful Post: