-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathact3.h
56 lines (51 loc) · 1.44 KB
/
act3.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#pragma once
#include "defs.h"
#include "room.h"
#include "funcs.h"
#include "dung.h"
extern ObjectP timber_tie;
extern ObjectP matobj;
bool bad_egg(const ObjectP &begg);
bool cpgoto(int fx);
ScolWalls get_wall(const RoomP& rm);
bool held(const ObjectP& obj);
bool pdoor(std::string_view str, const ObjectP& lid, const ObjectP& keyhole);
ObjectP pkh(ObjectP keyhole, bool this_ = false);
const ObjectP& plid(const ObjectP& obj1 = sfind_obj("PLID1"), const ObjectP& obj2 = sfind_obj("PLID2"));
bool rope_away(const ObjectP& rope, const RoomP& rm);
bool scol_obj(const ObjectP& obj, int cint, const RoomP& rm);
bool scol_through(int cint, const RoomP& rm);
bool slider(const ObjectP& obj);
std::string username();
bool pass_the_bucket(const RoomP& r, const ObjectP& b);
RAPPLIC(chomp);
struct climb_up
{
bool operator()(Rarg arg = Rarg(), direction dir = direction::Up, bool noobj = false) { return (*this)(dir, noobj); }
bool operator()(direction dir = direction::Up, bool noobj = false) const;
};
RAPPLIC(climb_down);
RAPPLIC(climb_foo);
RAPPLIC(count);
RAPPLIC(enter);
RAPPLIC(frobozz);
RAPPLIC(knock);
RAPPLIC(maker);
RAPPLIC(oops);
RAPPLIC(play);
RAPPLIC(put_under);
RAPPLIC(scol_clock);
RAPPLIC(sender);
RAPPLIC(smeller);
RAPPLIC(untie_from);
RAPPLIC_DEF(through, ObjectP, ObjectP());
RAPPLIC(win);
RAPPLIC(wind);
RAPPLIC(wisher);
RAPPLIC(yell);
RAPPLIC(zgnome_init);
namespace obj_funcs
{
bool scol_object_(const ObjectP &obj);
RAPPLIC(slide_cint);
}