English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 11 March 2020, 13:22   #1
mateusz_s
Registered User

 
Join Date: Jan 2020
Location: Poland
Posts: 17
Do you know the _ViewPort type?

Hi,
I was looking at the examples of really good c2p Mildred Library, but lots of them have this line that I can't compile:
*ScrVP._ViewPort=0
I just don't know where to find that _ViewPort definition? Is it native BB2 definition? What res should I include for it?
mateusz_s is offline  
Old 11 March 2020, 15:49   #2
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 4,507
ViewPort is a standard Amiga OS struct, so it should be in the amigalibs.res file. However, there are a couple of different versions floating around, some have the underscore before them, some don't. I can't remember exactly what the difference is - I would guess that the underscored ones are newer and are named so they don't clash with the original definitions.
Daedalus is offline  
Old 11 March 2020, 18:20   #3
mateusz_s
Registered User

 
Join Date: Jan 2020
Location: Poland
Posts: 17
Quote:
Originally Posted by Daedalus View Post
ViewPort is a standard Amiga OS struct, so it should be in the amigalibs.res file. However, there are a couple of different versions floating around, some have the underscore before them, some don't. I can't remember exactly what the difference is - I would guess that the underscored ones are newer and are named so they don't clash with the original definitions.
Yes, it works without uderscore "_"
mateusz_s is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
R-type albino Retrogaming General Discussion 24 22 June 2017 14:29
R-Type Jerry project.Maptapper 6 01 July 2013 00:13
R-type capa support.Games 1 14 October 2011 04:00
Which type of Amigian are you? Paul_s Amiga scene 37 06 August 2009 16:11
R-Type 2 sareks support.Games 2 11 October 2005 13:48

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.06032 seconds with 14 queries