GRRRRRRRR! that was a great feature that never got immplementedpatchman wrote:remove miscmods.loaduntilgreen, it was never actually implemented


Moderator: TTDPatch Moderators
Please do, I really liked the idea (hell, as it was my idea, I should've).m3henry wrote:GRRRRRRRR! that was a great feature that never got immplementedpatchman wrote:remove miscmods.loaduntilgreen, it was never actually implementedwhy dont we re-implement it
Yes.Patchman wrote:That's a bit too vague to investigate. Can you provide more details?
Code: Select all
cmp eax,0x100
jae .unicode
mov ah,0xe0
jmp short .store // E0 is ignored in non-utf8 mode
.unicode:
It works for me. Even my very first animated station .grf using CBs 140, 141, 142 and dating back from may 16th does work, both under beta9 and 2.6 nightlies.Csaboka wrote:Well, I clearly remember implementing it, so if it doesn't work, it's a bug, and please report it.animation for stations has not been implemented yet (as of 2.5 beta 9) although the wiki says otherwise (i.e. since 2.5 beta 5).
Code: Select all
// station action 0
[...]
// animation info
16 15 01
// animation speed
17 03
// animation triggers: train enters/leaves
18 18 00
[sprite layout block]
[...]
// assemble animation frames
-1 * 94 02 04 01 81 4A 00 FF 15
04 FF 01 01
...
04 FF 15 15
02 FF
// animation control - check var.18 low byte
-1 * 18 02 04 03 81 18 00 FF 02
FE 80 03 03 // start: train enters
FF 80 04 04 // stop: train leaves
FD 80 // do nothing
[...]
// callbacks
-1 * 23 02 04 21 85 0C 00 FF FF 02
01 00 14 00 14 00 // tile type
03 00 40 01 40 01 // animation control
04 00
-1 * 16 03 04 01 00 03
FF 0D 00
02 21 00
FE 21 00
21 00
Users browsing this forum: No registered users and 11 guests