Josef Drexler | 17 Jun 2006 04:43
Picon
Favicon

Beta: 2.5 beta 6


Hi all,

Yes, it's time again for the next beta!  Get it as usual at
http://www.ttdpatch.net/src/

Another quick bit about translations, most languages are done or close to
being done, but I'm right now looking for a *Finnish* translator.  If
you're good at Finnish and would like to help translating TTDPatch to your
language, please email me as soon as possible.

Once again I've had to let a few smaller new features slip in.  This time,
Steven_h has added truck stops, which work like bus stops except for
non-passenger cargos, while Oskar has added an experimental feature
allowing a company to buy more than 255 trains
(experimentalfeatures.incvehconsist on).  Note that if you do have more
than 255 trains, the train list will not work correctly and will draw
trains all over the screen.

And since everybody seems to be adding features, I've made a small one
too: the amount of cash per company has been bumped to a 64-bit variable.
That means that it is no longer limited to the equivalent of £2 billion,
but rather £9 trillion trillion. That should be enough for a while. Note
that the individual amounts of the various categories, as well as other
sums such as the company value stay limited as before, only the real
amount of cash has had the limit raised like this.

Finally there have been a whole slew of bug and crash fixes again, see
below for the full list.

(Continue reading)

George | 17 Jun 2006 10:36

Re: Beta: 2.5 beta 6

Hello, Josef.

You wrote on Saturday, June 17, 2006, 6:43:02 AM:
> - fixed bug where entering à opens the "Quit game" window
 Now it does not open close window dialog with Alt-F4

--

-- 
 George                          mailto:georgevb@...

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

Josef Drexler | 17 Jun 2006 15:45
Picon
Favicon

Re: Re: Beta: 2.5 beta 6

George wrote:
> Hello, Josef.
>  
> 
> You wrote on Saturday, June 17, 2006, 6:43:02 AM:
>> - fixed bug where entering à opens the "Quit game" window
>  Now it does not open close window dialog with Alt-F4

That works fine here.  Does Ctrl-C open it then?

Are you using a keyboard mapping table (ttdpatchw.kbd)?  If so, it may
need some adjustments after this change.

--

-- 
Josef Drexler

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

George | 17 Jun 2006 20:31

Re: Re: Beta: 2.5 beta 6

Hello, Josef.

You wrote on Saturday, June 17, 2006, 5:45:56 PM:

>> You wrote on Saturday, June 17, 2006, 6:43:02 AM:
>>> - fixed bug where entering à opens the "Quit game" window
>>  Now it does not open close window dialog with Alt-F4
> That works fine here.  Does Ctrl-C open it then?
 No

> Are you using a keyboard mapping table (ttdpatchw.kbd)?
 Yes. The default one

> If so, it may need some adjustments after this change.
 What shouls I do?
--

-- 
 George                          mailto:georgevb@...

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

Josef Drexler | 17 Jun 2006 22:41
Picon
Favicon

Re: Re: Beta: 2.5 beta 6

George wrote:
> Hello, Josef.
>  
> You wrote on Saturday, June 17, 2006, 5:45:56 PM:
> 
> 
>>>You wrote on Saturday, June 17, 2006, 6:43:02 AM:
>>>
>>>>- fixed bug where entering à opens the "Quit game" window
>>>
>>> Now it does not open close window dialog with Alt-F4
>>
>>Are you using a keyboard mapping table (ttdpatchw.kbd)?
> 
>  Yes. The default one
> 
>>If so, it may need some adjustments after this change.
> 
>  What shouls I do?

If it's the default one, there's no reason to keep using it I think.  So 
deleting it should fix the problem.  Otherwise you have to change it to emit 
character 03 (Ctrl-C) when pressing Alt-F4 and Ctrl-C.

I admit that I don't know how this table actually works, Marcin wrote that 
code.  But if you aren't really using it, removing it is probably the best 
option.

--

-- 
Josef Drexler
(Continue reading)

George | 19 Jun 2006 20:32

Re: Re: Beta: 2.5 beta 6

Hello, Josef.

