/dports/games/wesnoth/wesnoth-1.14.17/data/multiplayer/ |
H A D | eras.cfg | 41 {multiplayer/factions/rebels-default.cfg} 43 {multiplayer/factions/undead-default.cfg} 44 {multiplayer/factions/knalgans-default.cfg} 45 {multiplayer/factions/drakes-default.cfg} 62 {multiplayer/factions/loyalists-aoh.cfg} 63 {multiplayer/factions/rebels-aoh.cfg} 64 {multiplayer/factions/northerners-aoh.cfg} 65 {multiplayer/factions/undead-aoh.cfg} 66 {multiplayer/factions/knalgans-aoh.cfg} 67 {multiplayer/factions/drakes-aoh.cfg} [all …]
|
/dports/net/openmpi/openmpi-4.1.1/orte/mca/odls/pspawn/ |
H A D | odls_pspawn.c | 227 static int close_open_file_descriptors(posix_spawn_file_actions_t *factions) in close_open_file_descriptors() argument 252 posix_spawn_file_actions_addclose(factions, fd); in close_open_file_descriptors() 267 posix_spawn_file_actions_t factions; in odls_pspawn_fork_local_proc() local 288 rc = posix_spawn_file_actions_init(&factions); in odls_pspawn_fork_local_proc() 295 if (ORTE_SUCCESS != close_open_file_descriptors(&factions)) { in odls_pspawn_fork_local_proc() 296 posix_spawn_file_actions_destroy(&factions); in odls_pspawn_fork_local_proc() 304 posix_spawn_file_actions_addclose(&factions, opts->p_stdin[1]); in odls_pspawn_fork_local_proc() 306 posix_spawn_file_actions_addclose(&factions, opts->p_stdout[0]); in odls_pspawn_fork_local_proc() 308 posix_spawn_file_actions_addclose(&factions, opts->p_stderr[0]); in odls_pspawn_fork_local_proc() 352 rc = posix_spawn(&pid, cd->app->app, &factions, &attrs, cd->argv, cd->env); in odls_pspawn_fork_local_proc() [all …]
|
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/ |
H A D | faction.c | 45 } factions[] = { variable 64 for (i = 0; i < sizeof(factions)/sizeof(factions[0]); i++) { in get_faction_id() 65 if (!strcmp(factions[i].name, name)) in get_faction_id() 66 return factions[i].id; in get_faction_id() 80 if ((faction_id < 0) || (faction_id >= (sizeof(factions) / sizeof(factions[0])))) { in get_faction_from_id() 82 return factions[FACTION_SELF].name; in get_faction_from_id() 85 return factions[faction_id].name; in get_faction_from_id() 191 autostr_append(strout, "%s = ", factions[*faction_idx].name); in write_faction() 202 lua_getfield(L, index, factions[*faction_idx].name); in read_faction()
|
/dports/games/duel/duel/src/ |
H A D | GalaxyLoader.cpp | 281 ns->faction_i = rand()%(in_Galaxy->factions.Size()-1)+1; in Load() 315 in_Galaxy->factions.SetSize(ReadToken<int>() + 1); in Load() 318 in_Galaxy->factions[fc_i] = NULL; in Load() 321 in_Galaxy->factions[0] = new(SFaction); in Load() 322 in_Galaxy->factions[0]->name = "Independant"; in Load() 323 for(int rc_i =0; rc_i < in_Galaxy->factions.Size(); rc_i++) in Load() 325 in_Galaxy->factions[0]->relations.AddToEnd(1); in Load() 327 in_Galaxy->factions[0]->relations[0] = 10; in Load() 336 while(in_Galaxy->factions[c_i] != NULL) in Load() 340 in_Galaxy->factions[c_i] = new(SFaction); in Load() [all …]
|
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/ |
H A D | world.cpp | 55 for(int i= 0; i<factions.size(); ++i){ in end() 56 factions[i].end(); in end() 307 if(factionIndex<factions.size()){ in createUnit() 329 if(factionIndex<factions.size()){ in giveResource() 399 if(factionIndex<factions.size()){ in getResourceAmount() 411 if(factionIndex<factions.size()){ in getStartLocation() 438 if(factionIndex<factions.size()){ in getUnitCount() 457 if(factionIndex<factions.size()){ in getUnitCountOfType() 536 for(int i=0; i<factions.size(); ++i){ in initFactionTypes() 538 factions[i].init( in initFactionTypes() [all …]
|
H A D | world.h | 75 Factions factions; variable 99 const Faction *getThisFaction() const {return &factions[thisFactionIndex];} in getThisFaction() 100 int getFactionCount() const {return factions.size();} in getFactionCount() 108 const Faction *getFaction(int i) const {return &factions[i];} in getFaction() 109 Faction *getFaction(int i) {return &factions[i];} in getFaction()
|
/dports/games/widelands/widelands-build21/data/scripting/win_conditions/ |
H A D | win_condition_functions.lua | 92 local factions = 0 97 factions = factions + 1 101 factions = factions + 1 105 return factions
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/ai/ |
H A D | path_finder.h | 135 FactionStateList factions; variable 139 factions.push_back(new FactionState(index)); in init() 152 FactionState *faction = factions[index]; in getFactionState() 156 for(unsigned int index = 0; index < (unsigned int)factions.size(); ++index) { in clear() 157 delete factions[index]; in clear() local 160 factions.clear(); in clear() 163 return (int)factions.size(); in size() 181 FactionStateManager factions; variable 261 FactionState &faction = factions.getFactionState(unitFactionIndex); in processNode() 348 FactionState &faction = factions.getFactionState(unitFactionIndex); in doAStarPathSearch()
|
H A D | path_finder.cpp | 68 FactionState &faction = factions.getFactionState(factionIndex); in init() 83 FactionState &faction = factions.getFactionState(factionIndex); in ~PathFinder() 87 factions.clear(); in ~PathFinder() 94 FactionState &faction = factions.getFactionState(factionIndex); in clearCaches() 103 if(unit != NULL && factions.size() > unit->getFactionIndex()) { in clearUnitPrecache() 106 FactionState &faction = factions.getFactionState(factionIndex); in clearUnitPrecache() 115 if(unit != NULL && factions.size() > unit->getFactionIndex()) { in removeUnitPrecache() 118 FactionState &faction = factions.getFactionState(factionIndex); in removeUnitPrecache() 136 FactionState &faction = factions.getFactionState(factionIndex); in findPath() 1184 FactionState &factionState = factions.getFactionState(i); in saveGame() [all …]
|
/dports/games/naev/naev-0.7.0/src/ |
H A D | nlua_faction.c | 427 int *factions; in factionL_enemies() local 433 factions = faction_getEnemies( f, &n ); in factionL_enemies() 436 lua_pushfaction(L, factions[i]); /* value */ in factionL_enemies() 455 int *factions; in factionL_allies() local 461 factions = faction_getAllies( f, &n ); in factionL_allies() 464 lua_pushfaction(L, factions[i]); /* value */ in factionL_allies()
|
H A D | nlua_planet.c | 237 int *factions; in planetL_getBackend() local 289 factions = malloc( sizeof(int) * nfactions ); in planetL_getBackend() 295 factions[i++] = lua_tofaction(L, -1); in planetL_getBackend() 300 planets = space_getFactionPlanet( &nplanets, factions, nfactions, landable ); in planetL_getBackend() 301 free(factions); in planetL_getBackend()
|
/dports/games/warzone2100/warzone2100/src/ |
H A D | faction.cpp | 27 static const struct FACTION factions[NUM_FACTIONS] = { variable 148 return &(factions[NetPlay.players[player].faction]); in getPlayerFaction() 153 return &(factions[(uint8_t)faction]); in getFactionByID()
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/world/ |
H A D | world.h | 98 Factions factions; variable 168 …inline const Faction *getThisFaction() const {return (thisFactionIndex >= 0 ? factions[thisFacti… in getThisFaction() 169 …inline Faction *getThisFactionPtr() {return (thisFactionIndex >= 0 ? factions[thisFactionInde… in getThisFactionPtr() 171 inline int getFactionCount() const {return (int)factions.size();} in getFactionCount() 181 inline const Faction *getFaction(int i) const {return factions[i];} in getFaction() 182 inline Faction *getFaction(int i) {return factions[i];} in getFaction() 203 set<string> &factions, Checksum* checksum,
|
H A D | world.cpp | 100 factions[i]->end(); in cleanup() 106 delete factions[i]; in cleanup() 108 factions.clear(); in cleanup() 182 factions[i]->end(); in end() 187 delete factions[i]; in end() 189 factions.clear(); in end() 2059 factions.push_back(newFaction); in initFactionTypes() 2157 if(factions.empty() == false) { in initFactionTypes() 2183 Faction *f= factions[i]; in initUnitsForScenario() 2255 Faction *f= factions[i]; in initUnits() [all …]
|
/dports/biology/hhsuite/hh-suite-3.3.0/lib/ffindex/src/ |
H A D | ffindex_apply_mpi.c | 75 posix_spawn_file_actions_t factions; in ffindex_apply_by_entry() local 76 posix_spawn_file_actions_init(&factions); in ffindex_apply_by_entry() 77 posix_spawn_file_actions_addclose(&factions, pipefd_stdin[1]); in ffindex_apply_by_entry() 78 posix_spawn_file_actions_adddup2(&factions, pipefd_stdin[0], fileno(stdin)); in ffindex_apply_by_entry() 80 posix_spawn_file_actions_addclose(&factions, pipefd_stdout[0]); in ffindex_apply_by_entry() 81 posix_spawn_file_actions_adddup2(&factions, pipefd_stdout[1], fileno(stdout)); in ffindex_apply_by_entry() 97 int err = posix_spawnp(&child_pid, program_name, &factions, &attr, program_argv, environ); in ffindex_apply_by_entry()
|
/dports/games/pioneer/pioneer-20210723/data/pigui/views/ |
H A D | map-sector-view.lua | 109 factions = newWindow("SectorMapFactions") 297 …her, mainButtonSize, false, mainButtonFramePadding, buttonState[Windows.factions.visible].color, s… 298 Windows.factions.visible = not Windows.factions.visible 414 function Windows.factions.Show() 417 local factions = sectorView:GetFactions() 418 for _,f in pairs(factions) do 472 Windows.factions.pos = Vector2(Windows.systemInfo.pos.x, Windows.current.pos.y) 473 Windows.factions.size = Vector2(ui.screenWidth - Windows.factions.pos.x - edgePadding.x, 0.0)
|
/dports/games/pioneer/pioneer-20210723/data/factions/ |
H A D | XX_AutoGenerate.OLD | 48 -- maximum number of factions to generate 50 -- * not all factions will be created as a faction can't be based in an empty sector 51 -- * for now more factions == richer environment, but potentially worse sector view performance 54 -- earliest and latest founding date for the factions we're generating 55 local earliest_founding = 3050 -- assuming feds are one of the original factions 114 -- get more interesting border layouts when generating the factions on one plane 171 -- and add the faction to the factions list
|
/dports/devel/notcurses/notcurses-3.0.1/src/lib/ |
H A D | fd.c | 213 posix_spawn_file_actions_t factions; local 214 if(posix_spawn_file_actions_init(&factions)){ 218 posix_spawn_file_actions_adddup2(&factions, pipes[1], STDOUT_FILENO); 219 posix_spawn_file_actions_adddup2(&factions, pipes[1], STDERR_FILENO); 222 r = posix_spawnp(&p, bin, &factions, NULL, arg, env); 224 r = posix_spawn(&p, bin, &factions, NULL, arg, env); 229 posix_spawn_file_actions_destroy(&factions);
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | faction.cpp | 379 factions.clear(); in clear() 387 for( auto it = factions.cbegin(), next_it = it; it != factions.cend(); it = next_it ) { in remove_faction() 390 factions.erase( it ); in remove_faction() 398 if( !factions.empty() ) { in create_if_needed() 414 factions[fac.id] = fac; in add_new_faction() 415 return &factions[fac.id]; in add_new_faction() 426 for( auto &elem : factions ) { in get() 453 factions[elem.id] = faction( elem ); in get() 454 if( !factions.empty() ) { in get() 455 factions[elem.id].validated = true; in get() [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | faction.cpp | 379 factions.clear(); in clear() 387 for( auto it = factions.cbegin(), next_it = it; it != factions.cend(); it = next_it ) { in remove_faction() 390 factions.erase( it ); in remove_faction() 398 if( !factions.empty() ) { in create_if_needed() 414 factions[fac.id] = fac; in add_new_faction() 415 return &factions[fac.id]; in add_new_faction() 426 for( auto &elem : factions ) { in get() 453 factions[elem.id] = faction( elem ); in get() 454 if( !factions.empty() ) { in get() 455 factions[elem.id].validated = true; in get() [all …]
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/types/ |
H A D | tech_tree.cpp | 160 set<string> &factions, Checksum* checksum, in loadTech() argument 169 load(path, factions, checksum, &techtreeChecksum, loadedFileList, in loadTech() 209 void TechTree::load(const string &dir, set<string> &factions, Checksum* checksum, in load() argument 340 factionTypes.resize(factions.size()); in load() 343 for ( set<string>::iterator it = factions.begin(); it != factions.end(); ++it ) { in load() 350 (int)factions.size(), in load() 354 logger.setProgress((int)((((double)i) / (double)factions.size()) * 100.0)); in load()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/model/tools/ |
H A D | factioncheck.cpp | 11 …MTools::FactionCheckStage::FactionCheckStage (const CSMWorld::IdCollection<ESM::Faction>& factions) in FactionCheckStage() argument 12 : mFactions (factions) in FactionCheckStage()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Lint/ |
H A D | CheckSequences.cs | 37 …var factions = rules.Actors["world"].TraitInfos<FactionInfo>().Select(f => f.InternalName).ToArray… in Run() 44 foreach (var faction in factions) in Run() 73 foreach (var faction in factions) in Run()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/data/mods/Aftershock/ |
H A D | README.md | 6 1. Faction interactions and new factions. Currently there are two new factions in Aftershock: Prep… 55 Contains json data for npcs and factions; the second is about the new factions PrepPhyle and Whatel…
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/doc/ |
H A D | FACTIONS.md | 1 # NPC factions 53 …layer has met members of the faction. Can be changed in play. Unknown factions will not be displ… 59 `"relations"` | dictionary, a description of how the faction sees other factions. See below 61 …his is a proto/micro faction template that is used to generate 1-person factions for dynamically s…
|