News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Misc patch

Started by z9999, December 17, 2008, 03:51:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

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




z9999

#1
Maybe, fixed.

z9999

Updated for r2171.

prissi

Why changing way_leaving_road? Imho this is correct english to use gerundium here. Otherwise I applyed your changes.


z9999

I don't know what are you talking about.
There is not a word "way_leaving_road" in my simuconf.tab but "way_leave_road".

So, if you have a plan to change simuconf.tab, it is Okay.

prissi

Ok, completely overlooked this simuconf.tab. Sorry, corrected.