Home
last modified time | relevance | path

Searched refs:ai_level (Results 1 – 25 of 66) sorted by relevance

123

/dports/games/freeciv/freeciv-2.6.6/ai/
H A Ddifficulty.c31 static bv_handicap handicap_of_skill_level(enum ai_level level);
32 static int fuzzy_of_skill_level(enum ai_level level);
33 static int science_cost_of_skill_level(enum ai_level level);
34 static int expansionism_of_skill_level(enum ai_level level);
39 void set_ai_level_directer(struct player *pplayer, enum ai_level level) in set_ai_level_directer()
51 static bv_handicap handicap_of_skill_level(enum ai_level level) in handicap_of_skill_level()
129 static int fuzzy_of_skill_level(enum ai_level level) in fuzzy_of_skill_level()
163 static int science_cost_of_skill_level(enum ai_level level) in science_cost_of_skill_level()
194 static int expansionism_of_skill_level(enum ai_level level) in expansionism_of_skill_level()
228 enum ai_level level = ai_level_by_name(cmdname, fc_strcasecmp); in ai_level_help()
H A Ddifficulty.h16 void set_ai_level_directer(struct player *pplayer, enum ai_level level);
/dports/games/freeciv-nox11/freeciv-2.6.6/ai/
H A Ddifficulty.c31 static bv_handicap handicap_of_skill_level(enum ai_level level);
32 static int fuzzy_of_skill_level(enum ai_level level);
33 static int science_cost_of_skill_level(enum ai_level level);
34 static int expansionism_of_skill_level(enum ai_level level);
39 void set_ai_level_directer(struct player *pplayer, enum ai_level level) in set_ai_level_directer()
51 static bv_handicap handicap_of_skill_level(enum ai_level level) in handicap_of_skill_level()
129 static int fuzzy_of_skill_level(enum ai_level level) in fuzzy_of_skill_level()
163 static int science_cost_of_skill_level(enum ai_level level) in science_cost_of_skill_level()
194 static int expansionism_of_skill_level(enum ai_level level) in expansionism_of_skill_level()
228 enum ai_level level = ai_level_by_name(cmdname, fc_strcasecmp); in ai_level_help()
H A Ddifficulty.h16 void set_ai_level_directer(struct player *pplayer, enum ai_level level);
/dports/games/atanks/atanks-6.5/src/
H A Daicore.cpp1801 || ( (rand() % (ai_level * 20)) in calcStandard()
2855 if ((rand() % 100) < ai_level) { in initialize()
2866 getLevelName(ai_level), in initialize()
2867 getLevelName(ai_level + raise)) in initialize()
2868 ai_level += raise; in initialize()
5027 findOppAttempts = ai_level + 2 - (isShocked ? ai_level / 2 : 0); in operator ()()
5031 findTgtAttempts = ai_level in operator ()()
5034 findWeapAttempts= ai_level * 2 / (isShocked ? ai_level : 1); in operator ()()
5051 getLevelName(ai_level)) in operator ()()
5133 if ( (weap_attempts > ai_level) in operator ()()
[all …]
H A Daicore.h52 #define RAND_AI_0P (rand() % ai_level)
53 #define RAND_AI_0N (0 == (rand() % ai_level))
54 #define RAND_AI_1P (rand() % (ai_level + 1))
55 #define RAND_AI_1N (0 == (rand() % (ai_level + 1)))
886 int32_t ai_level = 0; //!< To not having to cast from player type. variable
H A Dplayer.cpp104 int32_t ai_level = static_cast<int32_t>(type); in boostPrefences() local
127 double max_amount = one_amount * ai_level; in boostPrefences()
174 double max_amount = one_amount * ai_level; in boostPrefences()
257 int32_t ai_level = static_cast<int32_t>(type); in buy_item() local
270 && (ai_level > boostBought) in buy_item()
273 && (ai_level > shieldBought) ) ) ) { in buy_item()
327 int32_t ai_level = static_cast<int32_t>(type); in chooseItemToBuy() local
350 int32_t maxAmt = amount * ai_level; in chooseItemToBuy()
2693 if ( (score <= (max_score / (ai_level + 1))) in updatePreferences()
2694 && (weapons_in_stock < (2 * ai_level)) ) { in updatePreferences()
[all …]
H A Dmissile.h98 int32_t ai_level = 0; // Level of the AI shooting a mind shot variable
/dports/games/gltron/gltron-0.70/src/game/
H A Dcomputer.c41 level = gSettingsCache.ai_level; in doComputerSimple()
161 gSettingsCache.ai_level == 0 /* dumb setting */) { in doComputer()
H A Dtimedemo.c100 gSettingsCache.ai_level = 2; in initTimedemo()
/dports/games/gltron/gltron-0.70/src/include/configuration/
H A Dsettings.h13 int ai_level; member
/dports/games/freeciv/freeciv-2.6.6/server/
H A Dstdinhand.h34 void set_ai_level_direct(struct player *pplayer, enum ai_level level);
H A Dsavecompat.h161 enum ai_level ai_level_convert(int old_level);
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dstdinhand.h34 void set_ai_level_direct(struct player *pplayer, enum ai_level level);
H A Dsavecompat.h161 enum ai_level ai_level_convert(int old_level);
/dports/games/freeciv/freeciv-2.6.6/common/
H A Dfc_types.h238 #define SPECENUM_NAME ai_level
345 enum ai_level ai_level; member
H A Dplayer.h111 enum ai_level skill_level; /* 0-10 value for save/load/display */
522 bool is_settable_ai_level(enum ai_level level);
/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dfc_types.h238 #define SPECENUM_NAME ai_level
345 enum ai_level ai_level; member
H A Dplayer.h111 enum ai_level skill_level; /* 0-10 value for save/load/display */
522 bool is_settable_ai_level(enum ai_level level);
/dports/games/gltron/gltron-0.70/scripts/
H A Dconfig.lua26 settings.ai_level = 2
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/
H A Dfc_client.cpp1133 if (is_settable_ai_level(static_cast<ai_level>(level))) { in init()
1135 static_cast<ai_level>(level)); in init()
1233 enum ai_level level = server_ai_level(); in update_ai_level()
1260 enum ai_level k = static_cast<ai_level>(v.toInt()); in ailevel_change()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/
H A Dfc_client.cpp1133 if (is_settable_ai_level(static_cast<ai_level>(level))) { in init()
1135 static_cast<ai_level>(level)); in init()
1233 enum ai_level level = server_ai_level(); in update_ai_level()
1260 enum ai_level k = static_cast<ai_level>(v.toInt()); in ailevel_change()
/dports/games/gltron/gltron-0.70/src/configuration/
H A Dsettings.c112 gSettingsCache.ai_level = getSettingi("ai_level"); in updateSettingsCache()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dclimisc.h150 enum ai_level server_ai_level(void);
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dclimisc.h150 enum ai_level server_ai_level(void);

123