Home
last modified time | relevance | path

Searched refs:gamemode (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/
H A Dprotocol.h115 #define m_lms (gamemode==3 || gamemode==4 || gamemode==20)
116 #define m_ctf (gamemode==5)
117 #define m_pistol (gamemode==6 || gamemode==16 || gamemode==18)
118 #define m_lss (gamemode==9 || gamemode==17 || gamemode==19)
119 #define m_osok ((gamemode>=10 && gamemode<=12) || gamemode==21)
120 #define m_htf (gamemode==13)
121 #define m_ktf (gamemode==14 || gamemode==15)
129gamemode==0 || gamemode==4 || gamemode==5 || gamemode==7 || gamemode==11 || gamemode==13 || gamemo…
131 #define m_botmode (gamemode==7 || gamemode == 8 || gamemode==12 || (gamemode>=18 && gamemode<=2…
134 #define m_demo (gamemode==-1)
[all …]
/dports/games/bloodfrontier/bloodfrontier/src/game/
H A Dscoreboard.h95 else if(m_fight(game::gamemode) && !m_trial(game::gamemode))
99 if(m_fight(game::gamemode) && m_team(game::gamemode, game::mutators))
167 if(m_stf(game::gamemode)) in sortteams()
184 else if(!m_stf(game::gamemode) && !m_ctf(game::gamemode)) ts->score += o->points; in sortteams()
227 if(team && !m_stf(game::gamemode) && !m_ctf(game::gamemode)) g.score += o->points; in groupplayers()
292 …if(delay || m_story(game::gamemode) || (m_trial(game::gamemode) && !game::player1->lastdeath) || m… in gui()
387 if(sg.team && m_fight(game::gamemode) && m_team(game::gamemode, game::mutators)) in gui()
414 if(sg.team && m_fight(game::gamemode) && m_team(game::gamemode, game::mutators)) in gui()
518 if(sg.team && m_fight(game::gamemode) && m_team(game::gamemode, game::mutators)) in gui()
576 if(!m_fight(game::gamemode) || m_trial(game::gamemode)) return 0; in drawinventory()
[all …]
H A Dduelmut.h21 …if(m_survivor(gamemode, mutators)) srvmsgf(ci->clientnum, "\fayou are \fs\fgqueued\fS for the next… in position()
24 …if(m_team(gamemode, mutators) || n > 1) srvmsgf(ci->clientnum, "\fayou are \fs\fg#%d\fS in the que… in position()
74 if(!m_noitems(gamemode, mutators)) in clearitems()
78 if(m_arena(gamemode, mutators) && sents[i].type == WEAPON && sents[i].attrs[0] != WEAP_GRENADE) in clearitems()
135 if(m_survivor(gamemode, mutators) || GVAR(duelclear)) clearitems(); in update()
139 if(m_duel(gamemode, mutators) && alive.length() >= 2) break; in update()
144 if(ci->state.aitype < AI_START && m_duel(gamemode, mutators) && m_team(gamemode, mutators)) in update()
154 ci->state.health = m_health(gamemode, mutators); in update()
166 if(m_duel(gamemode, mutators)) in update()
173 else if(m_survivor(gamemode, mutators)) in update()
[all …]
H A Daiman.h202 … && (sents[i].attrs[4] == triggerid || !sents[i].attrs[4]) && m_check(sents[i].attrs[3], gamemode)) in checksetup()
209 if(m_story(gamemode)) balance = nplayers; // story mode strictly obeys nplayers in checksetup()
210 else if(m_fight(gamemode) && !m_trial(gamemode) && GVAR(botlimit) > 0) in checksetup()
212 int numt = numteams(gamemode, mutators), people = numclients(-1, true, -1); in checksetup()
215 …case -1: balance = max(people, m_duel(gamemode, mutators) ? 2 : nplayers); break; // use distribut… in checksetup()
217 …default: balance = max(people, m_duel(gamemode, mutators) ? 2 : GVAR(botbalance)); break; // balan… in checksetup()
219 if(m_team(gamemode, mutators) && (balance > 0 || GVAR(teambalance) == 3)) in checksetup()
248 if(m_team(gamemode, mutators)) balance -= balance%numt; in checksetup()
270 if(!m_demo(gamemode) && !m_lobby(gamemode) && numclients()) in checkai()
288 if(m_lobby(gamemode) || m_story(gamemode)) sendf(ci->clientnum, 1, "ri", SV_NEWGAME); in reqadd()
[all …]
H A Dextinfo.h57 putint(p, m_fight(gamemode) && m_team(gamemode, mutators) ? 0 : 1); in extinfoteams()
58 putint(p, gamemode); in extinfoteams()
60 if(!m_team(gamemode, mutators) || !m_fight(gamemode)) return; in extinfoteams()
65 if(m_stf(gamemode)) in extinfoteams()
75 else if(m_ctf(gamemode)) in extinfoteams()
102 if(m_stf(gamemode)) in extinfoteams()
H A Dserver.cpp691 if(m_fight(gamemode)) in checklimits()
693 if(m_trial(gamemode)) in checklimits()
730 if(GVAR(fraglimit) && !m_ctf(gamemode) && !m_stf(gamemode) && !m_trial(gamemode)) in checklimits()
883 if(m_fight(gamemode) && m_team(gamemode, mutators)) in setupspawns()
935 if(m_fight(gamemode) && m_team(gamemode, mutators)) in setupspawns()
948 if((m_story(gamemode) || m_trial(gamemode) || m_lobby(gamemode)) && !ci->state.cpnodes.empty()) in pickspawn()
1001 …setupspawns(true, m_trial(gamemode) || m_lobby(gamemode) ? 0 : (m_story(gamemode) ? GVAR(storyplay… in setupgameinfo()
1228 if(m_demo(gamemode) || m_edit(gamemode)) return; in setupdemorecord()
1612 gamemode = mode; mutators = muts; changemode(&gamemode, &mutators); in changemap()
2034 putint(p, gamemode); in welcomepacket()
[all …]
/dports/games/xonotic/Xonotic/source/qcsrc/common/gamemodes/gamemode/onslaught/
H A D_mod.inc2 #include <common/gamemodes/gamemode/onslaught/controlpoint.qc>
4 #include <common/gamemodes/gamemode/onslaught/cl_controlpoint.qc>
7 #include <common/gamemodes/gamemode/onslaught/sv_controlpoint.qc>
9 #include <common/gamemodes/gamemode/onslaught/generator.qc>
11 #include <common/gamemodes/gamemode/onslaught/cl_generator.qc>
14 #include <common/gamemodes/gamemode/onslaught/sv_generator.qc>
16 #include <common/gamemodes/gamemode/onslaught/onslaught.qc>
18 #include <common/gamemodes/gamemode/onslaught/sv_onslaught.qc>
H A D_mod.qh2 #include <common/gamemodes/gamemode/onslaught/controlpoint.qh>
4 #include <common/gamemodes/gamemode/onslaught/cl_controlpoint.qh>
7 #include <common/gamemodes/gamemode/onslaught/sv_controlpoint.qh>
9 #include <common/gamemodes/gamemode/onslaught/generator.qh>
11 #include <common/gamemodes/gamemode/onslaught/cl_generator.qh>
14 #include <common/gamemodes/gamemode/onslaught/sv_generator.qh>
16 #include <common/gamemodes/gamemode/onslaught/onslaught.qh>
18 #include <common/gamemodes/gamemode/onslaught/sv_onslaught.qh>
/dports/games/redeclipse16/base-1.6.0/src/game/
H A Dbombermode.h40 if(m_team(gamemode, mutators)) in spawned()
60 … if(v && m_bb_hold(gamemode, mutators) && (!m_team(gamemode, mutators) || ci->team != v->team)) in died()
104 if(m_bb_attack(gamemode, mutators) && G(bomberattackwinner) && !m_multi(gamemode, mutators)) in scorebomb()
106 int numt = numteams(gamemode, mutators); in scorebomb()
133 …if(m_bb_hold(gamemode, mutators) || (G(bomberbasketonly) && m_bb_basket(gamemode, mutators))) retu… in moved()
201 …int wants = m_bb_hold(gamemode, mutators) ? 1 : (m_bb_attack(gamemode, mutators) ? 2 : teamcount(g… in update()
221 changemap(smapname, gamemode, muts); in update()
242 if(m_bb_hold(gamemode, mutators) && t > 0) in update()
249 if(m_team(gamemode, mutators)) in update()
264 if(m_team(gamemode, mutators)) in update()
[all …]
H A Dduelmut.h10 #define DSGS(x) DSG(gamemode, mutators, x)
41 if(m_survivor(gamemode, mutators)) ci->queuepos = -1; in position()
159 if(!m_affinity(gamemode) || dueltime >= 0 || duelround <= 0) return; in scoreaffinity()
195 …if(m_duel(gamemode, mutators) && G(duelcycle)&(m_team(gamemode, mutators) ? 2 : 1) && duelwinner >… in clear()
204 if(numplrs > (m_team(gamemode, mutators) ? 1 : 2)) in clear()
242 int wants = max(numteams(gamemode, mutators), 2); in update()
276 if(m_duel(gamemode, mutators) && m_team(gamemode, mutators)) in update()
291 if(m_duel(gamemode, mutators)) in update()
346 if(m_survivor(gamemode, mutators) && m_team(gamemode, mutators) && !alive.empty()) in update()
366 if(!m_affinity(gamemode)) in update()
[all …]
H A Dscoreboard.cpp93 if(m_laptime(game::gamemode, game::mutators)) in playersort()
100 if(!m_race(game::gamemode)) in playersort()
115 if(m_laptime(game::gamemode, game::mutators)) in scoregroupcmp()
144 … int team = m_play(game::gamemode) && m_team(game::gamemode, game::mutators) ? o->team : T_NEUTRAL; in groupplayers()
189 if(m_play(game::gamemode) && m_play(game::gamemode) && interm) in showscores()
194 if(m_team(game::gamemode, game::mutators)) in showscores()
359 … if(delay || m_duke(game::gamemode, game::mutators) || (m_play(game::gamemode) && maxalive > 0)) in renderscoreboard()
385 … if(m_play(game::gamemode) && m_team(game::gamemode, game::mutators)) in renderscoreboard()
835 if(m_laptime(game::gamemode, game::mutators)) in drawscoreitem()
856 if(m_play(game::gamemode) && m_team(game::gamemode, game::mutators)) in drawscore()
[all …]
H A Dcapture.h2 #define capturedelay (m_ctf_defend(gamemode, mutators) ? G(capturedefenddelay) : G(captureresetdela…
3gamemode, mutators) ? 1 : 0)|(m_ctf_defend(gamemode, mutators) ? 2 : 0)|(m_ctf_protect(gamemode, m…
6 #define capturedelay (m_ctf_defend(game::gamemode, game::mutators) ? G(capturedefenddelay) : G(capt…
7gamemode, game::mutators) ? 1 : 0)|(m_ctf_defend(game::gamemode, game::mutators) ? 2 : 0)|(m_ctf_p…
H A Daiman.h34 if(m_coop(gamemode, mutators))
47 if(m_coop(gamemode, mutators))
273 if(m_coop(gamemode, mutators)) in checksetup()
279 else if(m_bots(gamemode) && blimit > 0) in checksetup()
281 int bb = m_botbal(gamemode, mutators); in checksetup()
290 if(balance > 0 && m_team(gamemode, mutators)) in checksetup()
334 if(m_onslaught(gamemode, mutators)) in checkenemies()
377 if(!m_demo(gamemode) && numclients()) in checkai()
384 if(m_onslaught(gamemode, mutators)) in checkai()
389 if(m_coop(gamemode, mutators)) in checkai()
[all …]
H A Dserver.cpp258 extern int gamemode, mutators;
1790 …else if(m_race(gamemode) && !m_ra_timed(gamemode, mutators) && !m_ra_gauntlet(gamemode, mutators))… in checklimits()
2137 if(m_play(gamemode) && m_team(gamemode, mutators)) in setupspawns()
2163 if(m_duel(gamemode, mutators) && !m_team(gamemode, mutators)) in pickspawn()
2169 …else if(m_play(gamemode) && m_team(gamemode, mutators) && (!m_race(gamemode) || m_ra_gauntlet(game… in pickspawn()
2549 if(m_demo(gamemode) || m_edit(gamemode)) return; in setupdemorecord()
2561 hdr.gamemode = gamemode; in setupdemorecord()
2849 if(team && m_team(gamemode, mutators) && m_dm(gamemode)) in givepoints()
3430 bool hastime = m_play(gamemode) && m_mmvar(gamemode, mutators, timelimit); in changemap()
3957 putint(p, gamemode); in welcomepacket()
[all …]
/dports/games/redeclipse/base-2.0.0/src/game/
H A Dbombermode.h42 if(m_team(gamemode, mutators)) in spawned()
44 int alive[T_MAX] = {0}, numt = numteams(gamemode, mutators); in spawned()
62 … if(v && m_bb_hold(gamemode, mutators) && (!m_team(gamemode, mutators) || ci->team != v->team)) in died()
108 int numt = numteams(gamemode, mutators); in scorebomb()
135 …if(m_bb_hold(gamemode, mutators) || (G(bomberbasketonly) && m_bb_basket(gamemode, mutators))) retu… in moved()
203 …int wants = m_bb_hold(gamemode, mutators) ? 1 : (m_bb_assault(gamemode, mutators) ? 2 : teamcount( in update()
223 changemap(smapname, gamemode, muts); in update()
244 if(m_bb_hold(gamemode, mutators) && t > 0) in update()
251 if(m_team(gamemode, mutators)) in update()
266 if(m_team(gamemode, mutators)) in update()
[all …]
H A Dduelmut.h10 #define DSGS(x) DSG(gamemode, mutators, x)
43 if(m_survivor(gamemode, mutators)) ci->queuepos = -1; in position()
177 if(!m_affinity(gamemode) || dueltime >= 0 || duelround <= 0) return; in scoreaffinity()
213 …if(m_duel(gamemode, mutators) && G(duelcycle)&(m_team(gamemode, mutators) ? 2 : 1) && duelwinner >… in clear()
222 if(numplrs > (m_team(gamemode, mutators) ? 1 : 2)) in clear()
260 int wants = max(numteams(gamemode, mutators), 2); in update()
310 if(m_duel(gamemode, mutators) && m_team(gamemode, mutators)) in update()
325 if(m_duel(gamemode, mutators)) in update()
379 if(m_survivor(gamemode, mutators) && m_team(gamemode, mutators) && !alive.empty()) in update()
400 if(!m_affinity(gamemode)) in update()
[all …]
H A Dcapture.h2 #define capturedelay (m_ctf_defend(gamemode, mutators) ? G(capturedefenddelay) : G(captureresetdela…
3gamemode, mutators) ? 1 : 0)|(m_ctf_defend(gamemode, mutators) ? 2 : 0)|(m_ctf_protect(gamemode, m…
6 #define capturedelay (m_ctf_defend(game::gamemode, game::mutators) ? G(capturedefenddelay) : G(capt…
7gamemode, game::mutators) ? 1 : 0)|(m_ctf_defend(game::gamemode, game::mutators) ? 2 : 0)|(m_ctf_p…
H A Dserver.cpp265 extern int gamemode, mutators;
1855 …else if(m_race(gamemode) && m_ra_lapped(gamemode, mutators) && !m_ra_gauntlet(gamemode, mutators))… in checklimits()
2097 if(m_race(gamemode)) in setupspawns()
2224 …if(m_race(gamemode) && !ci->cpnodes.empty() && !m_ra_endurance(gamemode, mutators) && (!m_ra_gaunt… in pickspawn()
2629 if(m_demo(gamemode) || m_edit(gamemode)) return; in setupdemorecord()
2641 hdr.gamemode = gamemode; in setupdemorecord()
2895 if(team && m_team(gamemode, mutators) && m_dm(gamemode)) in givepoints()
3210 if(m_edit(gamemode)) in hasmapdata()
3488 bool hastime = m_play(gamemode) && m_mmvar(gamemode, mutators, timelimit); in changemap()
4043 putint(p, gamemode); in welcomepacket()
[all …]
H A Daiman.h34 if(m_coop(gamemode, mutators))
65 if(m_coop(gamemode, mutators)) BOTSKILL(coop) in getskillrange()
271 if(m_coop(gamemode, mutators)) in checksetup()
277 else if(m_bots(gamemode) && blimit > 0) in checksetup()
279 int bb = m_botbal(gamemode, mutators); in checksetup()
288 if(balance > 0 && m_team(gamemode, mutators)) in checksetup()
333 if(m_onslaught(gamemode, mutators)) in checkenemies()
381 if(!m_demo(gamemode) && numclients()) in checkai()
388 if(m_onslaught(gamemode, mutators)) in checkai()
393 if(m_coop(gamemode, mutators)) in checkai()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/tools/savegametool/src/
H A Dnativetranslator.cpp186 String translateGamemode(int gamemode) in DENG2_PIMPL()
220 …DENG2_ASSERT(gamemode >= 0 && (unsigned)gamemode < sizeof(oldGamemodes) / sizeof(oldGamemodes[0])); in DENG2_PIMPL()
221 gamemode = oldGamemodes[gamemode]; in DENG2_PIMPL()
225 if (gamemode == 4 /*doom2*/) in DENG2_PIMPL()
242 …DENG2_ASSERT(gamemode >= 0 && (unsigned)gamemode < sizeof(oldGamemodes) / sizeof(oldGamemodes[0])); in DENG2_PIMPL()
243 gamemode = oldGamemodes[gamemode]; in DENG2_PIMPL()
249 …DENG2_ASSERT(gamemode >= 0 && (unsigned)gamemode < sizeof(doomGameIdentityKeys) / sizeof(doomGa… in DENG2_PIMPL()
250 return doomGameIdentityKeys[gamemode]; in DENG2_PIMPL()
253 …DENG2_ASSERT(gamemode >= 0 && (unsigned)gamemode < sizeof(hereticGameIdentityKeys) / sizeof(hereti… in DENG2_PIMPL()
257 …DENG2_ASSERT(gamemode >= 0 && (unsigned)gamemode < sizeof(hexenGameIdentityKeys) / sizeof(hexenG… in DENG2_PIMPL()
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dd_main.c684 if ( gamemode == commercial ) in D_DoAdvanceDemo()
690 if ( gamemode == commercial ) in D_DoAdvanceDemo()
708 if ( gamemode == commercial) in D_DoAdvanceDemo()
934 gamemode = retail; in D_IdentifyVersion()
942 gamemode = shareware; in D_IdentifyVersion()
950 gamemode = commercial; in D_IdentifyVersion()
1183 else if (gamemode == shareware || gamemode == registered in InitGameVersion()
1257 gamemode = registered; in InitGameVersion()
1910 if (gamemode == retail && in D_DoomMain()
1992 if ( gamemode == shareware) in D_DoomMain()
[all …]
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dd_main.c549 if ( gamemode == commercial ) in D_DoAdvanceDemo()
555 if ( gamemode == commercial ) in D_DoAdvanceDemo()
573 if ( gamemode == commercial) in D_DoAdvanceDemo()
792 gamemode = retail; in D_IdentifyVersion()
796 gamemode = registered; in D_IdentifyVersion()
800 gamemode = shareware; in D_IdentifyVersion()
808 gamemode = commercial; in D_IdentifyVersion()
1029 else if (gamemode == shareware || gamemode == registered in InitGameVersion()
1090 gamemode = registered; in InitGameVersion()
1630 if ( gamemode == shareware) in D_DoomMain()
[all …]
/dports/games/cube/cube_source/src/
H A Dcube.h202 extern int gamemode, nextmode;
231 #define m_noitems (gamemode>=4)
232 #define m_noitemsrail (gamemode<=5)
233 #define m_arena (gamemode>=8)
234 #define m_tarena (gamemode>=10)
235 #define m_teammode (gamemode&1 && gamemode>2)
236 #define m_sp (gamemode<0)
237 #define m_dmsp (gamemode==-1)
238 #define m_classicsp (gamemode==-2)
/dports/games/sauerbraten/sauerbraten/src/fpsgame/
H A Dgame.h139 #define m_noitems (m_check(gamemode, M_NOITEMS))
141 #define m_insta (m_check(gamemode, M_INSTA))
142 #define m_tactics (m_check(gamemode, M_TACTICS))
147 #define m_ctf (m_check(gamemode, M_CTF))
152 #define m_teammode (m_check(gamemode, M_TEAM))
155 #define m_demo (m_check(gamemode, M_DEMO))
156 #define m_edit (m_check(gamemode, M_EDIT))
157 #define m_lobby (m_check(gamemode, M_LOBBY))
163 #define m_dmsp (m_check(gamemode, M_DMSP))
450 void spawnstate(int gamemode) in spawnstate()
[all …]
/dports/games/prboom/prboom-2.5.0/src/
H A Dm_cheat.c277 if (gamemode == commercial)
362 if (!(((i == wp_plasma || i == wp_bfg) && gamemode == shareware) || in cheat_fa()
363 (i == wp_supershotgun && gamemode != commercial))) in cheat_fa()
367 if (i!=am_cell || gamemode!=shareware) in cheat_fa()
425 if (gamemode == commercial) in cheat_clev()
438 (gamemode == retail && (epsd > 4 || map > 9 )) || in cheat_clev()
439 (gamemode == registered && (epsd > 3 || map > 9 )) || in cheat_clev()
440 (gamemode == shareware && (epsd > 1 || map > 9 )) || in cheat_clev()
598 plyr->message = gamemode==commercial ? // killough 2/28/98 in cheat_tntweap()
607 if ((w==wp_supershotgun && gamemode!=commercial) || // killough 2/28/98
[all …]

12345678910>>...27