/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/ |
H A D | mainint.c | 3003 this_player->armor = this_player->initial_armor; in JE_playerMovement() 3005 this_player->armor = this_player->initial_armor / 2; in JE_playerMovement() 3010 this_player->shield = this_player->shield_max / 2; in JE_playerMovement() 3487 this_player->x += this_player->x_velocity; in JE_playerMovement() 3488 this_player->y += this_player->y_velocity; in JE_playerMovement() 3495 this_player->old_x[i - 1] = this_player->old_x[i]; in JE_playerMovement() 3496 this_player->old_y[i - 1] = this_player->old_y[i]; in JE_playerMovement() 3573 this_player->last_x_explosion_follow = this_player->x; in JE_playerMovement() 3574 this_player->last_y_explosion_follow = this_player->y; in JE_playerMovement() 3707 this_player->delta_x_shot_move = this_player->x - this_player->last_x_shot_move; in JE_playerMovement() [all …]
|
H A D | player.c | 23 void calc_purple_balls_needed( Player *this_player ) in calc_purple_balls_needed() argument 27 this_player->purple_balls_needed = purple_balls_required[*this_player->lives]; in calc_purple_balls_needed() 30 bool power_up_weapon( Player *this_player, uint port ) in power_up_weapon() argument 32 const bool can_power_up = this_player->items.weapon[port].id != 0 && // not None in power_up_weapon() 36 ++this_player->items.weapon[port].power; in power_up_weapon() 39 calc_purple_balls_needed(this_player); in power_up_weapon() 43 this_player->cash += 1000; in power_up_weapon() 49 void handle_got_purple_ball( Player *this_player ) in handle_got_purple_ball() argument 51 if (this_player->purple_balls_needed > 1) in handle_got_purple_ball() 52 --this_player->purple_balls_needed; in handle_got_purple_ball() [all …]
|
/dports/net/dgd-lpmud/mud/2.4.5/obj/ |
H A D | soul.c | 7 the_owner = this_player(); in get() 8 cap_name = call_other(this_player(), "query_name", 0); in get() 21 the_owner = this_player(); in ghost() 22 cap_name = call_other(this_player(), "query_name", 0); in ghost() 23 return call_other(this_player(), "query_ghost"); in ghost() 27 the_owner = this_player(); in init() 28 cap_name = call_other(this_player(), "query_name", 0); in init() 133 if (!who || !living(who) || who == this_player()) in bow() 411 who = present(str, environment(this_player())); in kick() 426 who = present(str, environment(this_player())); in kiss() [all …]
|
H A D | explore_xp.c | 63 if ( this_player() && this_player()->query_level() >= 20) 71 if ( this_player() && query_ip_number( this_player())) { in init() 72 if (! PlayerHasVisited( this_player()->query_name())) { in init() 74 tell_object( this_player(), OKMessage); in init() 76 tell_object( this_player(), "You feel more experienced.\n"); in init() 77 this_player()->add_exp( AmountOfPlayerXP()); in init() 78 AddPlayerToList( this_player()->query_name()); in init() 82 tell_object( this_player(), FailMessage); in init() 105 if ( this_player()) { in AmountOfPlayerXP() 107 Level = this_player()->query_level(); in AmountOfPlayerXP()
|
H A D | trace2.c | 110 if (this_player() && this_player()->query_level() < 20) in get() 209 return environment(this_player()); in find_item() 238 prev = environment(this_player()); in find_item() 265 prev = environment(this_player()); in parse_list() 335 say(this_player()->query_name() + " " + this_player()->query_mmsgout() + in Goto() 337 move_object(this_player(), mark); in Goto() 338 say(this_player()->query_name() + " " + this_player()->query_mmsgin() + in Goto() 359 move_object(this_player(), mark); in in() 361 move_object(this_player(), here); in in() 397 move_object(this_player(), ob); in In() [all …]
|
H A D | quicktyper.c | 103 if(!refreshing && this_player()) { in reset() 104 owner = call_other(this_player(), "query_name"); in reset() 118 if(!list_ab && this_player()) { in init_alias_list() 119 obj = first_inventory(this_player()); in init_alias_list() 162 if(this_player()) { in init() 205 call_out("refresh", 30, this_player()); in init() 213 refresh(this_player()); in do_refresh() 361 command(list_history[pos], this_player()); in do_old() 430 call_out("refresh", 20, this_player()); in history_add() 684 command(list_cmd[i], this_player()); in do_it() [all …]
|
H A D | trace.c | 111 if (this_player() && this_player()->query_level() < 20) in get() 228 return environment(this_player()); in find_item() 257 prev = environment(this_player()); in find_item() 284 prev = environment(this_player()); in parse_list() 354 say(this_player()->query_name() + " " + this_player()->query_mmsgout() + in Goto() 356 move_object(this_player(), mark); in Goto() 357 say(this_player()->query_name() + " " + this_player()->query_mmsgin() + in Goto() 378 move_object(this_player(), mark); in in() 380 move_object(this_player(), here); in in() 418 move_object(this_player(), ob); in In() [all …]
|
/dports/games/ldmud/ldmud-3.3.720/mud/lp-245/obj/ |
H A D | soul.c | 7 the_owner = this_player(); in get() 8 cap_name = this_player()->query_name(); in get() 21 the_owner = this_player(); in ghost() 22 cap_name = this_player()->query_name(); in ghost() 23 return this_player()->query_ghost(); in ghost() 27 the_owner = this_player(); in init() 28 cap_name = this_player()->query_name(); in init() 133 if (!who || !living(who) || who == this_player()) in bow() 411 who = present(str, environment(this_player())); in kick() 426 who = present(str, environment(this_player())); in kiss() [all …]
|
H A D | explore_xp.c | 64 if ( this_player() && this_player()->query_level() >= 20) 89 if ( this_player()) { in AmountOfPlayerXP() 91 Level = this_player()->query_level(); in AmountOfPlayerXP() 103 if ( this_player() && query_ip_number( this_player())) { in init() 104 if (! PlayerHasVisited( this_player()->query_name())) { in init() 106 tell_object( this_player(), OKMessage); in init() 108 tell_object( this_player(), "You feel more experienced.\n"); in init() 109 this_player()->add_exp( AmountOfPlayerXP()); in init() 110 AddPlayerToList( this_player()->query_name()); in init() 114 tell_object( this_player(), FailMessage); in init()
|
H A D | trace2.c | 12 if (this_player()->query_level() >= 20) { in init() 31 return environment(this_player()); in find_item() 60 prev = environment(this_player()); in find_item() 108 prev = environment(this_player()); in parse_list() 211 if (this_player() && this_player()->query_level() < 20) in get() 261 say(this_player()->query_name() + in Call() 356 say(this_player()->query_name() + " " + this_player()->query_mmsgout() + in Goto() 358 move_object(this_player(), mark); in Goto() 359 say(this_player()->query_name() + " " + this_player()->query_mmsgin() + in Goto() 398 move_object(this_player(), ob); in In() [all …]
|
H A D | quicktyper.c | 103 if (this_player()) write(environment(this_player())); in reset() 108 if(!refreshing && this_player()) { in reset() 109 owner = this_player()->query_name(); in reset() 121 if(!list_ab && this_player()) { in init_alias_list() 122 obj = first_inventory(this_player()); in init_alias_list() 165 if(this_player()) { in init() 166 owner = this_player()->query_name(); in init() 181 if(this_player()->query_level() >= 20) { in init() 216 refresh(this_player()); in do_refresh() 377 owner = this_player()->query_name(); in history() [all …]
|
H A D | trace.c | 12 if (this_player()->query_level() >= 20) { in init() 53 return environment(this_player()); in find_item() 82 prev = environment(this_player()); in find_item() 109 prev = environment(this_player()); in parse_list() 212 if (this_player() && this_player()->query_level() < 20) in get() 262 say(this_player()->query_name() + in Call() 377 say(this_player()->query_name() + " " + this_player()->query_mmsgout() + in Goto() 379 move_object(this_player(), mark); in Goto() 380 say(this_player()->query_name() + " " + this_player()->query_mmsgin() + in Goto() 419 move_object(this_player(), ob); in In() [all …]
|
/dports/net/dgd-lpmud/mud/2.4.5/room/ |
H A D | adv_guild.c | 175 player_ob = this_player(); in query_cost() 200 player_ob = this_player(); in cost_for_level() 275 player_ob = this_player(); in advance() 333 lvl = this_player()->query_con(); in raise_con() 340 this_player()->set_con(lvl + 1); in raise_con() 360 this_player()->set_dex(lvl + 1); in raise_dex() 380 this_player()->set_int(lvl + 1); in raise_int() 400 this_player()->set_str(lvl + 1); in raise_str() 424 this_player()->add_exp(-cost); in raise_cost() 498 if ((this_player()->query_con() + this_player()->query_str() + in too_high_average() [all …]
|
/dports/games/ldmud/ldmud-3.3.720/mud/lp-245/room/ |
H A D | adv_guild.c | 186 player_ob = this_player(); in query_cost() 211 player_ob = this_player(); in cost_for_level() 286 player_ob = this_player(); in advance() 351 this_player()->set_con(lvl + 1); in raise_con() 371 this_player()->set_dex(lvl + 1); in raise_dex() 391 this_player()->set_int(lvl + 1); in raise_int() 411 this_player()->set_str(lvl + 1); in raise_str() 435 this_player()->add_exp(-cost); in raise_cost() 473 say(this_player()->query_name(0) + in south() 509 if ((this_player()->query_con() + this_player()->query_str() + in too_high_average() [all …]
|
/dports/games/ldmud/ldmud-3.3.720/mud/lp-245/players/lars/ |
H A D | wand.c | 70 say(call_other(this_player(), "query_name") + in wave() 126 say(call_other(this_player(), "query_name") + in set_new_value() 187 ob = environment(this_player()); in remove() 192 call_other(this_player(), "X#players/" + in remove() 225 ob = environment(this_player()); in patch() 227 ob = present(name, environment(this_player())); in patch() 229 what = this_player(); in patch() 237 say(call_other(this_player(), "query_name") + in patch() 257 ob = present(obj, this_player()); in destr() 281 if (ob == this_player()) { in low_remove() [all …]
|
/dports/net/dgd-lpmud/mud/2.4.5/players/lars/ |
H A D | wand.c | 70 say(call_other(this_player(), "query_name") + in wave() 126 say(call_other(this_player(), "query_name") + in set_new_value() 187 ob = environment(this_player()); in remove() 192 call_other(this_player(), "X#players/" + in remove() 224 ob = environment(this_player()); in patch() 226 ob = present(name, environment(this_player())); in patch() 228 what = this_player(); in patch() 236 say(call_other(this_player(), "query_name") + in patch() 256 ob = present(obj, this_player()); in destr() 280 if (ob == this_player()) { in low_remove() [all …]
|
/dports/games/ldmud/ldmud-3.3.720/mud/lp-245/room/maze1/ |
H A D | maze4.c | 25 this_player()->move_player("north#room/maze1/maze5"); in e0() 27 this_player()->move_player("north#room/maze1/maze3"); in e0() 33 this_player()->move_player("south#room/maze1/maze5"); in e1() 35 this_player()->move_player("south#room/maze1/maze2"); in e1() 41 this_player()->move_player("east#room/maze1/maze5"); in e2() 43 this_player()->move_player("east#room/well"); in e2() 49 this_player()->move_player("west#room/maze1/maze5"); in e3() 51 this_player()->move_player("west#room/well"); in e3()
|
H A D | maze3.c | 25 this_player()->move_player("north#room/maze1/maze4"); in e0() 27 this_player()->move_player("north#room/maze1/maze2"); in e0() 33 this_player()->move_player("south#room/maze1/maze4"); in e1() 35 this_player()->move_player("south#room/maze1/maze1"); in e1() 41 this_player()->move_player("east#room/maze1/maze4"); in e2() 43 this_player()->move_player("east#room/well"); in e2() 49 this_player()->move_player("west#room/maze1/maze4"); in e3() 51 this_player()->move_player("west#room/well"); in e3()
|
H A D | maze1.c | 25 this_player()->move_player("north#room/maze1/maze2"); in e0() 27 this_player()->move_player("north#room/well"); in e0() 33 this_player()->move_player("south#room/maze1/maze2"); in e1() 35 this_player()->move_player("south#room/well"); in e1() 41 this_player()->move_player("east#room/maze1/maze2"); in e2() 43 this_player()->move_player("east#room/well"); in e2() 49 this_player()->move_player("west#room/maze1/maze2"); in e3() 51 this_player()->move_player("west#room/well"); in e3()
|
H A D | maze2.c | 25 this_player()->move_player("north#room/maze1/maze3"); in e0() 27 this_player()->move_player("north#room/maze1/maze1"); in e0() 33 this_player()->move_player("south#room/maze1/maze3"); in e1() 35 this_player()->move_player("south#room/maze1/maze1"); in e1() 41 this_player()->move_player("east#room/maze1/maze3"); in e2() 43 this_player()->move_player("east#room/well"); in e2() 49 this_player()->move_player("west#room/maze1/maze3"); in e3() 51 this_player()->move_player("west#room/well"); in e3()
|
/dports/net/dgd-lpmud/mud/2.4.5/room/maze1/ |
H A D | maze1.c | 25 call_other(this_player(), "move_player", "north#room/maze1/maze2"); in e0() 27 call_other(this_player(), "move_player", "north#room/well"); in e0() 33 call_other(this_player(), "move_player", "south#room/maze1/maze2"); in e1() 35 call_other(this_player(), "move_player", "south#room/well"); in e1() 41 call_other(this_player(), "move_player", "east#room/maze1/maze2"); in e2() 43 call_other(this_player(), "move_player", "east#room/well"); in e2() 49 call_other(this_player(), "move_player", "west#room/maze1/maze2"); in e3() 51 call_other(this_player(), "move_player", "west#room/well"); in e3()
|
H A D | maze2.c | 25 call_other(this_player(), "move_player", "north#room/maze1/maze3"); in e0() 27 call_other(this_player(), "move_player", "north#room/maze1/maze1"); in e0() 33 call_other(this_player(), "move_player", "south#room/maze1/maze3"); in e1() 35 call_other(this_player(), "move_player", "south#room/maze1/maze1"); in e1() 41 call_other(this_player(), "move_player", "east#room/maze1/maze3"); in e2() 43 call_other(this_player(), "move_player", "east#room/well"); in e2() 49 call_other(this_player(), "move_player", "west#room/maze1/maze3"); in e3() 51 call_other(this_player(), "move_player", "west#room/well"); in e3()
|
H A D | maze3.c | 25 call_other(this_player(), "move_player", "north#room/maze1/maze4"); in e0() 27 call_other(this_player(), "move_player", "north#room/maze1/maze2"); in e0() 33 call_other(this_player(), "move_player", "south#room/maze1/maze4"); in e1() 35 call_other(this_player(), "move_player", "south#room/maze1/maze1"); in e1() 41 call_other(this_player(), "move_player", "east#room/maze1/maze4"); in e2() 43 call_other(this_player(), "move_player", "east#room/well"); in e2() 49 call_other(this_player(), "move_player", "west#room/maze1/maze4"); in e3() 51 call_other(this_player(), "move_player", "west#room/well"); in e3()
|
H A D | maze4.c | 25 call_other(this_player(), "move_player", "north#room/maze1/maze5"); in e0() 27 call_other(this_player(), "move_player", "north#room/maze1/maze3"); in e0() 33 call_other(this_player(), "move_player", "south#room/maze1/maze5"); in e1() 35 call_other(this_player(), "move_player", "south#room/maze1/maze2"); in e1() 41 call_other(this_player(), "move_player", "east#room/maze1/maze5"); in e2() 43 call_other(this_player(), "move_player", "east#room/well"); in e2() 49 call_other(this_player(), "move_player", "west#room/maze1/maze5"); in e3() 51 call_other(this_player(), "move_player", "west#room/well"); in e3()
|
/dports/games/ldmud/ldmud-3.3.720/src/util/xerq/lpc/ |
H A D | _telnet.c | 8 if (!adminp(this_player())) in main() 11 if (sessions[this_player()] == 0) in main() 14 (void)sessions[this_player()]->reattach(); in main() 18 if (sessions[this_player()] == 0) in main() 21 destruct(sessions[this_player()]); in main() 24 if (sessions[this_player()]) in main() 30 sessions[this_player()] = clone_object(TELNET_OB); in main() 31 (void)sessions[this_player()]->start(host, port); in main()
|