Recent Posts

Pages: [1] 2 3 ... 10
1
I don't know if this has been asked but would it be possible to get code folding in the text editor? It's beyond my understand about how hard it would be to code but I would imagine could be tied into the lexing for syntax highlighting etc?

Another nice to have would be renaming/refactoring. Especially when working on decompiled code from official games. I've been using Notepad++ to "Replace in files" but it's not perfect.
2
Anyone know what these do? According to the SCI Companion source code they are only used in KQ1SCI and Colonels Bequest? Which pics?

I have been trying to update the pic resource format specs on the Wiki. It seems that SCUMMVM, FreeSCI, SCI Studio and SCI Companion all ignore these operations.

Most docs describe them as PIC_OPX_MONO1 etc...

0x03 (MONO1) has 41 parameters. It makes me wonder if it's a palette operation?

Or perhaps they were just placeholders for commands never implemented?

Has anyone taken the time to investigate what they are?
3
2. As far as I know you can't change the title bar colour in SCI0. DrawStatus is a Kernel Function.
But the status bar is white. Title bars would be the things on top of windows, and those are gray in SCI0.

Even though DrawStatus would only take color arguments in the VGA terps, and the window drawer would switch to black (can't guarantee #8 is dark gray any more), both of these things can be custom-drawn.

Cool, I'll have a look - still not sure how to read the script files of genuine Sierra games, is there another piece of software I'm missing?
A plain text editor?

I can verify that the ability for DrawStatus to take color arguments was added in 11/30/1990, per the Run-Time System Changes document. I tested this in my SCI01 template (which uses Seasoned Professional EGA's interpreter), and it works.

Now I know why the title bar color was changed from grey to black.
4
Awesome, so much good advice here! That vanishing point thing is surprisingly simple and cool - I had no idea the concept of a vanishing point would be used in those games!
Thanks, everyone for your help!
5
Cool, I'll have a look - still not sure how to read the script files of genuine Sierra games, is there another piece of software I'm missing?

You can decompile them using SCI Companion from the script menu. The product is mostly readable code (some procedures and variables etc are unnamed).
6
And of course a vanishingX 160 Y -30000, which is the default, is so ridiculously far away that walking up or down gives an effectively straight vertical line.

Fun fact: the SCI0 template has a default vanishingY of 35536, but this is just -30000 with too many (ignored) bits.
7
1 - In certain rooms up and down arrow will result in diagonal movement. Codename: Iceman has this in one or two of the beach rooms at the beginning. it's subtle, but saves a lot of up-left-up-left movement to get through a narrow 45 degree angle path.

In the Rm properties, assign values to vanishingX and vanishingY. They indicate where the vanishing point (https://en.wikipedia.org/wiki/Vanishing_point) of the room is. Pressing up will make the player walk towards the vanishing point, pressing down will make them walk away from it. (Assuming it's all hooked up properly in the SCI0 template - not sure it is because it was based off LSL3, which maybe didn't use this feature.)

Typical values might be
Code: [Select]
vanishingX 160 ; right in the middle
vanishingY -200 ; 200 pixels above the top of the screen

You could probably make the player walk at close to 45 degrees if you placed it way off to the side, like I dunno, (-1000, 1160) or something.
8
The Games and other Sierra Adventure stuff / Re: SCI Tetris
« Last post by OmerMor on Yesterday at 02:20:57 PM »
Cool!
9
The Games and other Sierra Adventure stuff / Re: SCI Tetris
« Last post by Doan Sephim on Yesterday at 09:19:58 AM »
Very cool! I look forward to giving this a go!
10
But the status bar is white. Title bars would be the things on top of windows, and those are gray in SCI0.

Oops I had a brain fart there. Yeah you can change dialog window title colours. Brian's tutorial has a section on how to do it. In SCI0 you can't change the status bar.
Pages: [1] 2 3 ... 10

SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.108 seconds with 18 queries.