Misc patch
Misc patch for this topic.
http://forum.simutrans.com/index.php?topic=971.0
- priority of command line "-freeplay" and debug level and "-singleuser"
- way_leave_road
- priority of config/simuconf.tab
Very sorry. I'll recall this patch. Please don't use.
Thia patch causes a problem with debug mode
sim.exe caused an Access Violation at location 005a9c98 in module sim.exe Reading from location 0230484f.
Registers:
eax=022fb2d8 ebx=00000040 ecx=0023edd8 edx=00009577 esi=006d0074 edi=00730070
eip=005a9c98 esp=0023ee00 ebp=0023fa18 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206
Call stack:
005A9C98 sim.exe:005A9C98 display_calc_proportional_string_len_width(char const*, int) simgraph16.cc:2477
...
iUnicode = utf8_to_utf16((utf8 const*)text + iLen, &iLen);
if (iUnicode == 0) return width;
> w = fnt->screen_width[iUnicode];
if (w == 0) {
// default width for missing characters
...
005ADCE3 sim.exe:005ADCE3 WinMain simsys_w16.cc:756
00401247 sim.exe:00401247
00401298 sim.exe:00401298
7C817067 kernel32.dll:7C817067 RegisterWaitForInputIdle