/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/editor/ |
H A D | centers.cpp | 130 const auto N_robot_types = LevelSharedRobotInfoState.N_robot_types; in centers_dialog_created() local 131 for (i=0; i < N_robot_types; i++) in centers_dialog_created() 171 const auto N_robot_types = LevelSharedRobotInfoState.N_robot_types; in callback_handler() local 185 for (unsigned i = 0, n = N_robot_types; i < n; ++i) in callback_handler() 211 for (unsigned i = 0, n = N_robot_types; i < n; ++i) in callback_handler()
|
H A D | medrobot.cpp | 116 if (obj->id >= LevelSharedRobotInfoState.N_robot_types) in RobotNextType() 148 obj->id = LevelSharedRobotInfoState.N_robot_types - 1; in RobotPrevType() 273 if (Cur_goody_id >= LevelSharedRobotInfoState.N_robot_types) in GoodyNextID() 289 Cur_goody_id = LevelSharedRobotInfoState.N_robot_types - 1; in GoodyPrevID() 478 Num_object_subtypes = LevelSharedRobotInfoState.N_robot_types; in LocalObjectPlaceObject()
|
H A D | objpage.cpp | 266 Num_object_subtypes = LevelSharedRobotInfoState.N_robot_types; in objpage_goto_next_object()
|
/dports/games/d2x/d2x-0.2.5/main/ |
H A D | bmread.c | 1283 Assert(N_robot_types < MAX_ROBOT_TYPES); in bm_read_robot() 1288 N_robot_types++; in bm_read_robot() 1289 Assert(N_robot_types < MAX_ROBOT_TYPES); in bm_read_robot() 1462 Robot_info[N_robot_types].mass = mass; in bm_read_robot() 1463 Robot_info[N_robot_types].drag = drag; in bm_read_robot() 1477 Robot_info[N_robot_types].thief = thief; in bm_read_robot() 1478 Robot_info[N_robot_types].flags = flags; in bm_read_robot() 1497 strcpy(Robot_names[N_robot_types], name); in bm_read_robot() 1499 N_robot_types++; in bm_read_robot() 1502 Assert(N_robot_types < MAX_ROBOT_TYPES); in bm_read_robot() [all …]
|
H A D | bm.c | 194 N_robot_types = cfile_read_int(fp); in bm_read_all() 195 robot_info_read_n(Robot_info, N_robot_types, fp); in bm_read_all() 469 N_robot_types = N_D2_ROBOT_TYPES+t; in bm_read_extra_robots() 470 if (N_robot_types >= MAX_ROBOT_TYPES) in bm_read_extra_robots() 536 if (i<0 || i>=N_robot_types) in load_robot_replacements() 537 Error("Robots number (%d) out of range in (%s). Range = [0..%d].",i,level_name,N_robot_types-1); in load_robot_replacements()
|
H A D | robot.c | 30 int N_robot_types = 0; variable 100 Assert(obj->id < N_robot_types); in calc_gun_point()
|
H A D | robot.h | 142 extern int N_robot_types; // Number of robot types. We used to assume this was the same as N…
|
H A D | ai2.c | 98 mprintf((0, "Trying to malloc %i bytes for Robot_info.\n", N_robot_types * sizeof(*Robot_info))); in init_ai_system() 99 Robot_info = (robot_info *) d_malloc( N_robot_types * sizeof(*Robot_info) ); in init_ai_system() 102 for (i=0; i<N_robot_types; i++) { in init_ai_system() 232 for (buddy_id=0; buddy_id<N_robot_types; buddy_id++) in create_buddy_bot() 236 if (buddy_id == N_robot_types) { in create_buddy_bot()
|
H A D | gamesave.c | 212 if ( obj->id >= N_robot_types ) in verify_object() 213 obj->id = obj->id % N_robot_types; in verify_object()
|
H A D | gameseq.c | 2233 Assert(objid < N_robot_types); in copy_defaults_to_robot()
|
H A D | ai.c | 625 Assert(obj->id < N_robot_types); in do_ai_frame()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/ |
H A D | bm.cpp | 195 LevelSharedRobotInfoState.N_robot_types = PHYSFSX_readInt(fp); in properties_read_cmp() 338 LevelSharedRobotInfoState.N_robot_types = PHYSFSX_readInt(fp); in bm_read_all() 339 range_for (auto &r, partial_range(Robot_info, LevelSharedRobotInfoState.N_robot_types)) in bm_read_all() 483 const auto N_robot_types = LevelSharedRobotInfoState.N_robot_types = N_D2_ROBOT_TYPES + t; in bm_read_extra_robots() local 484 if (N_robot_types >= MAX_ROBOT_TYPES) in bm_read_extra_robots() 487 range_for (auto &r, partial_range(Robot_info, N_D2_ROBOT_TYPES.value, N_robot_types)) in bm_read_extra_robots() 558 const auto N_robot_types = LevelSharedRobotInfoState.N_robot_types; in load_robot_replacements() local 561 if (i >= N_robot_types) in load_robot_replacements() 562 … of range in (%s). Range = [0..%u].", i, static_cast<const char *>(level_name), N_robot_types- 1); in load_robot_replacements()
|
H A D | bmread.cpp | 795 …assert(LevelSharedRobotInfoState.N_robot_types == Num_robot_ais); //should be one ai info per rob… in gamedata_read_tbl() 1465 assert(LevelSharedRobotInfoState.N_robot_types < MAX_ROBOT_TYPES); in bm_read_robot() 1469 auto &ri = Robot_info[LevelSharedRobotInfoState.N_robot_types++]; in bm_read_robot() 1601 auto &name = Robot_names[LevelSharedRobotInfoState.N_robot_types]; in bm_read_robot() 1627 auto ¤t_robot_info = Robot_info[LevelSharedRobotInfoState.N_robot_types]; in bm_read_robot() 1654 ObjId[Num_total_object_types] = LevelSharedRobotInfoState.N_robot_types; in bm_read_robot() 1710 ++LevelSharedRobotInfoState.N_robot_types; in bm_read_robot()
|
H A D | gamesave.cpp | 210 const auto N_robot_types = LevelSharedRobotInfoState.N_robot_types; in verify_object() local 211 if (get_robot_id(obj) >= N_robot_types ) in verify_object() 212 set_robot_id(obj, get_robot_id(obj) % N_robot_types); in verify_object()
|
H A D | robot.cpp | 54 assert(get_robot_id(obj) < LevelSharedRobotInfoState.N_robot_types); in calc_gun_point()
|
H A D | gamecntl.cpp | 1381 if (i >= LevelSharedRobotInfoState.N_robot_types) in HandleTestKey()
|
H A D | gameseq.cpp | 2281 assert(objid < LevelSharedRobotInfoState.N_robot_types); in copy_defaults_to_robot()
|
H A D | ai.cpp | 2171 …artial_const_range(LevelSharedRobotInfoState.Robot_info, LevelSharedRobotInfoState.N_robot_types))) in create_buddy_bot() 3258 assert(get_robot_id(obj) < LevelSharedRobotInfoState.N_robot_types); in do_ai_frame()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/main/ |
H A D | robot.h | 201 …unsigned N_robot_types; // Number of robot types. We used to assume this was the same as N_p… member
|