coding conventions

Release and discuss things you've made, including mods.
Post Reply
User avatar
Viech
Project Head
Posts: 2139
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: coding conventions

Post by Viech »

I know these prefixes:

[table="width: 500"]
[tr]
[td]g [/td]
[td]game (server side VM)[/td]
[/tr]
[tr]
[td]cg[/td]
[td]c(lient )game (client side VM)[/td]
[/tr]
[tr]
[td]ui[/td]
[td]user interface VM[/td]
[/tr]
[tr]
[td]bg[/td]
[td]both "games" (actually all three VM's: g, cg, ui)[/td]
[/tr]
[tr]
[td]sv[/td]
[td]server[/td]
[/tr]
[tr]
[td]cl[/td]
[td]client[/td]
[/tr]
[tr]
[td]snd[/td]
[td]sound[/td]
[/tr]
[tr]
[td]tr[/td]
[td]renderer (don't know what it stands for, cvar prefix is just »r«)[/td]
[/tr]
[tr]
[td]bot[/td]
[td]I'm not telling[/td]
[/tr]
[/table]

I assume they are used to fake namsepaces.

Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction

User avatar
Ishq
Project Head
Posts: 1145
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: coding conventions

Post by Ishq »

Viech wrote:

I know these prefixes:

[table="width: 500"]
[tr]
[td]bot[/td]
[td]I'm not telling[/td]
[/tr]
[/table]

Ugh! I can't figure it out!

Post Reply