Re: [hlcoders] Compiling Problems

2009-05-15 Thread Jonas 'Sortie' Termansen
Are you sure you are not declaring it from inside some macro? Because the linker suggest it's defined somewhere, if you can, upload the source code somewhere and link it here. - Original Message - From: Yaakov Smith m4ngr...@gmail.com To: 'Discussion of Half-Life Programming'

[hlcoders] Finding the bound key for a specific command

2009-05-15 Thread Richard Slaughter
Hi List, I'd like to be able to display the key for a current command, e.g. phys_swap, on the HUD. Is it possible to find out what key is currently bound to a command on the client? Thanks! Rich ___ To unsubscribe, edit your list preferences, or

Re: [hlcoders] Finding the bound key for a specific command

2009-05-15 Thread Steve Henderson
Rich, key_listboundkeys http://developer.valvesoftware.com/wiki/Console_Command_List Take care Steve On Fri, May 15, 2009 at 5:11 PM, Richard Slaughter slau...@vault13.co.uk wrote: Hi List, I'd like to be able to display the key for a current command, e.g. phys_swap, on the HUD. Is it

Re: [hlcoders] Finding the bound key for a specific command

2009-05-15 Thread Alexander Hirsch
The ConCommand key_findbinding does that. I'm not sure where it's defined or if it is in the SDK at all. On Fri, May 15, 2009 at 11:11 PM, Richard Slaughter slau...@vault13.co.uk wrote: Hi List, I'd like to be able to display the key for a current command, e.g. phys_swap, on the HUD. Is it

Re: [hlcoders] Finding the bound key for a specific command

2009-05-15 Thread Saul Rennison
Take a look at the *KeyHintText* usermessage. This will display a panel on the HUD with the key and a short message of your choice. 2009/5/15 Richard Slaughter slau...@vault13.co.uk Hi List, I'd like to be able to display the key for a current command, e.g. phys_swap, on the HUD. Is it