Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/31/25 09:57
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 6,599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
check_view() #350775
12/19/10 00:46
12/19/10 00:46
Joined: Dec 2008
Posts: 271
Saturnus Offline OP
Member
Saturnus  Offline OP
Member

Joined: Dec 2008
Posts: 271
I'm not sure whether this is a bug or not. If it isn't, the manual should make one aware of this behaviour:

check_view() crashes when it gets called in the first or second frame. From the third frame on it works without crashing. Occurs in both 8.10 and 7.86.

Example:
Code:
#include <acknex.h>

void main () {
	level_load(NULL);
	//wait(2);
	view_check(camera,vector(-1,-1,-1),vector(1,1,1));
}



Re: check_view() [Re: Saturnus] #350913
12/20/10 10:13
12/20/10 10:13
Joined: Jul 2000
Posts: 28,044
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,044
Frankfurt
You're right - the crash is a bug, a message should appear instead. view_check requires the video device to be opened and at least one frame to be rendered. This will be mentioned in the manual and the crash will be caught.


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1