View previous topic :: View next topic |
Author |
Message |
daemon

Joined: 07 Nov 2007 Posts: 62
|
Posted: Tue Jul 29, 2008 8:26 pm Post subject: |
|
|
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 |
|
 |
LordHavoc
Joined: 05 Nov 2004 Posts: 243 Location: western Oregon, USA
|
Posted: Thu Oct 02, 2008 11:28 am Post subject: |
|
|
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 |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Thu Oct 02, 2008 7:41 pm Post subject: |
|
|
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 |
|
 |
|