News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

0.100.0, r1973, r1986 : maintenance_building

Started by Frank, September 02, 2008, 08:12:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Frank

testet Windows XP Pro

create a simuconf.tab in [userdir]/simutrans

entries

# display (screen/window) width
# also see readme.txt, -screensize option
display_width  = 900

# display (screen/window) height
# also see readme.txt, -screensize option
display_height = 560


the maintenance from player building level 1 and 2 is 200 Cr
level 4 is 400 Cr

prissi

no bits_per_day entry? This is the usual cause for this ...

Frank

bits_per_day -> bits_per_month ?

bits_per_month varies for different paksets. A global value for all Paksets is impractical.

z9999

This will solve the problem.

simmain.cc:285
Quote
   umgebung_t::maint_building = contents.get_int("maintenance_building", 5000);
=>
Quote
   umgebung_t::maint_building = contents.get_int("maintenance_building", umgebung_t::maint_building);

BTW, Default umgebung_t::maint_building is only 500. Is this the right value ?  ???

dataobj/umgebung.cc:66
Quote
sint32 umgebung_t::maint_building = 500;