Home
last modified time | relevance | path

Searched refs:MAXVOLUMES (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dglobal.cpp36 char g_volumeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
41 char g_volumeNames[MAXVOLUMES][33];
47 int32_t g_volumeFlags[MAXVOLUMES];
H A Dduke3d.h72 #define MAXVOLUMES 7 macro
77 MUS_FIRST_SPECIAL = MAXVOLUMES*MAXLEVELS,
H A Dglobal.h139 G_EXTERN map_t g_mapInfo[(MAXVOLUMES + 1) * MAXLEVELS]; // +1 volume for "intro", "briefing" and "…
175 extern char g_volumeNames[MAXVOLUMES][33];
197 extern int32_t g_volumeFlags[MAXVOLUMES];
H A Dgame.h283 #define USERMAPMUSICFAKEVOLUME MAXVOLUMES
560 return (MAXVOLUMES * MAXLEVELS) + lev; in G_GetMusicIdx()
562 if ((unsigned)--ep >= MAXVOLUMES) in G_GetMusicIdx()
H A Dgamedef.cpp2105 Bassert((unsigned)volumeNum < MAXVOLUMES+1); in C_DefineMusic()
2120 Bassert((unsigned)vol < MAXVOLUMES); in C_DefineVolumeFlags()
2127 Bassert((unsigned)vol < MAXVOLUMES); in C_UndefineVolume()
2135 for (bssize_t i = MAXVOLUMES-1; i >= 0; i--) in C_UndefineVolume()
2164 Bassert((unsigned)vol < MAXVOLUMES); in C_UndefineLevel()
2856 k = MAXVOLUMES; in C_ParseCommand()
5192 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
5236 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
5257 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
5295 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
[all …]
H A Dgamevars.cpp233 uint8_t savedStateMap[(MAXVOLUMES * MAXLEVELS + 7) >> 3] = {}; in Gv_ReadSave()
239 for (native_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_ReadSave()
450 uint8_t savedStateMap[(MAXVOLUMES * MAXLEVELS + 7) >> 3] = {}; in Gv_WriteSave()
453 for (native_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_WriteSave()
485 for (native_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_WriteSave()
H A Dcmdline.cpp759 ud.m_volume_number = ud.volume_number = ((unsigned) (Batoi(c)-1))%MAXVOLUMES; in G_CheckCommandLine()
H A Dpremap.cpp1447 for (int i=0; i < (MAXVOLUMES*MAXLEVELS); i++) in G_NewGame()
1835 for (bssize_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in G_CheckIfStateless()
H A Dmenus.cpp398 static MenuEntry_t ME_EPISODE[MAXVOLUMES];
401 static MenuEntry_t *MEL_EPISODE[MAXVOLUMES+2]; // +2 for spacer and User Map
1395 static char const *MEOSN_NetEpisodes[MAXVOLUMES+1];
1396 static int32_t MEOSV_NetEpisodes[MAXVOLUMES+1];
1397 static char const *MEOSN_NetLevels[MAXVOLUMES][MAXLEVELS];
1417 static MenuOptionSet_t MEOS_NETOPTIONS_LEVEL[MAXVOLUMES];
1854 MEOSV_NetEpisodes[k] = MAXVOLUMES; in Menu_Init()
2325 if (MEOSV_NetEpisodes[MEO_NETOPTIONS_EPISODE.currentOption] == MAXVOLUMES) in Menu_Pre()
H A Dgameexec.cpp1113 if ((unsigned)volumeNum <= MAXVOLUMES && (unsigned)levelNum < MAXLEVELS)
3941 … VM_ASSERT((unsigned)ud.volume_number < MAXVOLUMES, "invalid volume %d\n", ud.volume_number);
4044 …VM_ASSERT((unsigned)volumeNum < MAXVOLUMES && (unsigned)levelNum < MAXLEVELS, "invalid parameters:…
5100 … VM_ASSERT((unsigned)levelNum < MAXVOLUMES * MAXLEVELS, "invalid map number %d\n", levelNum);
6078 G_StartTrackSlotWrap(volumeNum == -1 ? MAXVOLUMES : volumeNum, levelNum);
6093 if (!G_StartTrackSlotWrap(volumeNum == -1 ? MAXVOLUMES : volumeNum, levelNum))
H A Dsavegame.cpp514 for (int i=0; i < (MAXVOLUMES*MAXLEVELS); i++) in G_LoadPlayer()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dduke3d.h65 #define MAXVOLUMES 7 macro
70 MUS_FIRST_SPECIAL = MAXVOLUMES*MAXLEVELS,
H A Dglobal.cpp35 char g_volumeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
40 int32_t g_volumeFlags[MAXVOLUMES];
H A Dglobal.h229 G_EXTERN map_t g_mapInfo[(MAXVOLUMES + 1) * MAXLEVELS]; // +1 volume for "intro", "briefing" and "…
270 extern char g_volumeNames[MAXVOLUMES][33];
293 extern int32_t g_volumeFlags[MAXVOLUMES];
H A Dgamevars.cpp126 uint8_t savedstate[MAXVOLUMES*MAXLEVELS]; in Gv_ReadSave()
131 for (bssize_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_ReadSave()
186 uint8_t savedstate[MAXVOLUMES * MAXLEVELS]; in Gv_WriteSave()
189 for (bssize_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_WriteSave()
195 for (bssize_t i = 0; i < (MAXVOLUMES * MAXLEVELS); i++) in Gv_WriteSave()
H A Dgamedef.cpp1065 Bassert((unsigned)volumeNum < MAXVOLUMES+1); in C_DefineMusic()
1077 Bassert((unsigned)vol < MAXVOLUMES); in C_DefineVolumeFlags()
1512 k = MAXVOLUMES; in C_ParseCommand()
1514 … if (EDUKE32_PREDICT_FALSE((unsigned)k >= MAXVOLUMES+1)) // if it's not background or special music in C_ParseCommand()
1519 g_scriptFileName, g_lineNumber, MAXVOLUMES+1); in C_ParseCommand()
2309 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
2390 if (EDUKE32_PREDICT_FALSE((unsigned)j > MAXVOLUMES-1)) in C_ParseCommand()
H A Dcmdline.cpp726 ud.m_volume_number = ud.volume_number = ((unsigned) (Batoi(c)-1))%MAXVOLUMES; in G_CheckCommandLine()
H A Dgame.h537 if ((unsigned)--lev >= MAXLEVELS || (unsigned)--ep >= MAXVOLUMES) in G_GetMusicIdx()
H A Dpremap.cpp2049 for (bssize_t i=0; i<(MAXVOLUMES*MAXLEVELS); i++) in G_NewGame()
2295 for (bssize_t volumeNum = 0; volumeNum < MAXVOLUMES; volumeNum++) in G_FindLevelByFile()
2309 return MAXLEVELS * MAXVOLUMES; in G_FindLevelByFile()
2453 if (levelNum != MAXLEVELS*MAXVOLUMES) in G_EnterLevel()
H A Dmenus.cpp500 static MenuEntry_t ME_EPISODE[MAXVOLUMES];
503 static MenuEntry_t *MEL_EPISODE[MAXVOLUMES+2]; // +2 for spacer and User Map
1453 static char const *MEOSN_NetEpisodes[MAXVOLUMES+1];
1454 static int32_t MEOSV_NetEpisodes[MAXVOLUMES+1];
1455 static char const *MEOSN_NetLevels[MAXVOLUMES][MAXLEVELS];
1475 static MenuOptionSet_t MEOS_NETOPTIONS_LEVEL[MAXVOLUMES];
1956 MEOSV_NetEpisodes[k] = MAXVOLUMES; in Menu_Init()
2482 if (MEOSV_NetEpisodes[MEO_NETOPTIONS_EPISODE.currentOption] == MAXVOLUMES) in Menu_Pre()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/
H A Dbcheck.lua86 if (not (volume >= 0 and volume < con_lang.MAXVOLUMES)) then
98 if (not (idx >= 0 and idx <= con_lang.MAXLEVELS * con_lang.MAXVOLUMES)) then
H A Dcon_lang.lua14 MAXVOLUMES = 7
885 m_volume_number = { UD".m_volume_number", UD":set_m_volume_number(%%s)", {0, MAXVOLUMES} },
904 volume_number = { UD".volume_number", UD":set_volume_number(%%s)", {0, MAXVOLUMES} },
H A D_defs_game.lua615 decl("map_t g_mapInfo[$*$];", con_lang.MAXVOLUMES+1, con_lang.MAXLEVELS)
616 decl("char g_volumeNames[$][33];", con_lang.MAXVOLUMES)
1516 if (not (volume_number==con_lang.MAXVOLUMES)) then
1524 if (not (volume_number==con_lang.MAXVOLUMES)) then
H A Dlunacon.lua1205 if (not (vol >= 0 and vol < conl.MAXVOLUMES)) then
1235 if (not (vol >= 0 and vol < conl.MAXVOLUMES)) then
1282 if (not (vol >= 0 and vol < conl.MAXVOLUMES)) then
1292 if (not (vol >= 0 and vol < conl.MAXVOLUMES)) then
1303 if (not (vol >= 0 and vol < conl.MAXVOLUMES)) then
1501 if (not (volnum >= 0 and volnum <= conl.MAXVOLUMES+1)) then
1504 errprintf("volume number must be between 0 and MAXVOLUMES+1=%d", conl.MAXVOLUMES+1)
1506 elseif (volnum == conl.MAXVOLUMES+1) then
1511 volnum = conl.MAXVOLUMES+1 -- special music
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/n64/
H A Dreality.cpp246 MAXVOLUMES, 0, "grabbag.mid",
247 MAXVOLUMES, 1, "briefing.mid",
369 for (int i = 0; i <= MAXVOLUMES; i++) in RT_PrepareScript()

12