Inside3D!
     

cs_project in csqc
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
daemon



Joined: 07 Nov 2007
Posts: 62

PostPosted: Tue Jul 29, 2008 8:26 pm    Post subject: Reply with quote

you may also want to use this in CSQC_UpdateView()

Code:

void Video_Init() =
{
   vid_size_x =   cvar("vid_conwidth");
   vid_size_y =   cvar("vid_conheight");
   vid_res_x =   cvar("vid_width");
   vid_res_y =   cvar("vid_height");
}

_________________
-daemon [ daemonforge.org ]
Back to top
View user's profile Send private message Visit poster's website
LordHavoc



Joined: 05 Nov 2004
Posts: 243
Location: western Oregon, USA

PostPosted: Thu Oct 02, 2008 11:28 am    Post subject: Reply with quote

I have fixed cs_project/unproject and setview VF_VIEWPORT (and variations of that) to use screen coordinates as FTEQW does, this affects any csqc using these features.

I also added the optional CSQC_UpdateView width/height parameters in EXT_CSQC_1 from FTEQW

I have not implemented the full EXT_CSQC_1 at this time, as it involves a few more significant pieces of code (for example ReadServerEntityState, which creates csqc entities mimicking all of the standard network entities known to the client, and calls delta_update or delta_remove csqc functions on each one to allow them to override effects and do other things with the standard entities).

I have not made a build with these changes yet.
Back to top
View user's profile Send private message Visit poster's website
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Thu Oct 02, 2008 7:41 pm    Post subject: Reply with quote

Rather than go offtopic, I've created a seperate thread to semi-reply to the last half of LordHavoc's response.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2004 phpBB Group