Home
last modified time | relevance | path

Searched refs:EF_SECTOR (Results 1 – 25 of 43) sorted by relevance

12

/dports/games/wolfpack/empire-4.4.1/include/
H A Dsect.h163 #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 Dfile.h150 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 Dfileinit.c48 {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 Dattsub.c132 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 Dlostsub.c110 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 Dnxtsct.c69 if (!ef_read(EF_SECTOR, np->id, sp)) in nxtsct()
H A Dcheck.c63 if (obj->ef_type == EF_SECTOR) in check_obj_ok()
H A Dsatmap.c97 if (type == EF_BAD || type == EF_SECTOR) { in satmap()
99 if (type == EF_SECTOR && !snxtsct_use_condarg(&ns)) in satmap()
H A Dsect.c104 lost_and_found(EF_SECTOR, prev_own, own, 0, sp->sct_x, sp->sct_y); in sct_prewrite()
H A Dmslsub.c66 type != EF_SECTOR ? "in " : "", in msl_launch()
139 if (type == EF_SECTOR || type == EF_LAND) { in msl_launch()
H A Dsnxtsct.c131 EF_SECTOR, player->condarg); in snxtsct_use_condarg()
/dports/games/wolfpack/empire-4.4.1/src/lib/commands/
H A Dstop.c64 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 Datta.c61 att_combat_init(def, EF_SECTOR); in c_attack()
95 att_combat_init(&off[++last], EF_SECTOR); in c_attack()
H A Dswap.c79 ef_set_uid(EF_SECTOR, &secta, sectb.sct_uid); in c_swapsector()
86 ef_set_uid(EF_SECTOR, &sectb, tmp.sct_uid); in c_swapsector()
H A Dsate.c45 static int sct_shp_or_lnd[] = { EF_SECTOR, EF_SHIP, EF_LAND, EF_BAD }; in c_satellite()
H A Dmfir.c71 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 Dlboard.c74 att_combat_init(off, EF_SECTOR); in c_lboard()
H A Dlaun.c232 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 Dfly.c87 if (target.gen.ef_type == EF_SECTOR in c_fly()
H A Dstre.c58 att_combat_init(def, EF_SECTOR); in c_strength()
H A Dsurv.c71 ptr = nstr_comp_val(ptr, &val, EF_SECTOR); in c_survey()
/dports/games/wolfpack/empire-4.4.1/src/lib/update/
H A Dfallout.c96 EF_SECTOR, sp->sct_x, sp->sct_y, 0); in do_fallout()
130 if (type == EF_SECTOR) in meltitems()
H A Dmain.c127 ef_flush(EF_SECTOR); in update_main()
H A Dpopulace.c57 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 Dempobj.c53 case EF_SECTOR: in empobj_chr_name()

12