This site is no longer active and is available for archival purposes only. Registration and login is disabled.

SetRenderTarget


SetRenderTarget

Postby webba » Dec 1, 2004 @ 6:22pm

webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Dec 1, 2004 @ 7:31pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby webba » Dec 2, 2004 @ 10:18am

How do we SetRenderTarget to the screen? It used to be NULL. I've tried that and 0 and -1 and (). Am I missing the point? :?
webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Dec 2, 2004 @ 12:37pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby webba » Dec 2, 2004 @ 5:53pm

I've done as you suggested and the app gets a little further. The gameapi inits (the screen goes black for a fraction of a sec) then I get the following message:

Proc: (null)
Opcode: SETRENDERTARGET
Char/Line: 0/0

(MAIN)
Address misaligned at 0x4f468

I'm having some difficulty finding line 0, char 0 to debug this. My brain throws an exception when I try to assign line=0 :oops:

Is there anything else we should know about SETRENDERTARGET?

Would you like me to PM you the source?
webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Dec 2, 2004 @ 6:02pm

Oups, sorry you are still using the old version, I have the latest, my bad, sorry! :cry:

Wait for the newest version, which I will release later today, there was a problem with the setrendertarget that has been fixed.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby webba » Dec 3, 2004 @ 2:39pm

webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Dec 3, 2004 @ 4:13pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby webba » Dec 3, 2004 @ 4:52pm

webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby webba » Dec 3, 2004 @ 5:17pm

Initial findings...

The mainproc routine is not being executed.

I put a G_showmessage into the start of the routine and it made no difference. The same message in the same place on the isodemo, flickered a few times and crashed PPL (I'm not worried about that, I know its an odd place to put a message - I'm just demonstrating that the mainproc is not being executed.)

I've looked at the InitGameAPI call in winmain and it was different to the one in isodemo (you seem to be handling this difference in the gameapi lib)

I tried making it the same as isodemo but that didn't make any difference.

Shall I PM you the code?
webba
pm Member
 
Posts: 70
Joined: Jul 12, 2004 @ 9:55am


Postby kornalius » Dec 3, 2004 @ 6:53pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron