Philip Searle wrote:

If you're OK with heading into undocumented territory, then you can
disable pretty much any cvar or console command, even ones the engine
has installed.  There's a whole load of function pointers that have been
added to the end of various interfaces in the Half-Life 1 engine (I
posted on this list asking about them a while back).  cl_enginefunc_t
contains two that will return the start of the cvar and console command
linked lists.  Just walk the list until you find the timerefresh command
and replace it's function pointer with your own.

I've uploaded a copy of the updated structures at
http://homepage.ntlworld.com/pr.searle/testns/cdll_int.h
If anyone can throw any light on the functions marked 'unknown', I'd be
grateful too :)

Disclaimer: Don't forget that all these extra functions are undocumented
by Valve and could disappear or fail to work without warning.
--
Philip Searle

I'd rather not use them then. We don't plan on releasing any updates
after 3.0, and I want TS to work with Half-Life forever.

--
Jorge "Vino" Rodriguez


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to