61
The Games and other Sierra Adventure stuff / Re: What are we working on?
« on: November 06, 2021, 08:11:32 PM »
Congratulations on that!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
as well as a setting in the control panel to adjust the mature content.If you would like to see how I did that exact thing in The Dating Pool I'll be happy to share the relevant code with you.
(define X an entire snippet of code)
(class Example kindof Object
;"kindof" instead of "of", though "of" was used later on
(properties
; exactly like in Companion, though some versions of SC allow one of two type markers
)
(methods
; list of forward-declared method names
DoAThing
DoAnotherThing
)
(method (DoAThing with &tmp i)
; exactly like in Companion
)
)
; and maybe two or three other little gotchas.
I have no idea why the decompiler thought $0100 should return true in this situation, but I guess that doesn't really matter.Any non-zero value is considered true. Having the actual true being 1 is just convention. So it's not so much that "$0100 returns true", but "if this expression yields a non-zero result, then do this."
I had all devices enabled on channels 0 and 1. (initial voices chan0: 1 chan1: 3)Code: [Select]0x0000 00 01 FF 03 FF 00 00...
Disabling Adlib on chan1, with no other changes alters the 5th byteCode: [Select]0x0000 00 01 FF 03 FB 00 00...
The upper 4 bits of that byte specify how many voices each logical MIDI channel will be playing. The lower 4 bits specify which drivers should react on that channel. Bit 0 set means AdLib shall react. Bit 1 set means PCjr shall react. MT32 will react on all channels. Bit 3 signals the control channel.Not only does that imply AdLib's channelMask is 0x01 (it's 0x04) but I wasn't aware the PCJr was able to run SCI so that's something I'd prefer to take heavily salted.
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.114 seconds with 21 queries.