/dports/games/widelands/widelands-build21/src/ai/ |
H A D | defaultai_warfare.cc | 37 update_player_stat(gametime); in check_enemy_sites() 115 if (soldier_trained_log.count(gametime) == 0) { in check_enemy_sites() 146 assert(site->second.last_time_attacked <= gametime); in check_enemy_sites() 149 (gametime - site->second.last_time_attacked)) { in check_enemy_sites() 160 site->second.last_tested = gametime; in check_enemy_sites() 622 last_attack_time_ = gametime; in check_enemy_sites() 624 soldier_attacks_log.push(gametime); in check_enemy_sites() 928 update_player_stat(gametime); in check_militarysites() 1019 militarysites.front().last_change = gametime; in check_militarysites() 1091 if (bo.prohibited_till > gametime) { in check_building_necessity() [all …]
|
H A D | defaultai.cc | 444 print_stats(gametime); in think() 447 check_enemy_sites(gametime); in think() 1067 update_player_stat(gametime); in late_initialization() 1136 gametime) { in update_all_buildable_fields() 1244 gametime && in update_all_mineable_fields() 4409 if (gametime < 45 * 60 * 1000 || gametime < site.built_time + 20 * 60 * 1000) { in check_productionsites() 4672 gametime && in check_productionsites() 4690 gametime && in check_productionsites() 5460 if (gametime > 15 * 60) { in check_building_necessity() 5472 if (gametime > 90 * 60) { in check_building_necessity() [all …]
|
H A D | ai_help_structs.cc | 586 void ManagementData::review(const uint32_t gametime, in review() argument 620 gamestring_with_leading_zeros(gametime), score); in review() 984 void BlockedFields::remove_expired(uint32_t gametime) { in remove_expired() argument 987 if (field.second < gametime) { in remove_expired() 1323 update_time = gametime; in set_update_time() 1354 if (gametime > soft_expiry_time) { in update() 1372 if (gametime <= expiry_time) { in get() 1380 new_road_prohibited_till = gametime + 60 * 1000; in set_road_built() 1384 return new_road_prohibited_till > gametime; in is_road_prohibited() 1409 return flags_map[flag_coords].get(gametime, nw); in get_distance() [all …]
|
H A D | defaultai_seafaring.cc | 107 bool DefaultAI::marine_main_decisions(const uint32_t gametime) { in marine_main_decisions() argument 108 if (gametime > last_seafaring_check_ + 20000U) { in marine_main_decisions() 111 last_seafaring_check_ = gametime; in marine_main_decisions() 250 bool DefaultAI::check_ships(uint32_t const gametime) { in check_ships() argument 274 check_ship_in_expedition(so, gametime); in check_ships() 289 if (gametime - so.last_command_time > 180 * 1000) { in check_ships() 390 persistent_data->expedition_start_time = gametime; in check_ship_in_expedition() 409 persistent_data->expedition_start_time = gametime; in check_ship_in_expedition() 467 const int32_t gametime = game().get_gametime(); in expedition_management() local 493 so.last_command_time = gametime; in expedition_management() [all …]
|
/dports/games/adonthell/adonthell-0.3.8/src/ |
H A D | gametime.cc | 29 double gametime::Minute; 30 u_int32 gametime::timer1; 31 u_int32 gametime::timer2; 32 u_int8 gametime::fts; 33 bool gametime::running; 36 void gametime::init (u_int16 rt_minutes) in init() 53 void gametime::update () in update()
|
H A D | adonthell.cc | 73 gametime::update (); in main() 93 for (int i = 0; i < gametime::frames_to_skip (); i++) in main_loop() 126 gametime::update (); in fade_out() 127 i += gametime::frames_to_skip () * 2; in fade_out() 144 gametime::update (); in fade_in() 145 i -= gametime::frames_to_skip () * 2; in fade_in()
|
H A D | gamedate.cc | 42 static double tenth_minute = gametime::minute () / 10.0; in update() 46 Ticks += gametime::frames_to_skip (); in update()
|
H A D | data_screen.cc | 133 date->set_text (gdata->gametime ()); in init() 167 sprintf (gametime, "Day %i - %02i:%02i", gamedate::day (), in init() 181 date->set_text (gametime); in init() 297 gamedata::save (pos, description, gametime); in on_save()
|
/dports/games/widelands/widelands-build21/src/graphic/gl/ |
H A D | dither_program.cc | 88 const uint32_t gametime, in maybe_add_dithering_triangle() argument 102 to_gl_texture(other_terrain_description.get_texture(gametime).blit_data()).origin(); in maybe_add_dithering_triangle() 143 const uint32_t gametime, in draw() argument 167 gametime, terrains, fields_to_draw, field.brn_index, current_index, field.bln_index, in draw() 171 maybe_add_dithering_triangle(gametime, terrains, fields_to_draw, field.bln_index, in draw() 177 maybe_add_dithering_triangle(gametime, terrains, fields_to_draw, current_index, in draw() 186 gametime, terrains, fields_to_draw, current_index, field.brn_index, field.rn_index, in draw() 189 maybe_add_dithering_triangle(gametime, terrains, fields_to_draw, field.brn_index, in draw() 195 maybe_add_dithering_triangle(gametime, terrains, fields_to_draw, field.rn_index, in draw()
|
H A D | dither_program.h | 37 void draw(uint32_t gametime, 53 uint32_t gametime,
|
H A D | terrain_program.cc | 85 uint32_t gametime, in draw() argument 110 terrains.get(field.fcoords.field->terrain_d()).get_texture(gametime).blit_data()) in draw() 121 terrains.get(field.fcoords.field->terrain_r()).get_texture(gametime).blit_data()) in draw()
|
/dports/games/widelands/widelands-build21/src/base/ |
H A D | time_string.cc | 164 char* gamestring_with_leading_zeros(uint32_t gametime) { in gamestring_with_leading_zeros() argument 165 uint32_t time = gametime / 1000; in gamestring_with_leading_zeros() 176 std::string gametimestring(uint32_t gametime, bool show_seconds) { in gametimestring() argument 178 std::string result = gamestring_with_leading_zeros(gametime); in gametimestring()
|
H A D | time_string.h | 37 char* gamestring_with_leading_zeros(uint32_t gametime); 42 std::string gametimestring(uint32_t gametime, bool show_seconds = false);
|
/dports/games/toppler/toppler-1.1.6/ |
H A D | bonus.cc | 31 #define gametime 500 macro 65 if (time < gametime/2) in show() 68 towerpos = gametime * scrollerspeed - 4*time + SCREENWID + (SPR_SLICEWID*2); in show() 257 if ((time > gametime/2) && !newtowercol) { in bns_game() 263 if (time == gametime) { in bns_game()
|
/dports/games/widelands/widelands-build21/src/logic/ |
H A D | cmd_queue.cc | 166 uint32_t const gametime = egbase.get_gametime(); in read() local 167 if (duetime() < gametime) in read() 168 throw GameDataError("duetime (%i) < gametime (%i)", duetime(), gametime); in read()
|
H A D | player.h | 462 const Time gametime = egbase().get_gametime(); in see_area() local 466 see_node(map, mr.location(), gametime); in see_area() 472 const Time gametime = egbase().get_gametime(); in unsee_area() local 477 unsee_node(mr.location().field - &first_map_field, gametime); in unsee_area() 486 void hide_or_reveal_field(const uint32_t gametime, const Coords& c, SeeUnseeNode mode);
|
/dports/games/widelands/widelands-build21/src/graphic/ |
H A D | game_renderer.cc | 52 void draw_terrain(uint32_t gametime, in draw_terrain() argument 71 i.terrain_arguments.gametime = gametime; in draw_terrain()
|
/dports/games/widelands/widelands-build21/src/wui/ |
H A D | savegamedata.cc | 11 : gametime(""), in SavegameData() 22 gametime(""), in SavegameData() 30 gametime = gametimestring(input_gametime); in set_gametime()
|
H A D | interactive_spectator.cc | 89 const uint32_t gametime = the_game.get_gametime(); in draw_map_view() local 95 draw_bridges(dst, &field, gametime, scale); in draw_map_view() 100 imm->draw(gametime, info_to_draw, field.rendertarget_pixel, field.fcoords, scale, dst); in draw_map_view()
|
/dports/databases/adabase/AdaBase-3.1/testcases/dumps/ |
H A D | adabase_examples.mysql.sql | 144 `gametime` int(10) unsigned NOT NULL DEFAULT '0', 152 KEY `yyyswww~gametime` (`yyyswww`,`gametime`),
|
H A D | adabase_examples.sqlite.sql | 52 , gametime integer NOT NULL DEFAULT '0' field 70 CREATE INDEX "idx_nhl_schedule_yyyswww~gametime" ON "nhl_schedule" (yyyswww,gametime);
|
/dports/games/springlobby/springlobby-0.180/src/playback/ |
H A D | replaylist.cpp | 118 int gametime = 0 ; in GetHeaderInfo() local 119 replay.Read( &gametime, 4); in GetHeaderInfo() 120 rep.duration = gametime; in GetHeaderInfo()
|
/dports/games/spring/spring_98.0/AI/Skirmish/HughAI/src-ai/hughai/ |
H A D | GiveOrderWrapper.java | 199 TimeHelper.GameTimePoint gametime = timeHelper.GetGameTimePoint(); in GiveOrder() local 200 recentcommands.add( new CommandInfo( gametime, command) ); in GiveOrder() 201 allcommands.add(new CommandInfo(gametime, command)); in GiveOrder()
|
/dports/games/widelands/widelands-build21/src/map_io/ |
H A D | map_players_messages_packet.cc | 45 uint32_t const gametime = egbase.get_gametime(); in read() local 93 if (gametime < sent) { in read() 96 sent, gametime); in read()
|
/dports/games/widelands/widelands-build21/src/economy/ |
H A D | ferry_fleet.cc | 254 void FerryFleet::request_ferry(EditorGameBase& egbase, Waterway* waterway, int32_t gametime) { in request_ferry() argument 264 pending_ferry_requests_.emplace(gametime < 0 ? egbase.get_gametime() : gametime, waterway); in request_ferry() 430 const uint32_t gametime = fr.unsigned_32(); in load() local 432 pending_ferry_requests_.emplace(gametime, serial); in load()
|