>>  What shouls I do?
> If it's the default one, there's no reason to keep using it I think.  So
> deleting it should fix the problem.
 It does not. I use Russian translation of TTD

> Otherwise you have to change it to emit character 03 (Ctrl-C) when
> pressing Alt-F4 and Ctrl-C.
 Ctrl-C. also gives no effect. Ctrl-Break too

--

-- 
 George                          mailto:georgevb@...

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

Josef Drexler | 20 Jun 2006 17:41
Picon
Favicon

Re: Re: Beta: 2.5 beta 6

On Jun 19, 2006, at 2:32 PM, George wrote:

> Hello, Josef.
>
>>>  What shouls I do?
>> If it's the default one, there's no reason to keep using it I  
>> think.  So
>> deleting it should fix the problem.
>  It does not. I use Russian translation of TTD
>
>> Otherwise you have to change it to emit character 03 (Ctrl-C) when
>> pressing Alt-F4 and Ctrl-C.
>  Ctrl-C. also gives no effect. Ctrl-Break too

In that case please email me your modified gamegfx.exe and the  
keyboard file so I can test it myself.

--

-- 
Josef Drexler
josef@...

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

Marcin Grzegorczyk | 19 Jun 2006 16:25
Picon
Favicon

Re: Re: Beta: 2.5 beta 6

Josef Drexler wrote:
> [ttdpatchw.kbd]
> I admit that I don't know how this table actually works, Marcin wrote 
> that code.  But if you aren't really using it, removing it is probably 
> the best option.

The table simply maps one byte to another.  The default one has two 
mappings: 0x80 is mapped to 0x9E (TTDPatch's pre-Unicode idea of the 
Euro sign) and 0xE0 is mapped to itself (which was a different way to 
fix the same bug).

Looking at the svn diffs and the r482 source, I guess that the fix is to 
update checkforexitkey in patches/kbdhand.asm (use 3 instead of 0xe0 
(WINTTDX only!)).

Whether ttdpatchw.kbd still works right or not I cannot say -- other 
code has changed too much for me to be able to trace it yet.  (Does 
TTDPatchW use the Unicode version of WM_CHAR now?  If yes, then 
ttdpatchw.kbd is no longer useful; if no, it still might be.)

--

-- 
Marcin Grzegorczyk

--
TTDPatch mailing list.  To unsubscribe from the list, send an email to
ttdpatch-request@... with the body (not the subject) of the
email containing only the word "unsubscribe" (without the quotes).
For more info please see http://www.ttdpatch.net/maillist.html

(Continue reading)

Josef Drexler | 19 Jun 2006 23:15
Picon
Favicon

Re: Re: Beta: 2.5 beta 6

On Jun 19, 2006, at 10:25 AM, Marcin Grzegorczyk wrote:
> Josef Drexler wrote:
>> [ttdpatchw.kbd]
>> I admit that I don't know how this table actually works, Marcin  
>> wrote that code.  But if you aren't really using it, removing it  
>> is probably the best option.
>
> The table simply maps one byte to another.  The default one has two  
> mappings: 0x80 is mapped to 0x9E (TTDPatch's pre-Unicode idea of  
> the Euro sign) and 0xE0 is mapped to itself (which was a different  
> way to fix the same bug).

I see.

> Looking at the svn diffs and the r482 source, I guess that the fix  
> is to update checkforexitkey in patches/kbdhand.asm (use 3 instead  
> of 0xe0 (WINTTDX only!)).

Yes, I use code 03 instead of E0 now, as DOS does.  As a side  
benefit, this means that Ctrl-C now brings up this dialog in Windows  
as well.

> Whether ttdpatchw.kbd still works right or not I cannot say --  
> other code has changed too much for me to be able to trace it yet.   
> (Does TTDPatchW use the Unicode version of WM_CHAR now?  If yes,  
> then ttdpatchw.kbd is no longer useful; if no, it still might be.)

No, there's no Unicode input yet. Characters that aren't in the  
native code page cannot be input at this time.

(Continue reading)


Gmane