/dports/games/wolfpack/empire-4.4.1/include/ |
H A D | sect.h | 163 #define getsect(x, y, p) ef_read(EF_SECTOR, sctoff((x), (y)), (p)) 164 #define putsect(p) ef_write(EF_SECTOR, (p)->sct_uid, (p)) 165 #define getsectp(x, y) ((struct sctstr *)ef_ptr(EF_SECTOR, sctoff((x), (y)))) 166 #define getsectid(id) ((struct sctstr *)ef_ptr(EF_SECTOR, (id)))
|
H A D | file.h | 150 EF_SECTOR, enumerator 213 #define EF_IS_GAME_STATE(type) (EF_SECTOR <= (type) && (type) <= EF_DYNMAX)
|
/dports/games/wolfpack/empire-4.4.1/src/lib/subs/ |
H A D | fileinit.c | 48 {EF_SECTOR, sct_postread, sct_prewrite, NULL}, 97 failed |= !ef_open(EF_SECTOR, EFF_MEM); in ef_open_srv() 128 ef_close(EF_SECTOR); in ef_close_srv()
|
H A D | attsub.c | 132 if (com->type == EF_SECTOR) { in pr_com() 175 case EF_SECTOR: in att_get_combat() 276 } else if (com->type == EF_SECTOR) { in att_get_combat() 334 case EF_SECTOR: in put_combat() 625 if (off->type == EF_SECTOR) { in att_approach() 650 if (def->type == EF_SECTOR) { in att_show() 853 case EF_SECTOR: in calc_mobcost() 879 if (off->type == EF_SECTOR) { in ask_off() 1107 if (com->type == EF_SECTOR) { in att_combat_eff() 2223 if (def->type == EF_SECTOR) { in take_def() [all …]
|
H A D | lostsub.c | 110 if (type == EF_SECTOR && lost.lost_x == x && lost.lost_y == y) in findlost() 112 if (type != EF_SECTOR && lost.lost_id == id) in findlost()
|
H A D | nxtsct.c | 69 if (!ef_read(EF_SECTOR, np->id, sp)) in nxtsct()
|
H A D | check.c | 63 if (obj->ef_type == EF_SECTOR) in check_obj_ok()
|
H A D | satmap.c | 97 if (type == EF_BAD || type == EF_SECTOR) { in satmap() 99 if (type == EF_SECTOR && !snxtsct_use_condarg(&ns)) in satmap()
|
H A D | sect.c | 104 lost_and_found(EF_SECTOR, prev_own, own, 0, sp->sct_x, sp->sct_y); in sct_prewrite()
|
H A D | mslsub.c | 66 type != EF_SECTOR ? "in " : "", in msl_launch() 139 if (type == EF_SECTOR || type == EF_LAND) { in msl_launch()
|
H A D | snxtsct.c | 131 EF_SECTOR, player->condarg); in snxtsct_use_condarg()
|
/dports/games/wolfpack/empire-4.4.1/src/lib/commands/ |
H A D | stop.c | 64 EF_SECTOR, EF_SHIP, EF_PLANE, EF_LAND, EF_NUKE, EF_BAD in start_stop() 72 type = EF_SECTOR; in start_stop() 87 if (type == EF_SECTOR) in start_stop()
|
H A D | atta.c | 61 att_combat_init(def, EF_SECTOR); in c_attack() 95 att_combat_init(&off[++last], EF_SECTOR); in c_attack()
|
H A D | swap.c | 79 ef_set_uid(EF_SECTOR, §a, sectb.sct_uid); in c_swapsector() 86 ef_set_uid(EF_SECTOR, §b, tmp.sct_uid); in c_swapsector()
|
H A D | sate.c | 45 static int sct_shp_or_lnd[] = { EF_SECTOR, EF_SHIP, EF_LAND, EF_BAD }; in c_satellite()
|
H A D | mfir.c | 71 static int ef_with_guns[] = { EF_SECTOR, EF_SHIP, EF_LAND, EF_BAD }; in c_fire() 108 if (opt_NO_FORT_FIRE && type == EF_SECTOR) { in c_fire() 410 case EF_SECTOR: in c_fire() 489 CANT_HAPPEN(fp->type != EF_SECTOR); in do_defdam()
|
H A D | lboard.c | 74 att_combat_init(off, EF_SECTOR); in c_lboard()
|
H A D | laun.c | 232 if (msl_launch(pp, EF_SECTOR, "sector", sx, sy, sect.sct_own, in launch_missile() 236 if (!msl_hit(pp, SECT_HARDTARGET, EF_SECTOR, in launch_missile()
|
H A D | fly.c | 87 if (target.gen.ef_type == EF_SECTOR in c_fly()
|
H A D | stre.c | 58 att_combat_init(def, EF_SECTOR); in c_strength()
|
H A D | surv.c | 71 ptr = nstr_comp_val(ptr, &val, EF_SECTOR); in c_survey()
|
/dports/games/wolfpack/empire-4.4.1/src/lib/update/ |
H A D | fallout.c | 96 EF_SECTOR, sp->sct_x, sp->sct_y, 0); in do_fallout() 130 if (type == EF_SECTOR) in meltitems()
|
H A D | main.c | 127 ef_flush(EF_SECTOR); in update_main()
|
H A D | populace.c | 57 makelost(EF_SECTOR, sp->sct_own, 0, sp->sct_x, sp->sct_y); in check_pop_loss()
|
/dports/games/wolfpack/empire-4.4.1/src/lib/common/ |
H A D | empobj.c | 53 case EF_SECTOR: in empobj_chr_name()
|