Expanding the range of QL Adventures

Anything QL Software or Programming Related.
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Post by tofro »

Thanks, just tried it on QPC and did a bit of CONTEMPLATEing...

(This is way bigger than the one I ported, but the initial location description (when the mists have vanished) seems identical.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
dilwyn
Mr QL
Posts: 2753
Joined: Wed Dec 01, 2010 10:39 pm

Re: Expanding the range of QL Adventures

Post by dilwyn »

Is there any way to paginate the output? The descriptions just seem to shoot by in Help, Vocab etc


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Post by XorA »

dilwyn wrote:Is there any way to paginate the output? The descriptions just seem to shoot by in Help, Vocab etc
Run it on Q-Emulator at BBQL speed ;-)


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Post by XorA »

I think only two lines are missing each time, is there a way to maximise that window that opens from an exec command?


User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Post by tofro »

"Maximize" is a bit complicated, but "define" is easily possible by declaring a global WINDOWDEF_t structure named _condetails that holds the x, y, w, h definition of the console window.

Code: Select all

WINDOWDEF_t _condetails = {
   2, /* border colour (red) */ 
   0, /* border width */
   0, /* paper (black) */
   7, /* ink (white) */
   512, /* width (pixel) */ 
   256, /* height (pixels) */ 
   0, /* x origin */
   0 /* y origin */
};
Would use the full black boxe's screen (minus the title bar that C68 creates and which you can get rid of as well).

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Post by XorA »

Thanks Tobias that sorted it.

https://www.dropbox.com/s/3drbwgqpvg6t9 ... g.zip?dl=0

for a new version to save filling forum storage up.


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Expanding the range of QL Adventures

Post by RWAP »

Ideally, you need to set the max (without the C68 title bar) to 448x240 so it can all be seen on a TV without being chopped....


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Post by XorA »

RWAP wrote:Ideally, you need to set the max (without the C68 title bar) to 448x240 so it can all be seen on a TV without being chopped....
Well the program itself is bigger than max ram on a BBQL so I wont worry about that.


User avatar
dilwyn
Mr QL
Posts: 2753
Joined: Wed Dec 01, 2010 10:39 pm

Re: Expanding the range of QL Adventures

Post by dilwyn »

XorA's port of the ADV770 version of Adventure or Colossal Cave now available to download zipped from http://www.dilwyn.me.uk/games/adventures/index.html

Remember that the executable aloneis a massive 1.2MB, so it needs a minimum of a Gold Card or an emulator set to 2MB or RAM or more.

Wonder if this takes the title of the largest QL executable so far?


User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Post by tofro »

dilwyn wrote:wonder if this takes the title of the largest QL executable so far?
GS (GhostScript) executable which I think is the previous record holder is a wee bit smaller, but its whole package together with fonts is way bigger overall.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply