Expanding the range of QL Adventures

Anything QL Software or Programming Related.
User avatar
tofro
QL Wafer Drive
Posts: 1289
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Postby tofro » Tue Feb 21, 2017 3:53 pm

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


User avatar
dilwyn
Mr QL
Posts: 1245
Joined: Wed Dec 01, 2010 10:39 pm
Location: Wales
Contact:

Re: Expanding the range of QL Adventures

Postby dilwyn » Tue Feb 21, 2017 6:09 pm

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


Dilwyn
All things QL: see www.dilwyn.me.uk
User avatar
XorA
Gold Card
Posts: 441
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Postby XorA » Tue Feb 21, 2017 6:24 pm

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
Gold Card
Posts: 441
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Postby XorA » Tue Feb 21, 2017 6:43 pm

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
QL Wafer Drive
Posts: 1289
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Postby tofro » Tue Feb 21, 2017 7:02 pm

"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


User avatar
XorA
Gold Card
Posts: 441
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Postby XorA » Tue Feb 21, 2017 7:26 pm

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: 2291
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Expanding the range of QL Adventures

Postby RWAP » Tue Feb 21, 2017 9:09 pm

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
Gold Card
Posts: 441
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Expanding the range of QL Adventures

Postby XorA » Tue Feb 21, 2017 10:43 pm

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: 1245
Joined: Wed Dec 01, 2010 10:39 pm
Location: Wales
Contact:

Re: Expanding the range of QL Adventures

Postby dilwyn » Tue Feb 21, 2017 11:22 pm

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?


Dilwyn
All things QL: see www.dilwyn.me.uk
User avatar
tofro
QL Wafer Drive
Posts: 1289
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Expanding the range of QL Adventures

Postby tofro » Tue Feb 21, 2017 11:26 pm

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



Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 3 guests