Home
last modified time | relevance | path

Searched refs:Castle (Results 1 – 25 of 2769) sorted by relevance

12345678910>>...111

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/
H A Dcastle.h120 Castle();
121 Castle( s32, s32, int rs );
122 ~Castle() override = default;
218 static bool PredicateIsCastle( const Castle * );
219 static bool PredicateIsTown( const Castle * );
336 struct VecCastles : public std::vector<Castle *>
338 Castle * GetFirstCastle( void ) const;
357 void AddCastle( Castle * castle );
384 std::vector<Castle *>::const_iterator end() const in end()
395 std::vector<Castle *> _castles;
[all …]
H A Dcastle.cpp77 Castle::Castle() in Castle() function in Castle
87 Castle::Castle( s32 cx, s32 cy, int rc ) in Castle() function in Castle
285 void Castle::PostLoad( void ) in PostLoad()
1285 int Castle::GetAllBuildingStatus( const Castle & castle ) in GetAllBuildingStatus()
2042 bool Castle::PredicateIsCastle( const Castle * castle ) in PredicateIsCastle()
2047 bool Castle::PredicateIsTown( const Castle * castle ) in PredicateIsTown()
2052 bool Castle::PredicateIsBuildBuilding( const Castle * castle, const uint32_t building ) in PredicateIsBuildBuilding()
2178 Army & Castle::GetArmy( void ) in GetArmy()
2334 u32 Castle::GetGrownWeekOf() in GetGrownWeekOf()
2410 std::sort( begin(), end(), []( const Castle * left, const Castle * right ) { in SortByBuildingValue()
[all …]
H A Dbuildinginfo.h34 BuildingInfo( const Castle & c, const building_t b );
52 const Castle & castle;
61 DwellingItem( const Castle &, u32 dw );
70 DwellingsBar( Castle &, const fheroes2::Size & );
79 Castle & castle;
H A Dcaptain.h27 class Castle; variable
32 explicit Captain( Castle & );
48 const Castle * inCastle() const override;
77 Castle & home;
H A Dcastle_ui.h24 class Castle; variable
29 void drawCastleIcon( const Castle & castle, Image & output, const Point & offset );
33 void drawCastleName( const Castle & castle, Image & output, const Point & offset );
H A Dcastle_building.cpp38 void CastleRedrawCurrentBuilding( const Castle & castle, const fheroes2::Point & dst_pt, const Cast…
40 fheroes2::Rect CastleGetMaxArea( const Castle &, const fheroes2::Point & );
44 …bool isBuildingConnectionNeeded( const Castle & castle, const uint32_t buildId, const bool constru… in isBuildingConnectionNeeded()
129 CastleDialog::CacheBuildings::CacheBuildings( const Castle & castle, const fheroes2::Point & top ) in CacheBuildings()
166 void CastleDialog::RedrawAllBuilding( const Castle & castle, const fheroes2::Point & dst_pt, const … in RedrawAllBuilding()
173 void CastleRedrawCurrentBuilding( const Castle & castle, const fheroes2::Point & dst_pt, const Cast… in CastleRedrawCurrentBuilding()
317 const int icn = Castle::GetICNBuilding( build, race ); in CastleRedrawBuilding()
371 const int castleIcn = Castle::GetICNBuilding( BUILD_CASTLE, race ); in CastleRedrawBuilding()
388 int icn = Castle::GetICNBuilding( build, castle.GetRace() ); in CastleRedrawBuildingExtended()
394 const int icn2 = Castle::GetICNBoat( castle.GetRace() ); in CastleRedrawBuildingExtended()
[all …]
/dports/games/xsc/xsc-1.6/
H A Dcastle.h22 class Castle; variable
38 class Castle {
56 Castle(void);
57 ~Castle(void);
82 Castle::draw(void) in draw()
89 Castle::erase(void) in erase()
96 Castle::get_numrings(void) const in get_numrings()
103 Castle::pause(const bool pause_state) in pause()
114 Castle::alive(void) const in alive()
H A Dcastle.C48 Castle::Castle(void) in Castle() function
68 Castle::~Castle(void) in ~Castle()
79 Castle::render(const bool ink) in render()
88 Castle::turn(Minefield *minefield, King *king) in turn()
202 Castle::resize(const int nwidth, const int nheight) in resize()
211 Castle::collision(Laser *laser, Stats *stats) in collision()
225 Castle::opening(const float degrees) const in opening()
244 Castle::ring_size(const int wallnum) const in ring_size()
259 Castle::explode(Stats *stats) in explode()
270 Castle::get_gc(const int wallnum) const in get_gc()
[all …]
H A Dstarfield.h40 void render(const bool, const Castle *, const Ship *);
41 void draw(const Castle *, const Ship *);
42 void erase(const Castle *, const Ship *);
49 Starfield::draw(const Castle *castle, const Ship *ship) in draw()
56 Starfield::erase(const Castle *castle, const Ship *ship) in erase()
H A Dminefield.h47 void move(Castle *, Ship *) const;
50 void launch(King *, Castle *) const;
51 void upgrade(Castle *) const;
H A Dbuzzer.h50 void move(Castle *, Ship *);
51 void launch(King *, Castle *);
54 void upgrade(Castle *);
/dports/games/kpat/kpat-21.12.3/src/
H A Dcastle.cpp33 Castle::Castle( const DealerInfo * di ) in Castle() function in Castle
41 void Castle::initialize() in initialize()
107 void Castle::gameTypeChanged() in gameTypeChanged()
208 QString Castle::solverFormat() const in solverFormat()
375 return new Castle( this ); in createGame()
380 void Castle::matchVariant() in matchVariant()
401 void Castle::configOptions() in configOptions()
472 void Castle::setSavedOptions() in setSavedOptions()
484 void Castle::getSavedOptions() in getSavedOptions()
509 void Castle::mapOldId(int id) in mapOldId()
[all …]
/dports/games/crafty/crafty-25.2_1/
H A Dmake.c130 if (Castle(ply + 1, side) > 0) { in MakeMove()
132 Castle(ply + 1, side) &= 1; in MakeMove()
135 Castle(ply + 1, side) &= 2; in MakeMove()
142 if (Castle(ply + 1, side) > 0) { in MakeMove()
143 if (Castle(ply + 1, side) & 2) in MakeMove()
145 if (Castle(ply + 1, side) & 1) in MakeMove()
148 Castle(ply + 1, side) = -1; in MakeMove()
165 Castle(ply + 1, side) = 0; in MakeMove()
201 Castle(ply + 1, enemy) &= 1; in MakeMove()
204 Castle(ply + 1, enemy) &= 2; in MakeMove()
[all …]
H A Dedit.c115 Castle(0, white) = 0; in Edit()
116 Castle(0, black) = 0; in Edit()
130 Castle(0, white) = Castle(0, white) | 2; in Edit()
132 Castle(0, white) = Castle(0, white) | 1; in Edit()
136 Castle(0, black) = Castle(0, black) | 2; in Edit()
138 Castle(0, black) = Castle(0, black) | 1; in Edit()
H A Dsetboard.c186 Castle(0, white) = wcastle; in SetBoard()
187 Castle(0, black) = bcastle; in SetBoard()
220 if (((Castle(0, white) & 2) && (PcOnSq(A1) != rook)) in SetBoard()
221 || ((Castle(0, white) & 1) && (PcOnSq(H1) != rook)) in SetBoard()
222 || ((Castle(0, black) & 2) && (PcOnSq(A8) != -rook)) in SetBoard()
223 || ((Castle(0, black) & 1) && (PcOnSq(H8) != -rook))) { in SetBoard()
H A Devtest.c87 Castle(0, white) = 0; in EVTest()
88 Castle(1, white) = 0; in EVTest()
89 Castle(0, black) = 0; in EVTest()
90 Castle(1, black) = 0; in EVTest()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/
H A Dai.h31 class Castle; variable
70 virtual void CastleTurn( Castle & castle, bool defensive );
93 virtual void CastleAdd( const Castle & castle );
94 virtual void CastleRemove( const Castle & castle );
95 virtual void CastlePreBattle( Castle & castle );
96 virtual void CastleAfterBattle( Castle & castle, bool attackerWins );
124 bool BuildIfAvailable( Castle & castle, int building );
125 bool BuildIfEnoughResources( Castle & castle, int building, uint32_t minimumMultiplicator );
126 uint32_t GetResourceMultiplier( const Castle & castle, uint32_t min, uint32_t max );
127 void ReinforceHeroInCastle( Heroes & hero, Castle & castle, const Funds & budget );
H A Dai_base.cpp67 void Base::CastlePreBattle( Castle & ) in CastlePreBattle() argument
72 void Base::CastleAfterBattle( Castle &, bool ) in CastleAfterBattle() argument
77 void Base::CastleTurn( Castle &, bool ) in CastleTurn() argument
82 void Base::CastleAdd( const Castle & ) in CastleAdd() argument
87 void Base::CastleRemove( const Castle & ) in CastleRemove() argument
H A Dai_common.cpp37 bool BuildIfAvailable( Castle & castle, int building ) in BuildIfAvailable()
44 bool BuildIfEnoughResources( Castle & castle, int building, uint32_t minimumMultiplicator ) in BuildIfEnoughResources()
55 uint32_t GetResourceMultiplier( const Castle & castle, uint32_t min, uint32_t max ) in GetResourceMultiplier()
60 void ReinforceHeroInCastle( Heroes & hero, Castle & castle, const Funds & budget ) in ReinforceHeroInCastle()
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfa/
H A Dcastle.c144 char subCastleInAccept(const struct Castle *c, struct mq *q, in subCastleInAccept()
168 char castleInAccept(const struct Castle *c, struct mq *q, in castleInAccept()
755 const struct Castle *c = getImplNfa(n); in nfaExecCastle_Q_i()
911 const struct Castle *c = getImplNfa(n); in nfaExecCastle_QR()
967 const struct Castle *c = getImplNfa(n); in nfaExecCastle_reportCurrent()
978 const struct Castle *c = getImplNfa(n); in nfaExecCastle_inAccept()
987 const struct Castle *c = getImplNfa(n); in nfaExecCastle_inAnyAccept()
1027 const struct Castle *c = getImplNfa(n); in nfaExecCastle_queueInitState()
1047 const struct Castle *c = getImplNfa(n); in nfaExecCastle_initCompressedState()
1079 const struct Castle *c = getImplNfa(n); in nfaExecCastle_queueCompressState()
[all …]
/dports/games/kpat/kpat-21.12.3/src/patsolve/
H A Dcastlesolver.h27 class Castle; variable
32 explicit CastleSolver(const Castle *dealer);
41 const Castle *deal;
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/
H A Dbattle_tower.h28 class Castle; variable
42 …Tower( const Castle &, int, const Rand::DeterministicRandomGenerator & randomGenerator, const uint…
55 static std::string GetInfo( const Castle & );
/dports/games/exult/exult-snapshot-v1.7.0.20211128/content/bgkeyring/src/headers/bg/
H A Dbg_npcs.uc71 LORD_BRITISH = -23, //Castle British, ineffectual monarch
72 NYSTUL = -24, //Castle British, royal sage
73 CHUCKLES = -25, //Castle British, royal jester
79 KRISTY = -31, //Castle British, creche child
80 MAX = -32, //Castle British, creche child
81 NICHOLAS = -33, //Castle British, creche child
114 SHERRY = -66, //Castle British, mouse
115 BOOTS = -67, //Castle British, cook and wife of Bennie
116 BENNIE = -68, //Castle British, head servant and husband of Boots
117 WESTON = -69, //Castle British, prisoner and husband of Alina
[all …]
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/game/
H A Dgame_interface.h34 class Castle; variable
70 Castle * GetFocusCastle( void );
100 void SetFocus( Castle * );
140 static int GetCursorFocusCastle( const Castle &, const Maps::Tiles & );
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/system/
H A Dplayers.h43 class Castle; variable
72 void Set( Castle * ptr ) in Set()
83 Castle * GetCastle( void ) in GetCastle()
85 return first == FOCUS_CASTLE && second ? static_cast<Castle *>( second ) : nullptr; in GetCastle()

12345678910>>...111