Quake 2 Oop Conversion Project - Source Diff 3.14 vs Ctf 1.02 - g_cmds.c
diff -s -r q2_314/g_cmds.c q2_314_ctf/g_cmds.c

Left File < - 3.14 : g_cmds.c
Right File > - Ctf 1.02 : g_cmds.c
Back to Index
54a55,64
> //ZOID
> if (cl->menu) {
> PMenu_Next(ent);
> return;
> } else if (cl->chase_target) {
> ChaseNext(ent);
> return;
> }
> //ZOID
>
81a92,101
> //ZOID
> if (cl->menu) {
> PMenu_Prev(ent);
> return;
> } else if (cl->chase_target) {
> ChasePrev(ent);
> return;
> }
> //ZOID
>
408a429,435
> //ZOID--special case for tech powerups
> if (Q_stricmp(gi.args(), "tech") == 0 && (it = CTFWhat_Tech(ent)) != NULL) {
> it->drop (ent, it);
> return;
> }
> //ZOID
>
446a474,481
> //ZOID
> if (ent->client->menu) {
> PMenu_Close(ent);
> ent->client->update_chase = true;
> return;
> }
> //ZOID
>
452a488,494
> //ZOID
> if (ctf->value && cl->resp.ctf_team == CTF_NOTEAM) {
> CTFOpenJoinMenu(ent);
> return;
> }
> //ZOID
>
471a514,520
> //ZOID
> if (ent->client->menu) {
> PMenu_Select(ent);
> return;
> }
> //ZOID
>
488a538,556
> //ZOID
> /*
> =================
> Cmd_LastWeap_f
> =================
> */
> void Cmd_LastWeap_f (edict_t *ent)
> {
> gclient_t *cl;
>
> cl = ent->client;
>
> if (!cl->pers.weapon || !cl->pers.lastweapon)
> return;
>
> cl->pers.lastweapon->use (ent, cl->pers.lastweapon);
> }
> //ZOID
>
620a689,693
> //ZOID
> if (ent->solid == SOLID_NOT)
> return;
> //ZOID
>
641a715,719
> //ZOID
> if (ent->client->menu)
> PMenu_Close(ent);
> ent->client->update_chase = true;
> //ZOID
846c924
< if (Q_stricmp (cmd, "say_team") == 0)
---
> if (Q_stricmp (cmd, "say_team") == 0 || Q_stricmp (cmd, "steam") == 0)
848c926
< Cmd_Say_f (ent, true, false);
---
> CTFSay_Team(ent, gi.args());
906a985,992
> //ZOID
> else if (Q_stricmp (cmd, "team") == 0)
> {
> CTFTeam_f (ent);
> } else if (Q_stricmp(cmd, "id") == 0) {
> CTFID_f (ent);
> }
> //ZOID