We're getting ever closer to the beta version. At this point, all that I still want to do before going beta is to improve the pylon placement for electrified railways (especially some of the bridges and horizontal/vertical tracks), and if I have the time (and a good idea how to do it), to use cross-spans for junctions and rail lines with more than two tracks.
If there are any outstanding bugs that I haven't fixed yet, please remind me what they are, just to make sure I have a chance to fix all known bugs.
So what's new in alpha 40? Csaba Varga has improved the new tree planting again, by introducing a new sign cheat: "Cht: PlantTrees <SizeX> <SizeY> <Type>". This plants the specified rectangular area of trees around the location where you place the sign. If not specified, SizeX=SizeY=40 are assumed, which neatly covers the area of a lumber mill. If <Type> (the tree type) is not specified, random trees are planted. So to replenish the tree supply of a lumber mill, all you need to do is place a sign on top of it saying "Cht: PlantTrees". It doesn't get any easier than that! With "cheatscost on", you will of course have to pay for the cost of the trees.
In addition, he has improved the sign cheat code by allowing multiple signs with the same text. Previously, you could only place each sign cheat once on the map, or you'd get an error message about the name already being in use. Now, the sign can contain any text, even if it's identical to some other sign, or even town or station names. However, towns and stations themselves must still have unique names, of course.
I have also included Marcin's changes from his version alpha 38.1 experimental. Since he's already announced these here, I won't repeat everything he said. Look for a summary of the changes below, or in his message. If you didn't get the message, check the mailing list archives. The two most important changes are the new keyboard mapping, allowing the use of localized keyboards with any (DOS) version of TTD, and the port of the DOS version to the OpenWatcom compiler. This compiler is now the default compiler for the DOS version, and it's free to download from
http://www.openwatcom.org . Borland C++ for DOS will continue to be supported too, as it will be my main development platform. Set USEBCC=1 in the Makefile if you want to use Borland C++ for DOS.
Finally, I've yet again improved the electrified railways slightly. Now, electric pylons are not drawn if you turn off the "full details" option in the display settings. In addition, they will turn transparent if you enable transparent buildings. This is to allow you to see signals which may be blocked by the pylons. I'm not sure if transparent pylons are really useful, so I'm looking for feedback on whether to leave this in, or whether turning off full details (with Shift-5 if you have morehotkeys on) is sufficient.
All changes in 1.9.1 alpha 40 (April 27, 2003):
- fixed bug: pylons from elrails(w).grf didn't work near the beginning of newgrf.txt
- by Csaba: sign cheat "Cht: PlantTrees <SizeX> <SizeY> <type>"
- by Csaba: allow duplicate signs
- moved sign code to a different area of TTD code; should work better
- included all changes from Marcin's alpha 38.1 experimental:
- Bug fixed: when vehicles are deleted due to vehicle array size reduction, their schedules are deleted too (so that they don't clobber the precious little schedule heap space)
- Bug fixed: ship refit list is no longer empty if "newships off" is used but other new graphics are present (note: the bug may persist in older savegames if 'saveextradata' is on)
- Bug fixed: the C key (center) no longer works the same as Z (center & zoom) with 'morehotkeys on'
- TTD bug fixed: backspace key used to trigger a 'replay' of the key buffer occasionally in the Windows version (fix active if 'generalfixes' or 'win2k' is on)
- TTD bug fixed: now screenshot key combinations no longer cause inadvertent multiple screenshots in DOS versions, too
- Enhanced keyboard handler in the DOS version that allows for almost arbitrary mapping of key combinations to characters
- Ported the DOS version to Open Watcom
- Bug fixed: TTDPatch tried to display a localized "press any key" message even if an error occurred before language data had been loaded
- Bug fixed: "-a -W ttdpatch.cfg" was passed to a program started via the c debug flag if there was no f- flag, no arguments to the program and no ttdpatch.cfg was found
- New debug flag, L+ to load language data from language.dat instead of the executable
- New debug flag, I- to disable programming of the keyboard indicators (the LEDs) in the enhanced keyboard handler (in case it doesn't work well)
- when writing ttdpatch.cfg, // *** NEW SWITCHES *** is now only shown once, not for every new switch
- ttdvar macro now officially supports 0x9c458..0x9f278 range too
- electric pylons no longer displayed if full detail is off
- electric pylons are subject to the "transparent buildings" option too