2 //**************************************************************************
4 //** am_data.h : Heretic 2 : Raven Software, Corp.
11 //**************************************************************************
20 // a line drawing of the player pointing right, starting from the middle.
22 #define R ((8*PLAYERRADIUS)/7)
24 mline_t player_arrow[] = {
25 { { -R+R/4, 0 }, { 0, 0} }, // center line.
26 { { -R+R/4, R/8 }, { R, 0} }, // blade
27 { { -R+R/4, -R/8 }, { R, 0 } },
28 { { -R+R/4, -R/4 }, { -R+R/4, R/4 } }, // crosspiece
29 { { -R+R/8, -R/4 }, { -R+R/8, R/4 } },
30 { { -R+R/8, -R/4 }, { -R+R/4, -R/4} }, //crosspiece connectors
31 { { -R+R/8, R/4 }, { -R+R/4, R/4} },
32 { { -R-R/4, R/8 }, { -R-R/4, -R/8 } }, //pommel
33 { { -R-R/4, R/8 }, { -R+R/8, R/8 } },
34 { { -R-R/4, -R/8}, { -R+R/8, -R/8 } }
38 mline_t keysquare[] = {
39 { { 0, 0 }, { R/4, -R/2 } },
40 { { R/4, -R/2 }, { R/2, -R/2 } },
41 { { R/2, -R/2 }, { R/2, R/2 } },
42 { { R/2, R/2 }, { R/4, R/2 } },
43 { { R/4, R/2 }, { 0, 0 } }, // handle part type thing
44 { { 0, 0 }, { -R, 0 } }, // stem
45 { { -R, 0 }, { -R, -R/2 } }, // end lockpick part
46 { { -3*R/4, 0 }, { -3*R/4, -R/4 } }
50 /*mline_t player_arrow[] = {
51 { { -R+R/8, 0 }, { R, 0 } }, // -----
52 { { R, 0 }, { R-R/2, R/4 } }, // ----->
53 { { R, 0 }, { R-R/2, -R/4 } },
54 { { -R+R/8, 0 }, { -R-R/8, R/4 } }, // >---->
55 { { -R+R/8, 0 }, { -R-R/8, -R/4 } },
56 { { -R+3*R/8, 0 }, { -R+R/8, R/4 } }, // >>--->
57 { { -R+3*R/8, 0 }, { -R+R/8, -R/4 } }
61 #define NUMPLYRLINES (sizeof(player_arrow)/sizeof(mline_t))
62 #define NUMKEYSQUARELINES (sizeof(keysquare)/sizeof(mline_t))
65 #define R ((8*PLAYERRADIUS)/7)
66 mline_t cheat_player_arrow[] = {
67 { { -R+R/8, 0 }, { R, 0 } }, // -----
68 { { R, 0 }, { R-R/2, R/6 } }, // ----->
69 { { R, 0 }, { R-R/2, -R/6 } },
70 { { -R+R/8, 0 }, { -R-R/8, R/6 } }, // >----->
71 { { -R+R/8, 0 }, { -R-R/8, -R/6 } },
72 { { -R+3*R/8, 0 }, { -R+R/8, R/6 } }, // >>----->
73 { { -R+3*R/8, 0 }, { -R+R/8, -R/6 } },
74 { { -R/2, 0 }, { -R/2, -R/6 } }, // >>-d--->
75 { { -R/2, -R/6 }, { -R/2+R/6, -R/6 } },
76 { { -R/2+R/6, -R/6 }, { -R/2+R/6, R/4 } },
77 { { -R/6, 0 }, { -R/6, -R/6 } }, // >>-dd-->
78 { { -R/6, -R/6 }, { 0, -R/6 } },
79 { { 0, -R/6 }, { 0, R/4 } },
80 { { R/6, R/4 }, { R/6, -R/7 } }, // >>-ddt->
81 { { R/6, -R/7 }, { R/6+R/32, -R/7-R/32 } },
82 { { R/6+R/32, -R/7-R/32 }, { R/6+R/10, -R/7 } }
85 #define NUMCHEATPLYRLINES (sizeof(cheat_player_arrow)/sizeof(mline_t))
91 mline_t triangle_guy[] = {
92 { { -.867*R, -.5*R }, { .867*R, -.5*R } },
93 { { .867*R, -.5*R } , { 0, R } },
94 { { 0, R }, { -.867*R, -.5*R } }
97 #define NUMTRIANGLEGUYLINES (sizeof(triangle_guy)/sizeof(mline_t))
101 mline_t thintriangle_guy[] = {
102 { { -.5*R, -.7*R }, { R, 0 } },
103 { { R, 0 }, { -.5*R, .7*R } },
104 { { -.5*R, .7*R }, { -.5*R, -.7*R } }
107 #define NUMTHINTRIANGLEGUYLINES (sizeof(thintriangle_guy)/sizeof(mline_t))