[quake3] Tab Completion

Rainer Klaffenboeck rainer.klaffenboeck at inode.at
Sat Feb 17 05:59:06 EST 2007


qcommon/common.c/Field_CompleteCommand()

Have fun,
Hobbes

Jorge Pena wrote:
> Hey do any of you guys know where the tab completion for the /map
> command is handled? I've been searching on and off and haven't found
> anything. Basically I want to take a look at it to incorporate it into
> another command I want to make. I found Field_CompleteCommand, and I
> added my command to that and it seems to correctly 'tab complete' but
> it doesn't do what I want. Basically, I want it to output a list of
> files I have in a directory called /ogg (Or anywhere), like the /map
> command does when you type /map space <TAB>, it lists all the maps,
> pretty much like that, I've been searching and searching but can't
> find anything, I'd really appreciate any help!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://icculus.org/pipermail/quake3/attachments/20070217/2b3ad320/attachment.pgp>


More information about the quake3 mailing list