]> icculus.org git repositories - theoddone33/hhexen.git/blob - include/am_data.h
osezer patch 011
[theoddone33/hhexen.git] / include / am_data.h
1
2 //**************************************************************************
3 //**
4 //** am_data.h : Heretic 2 : Raven Software, Corp.
5 //**
6 //** $RCSfile$
7 //** $Revision$
8 //** $Date$
9 //** $Author$
10 //**
11 //**************************************************************************
12
13 #ifndef __AMDATA_H__
14 #define __AMDATA_H__
15
16 #ifndef __linux
17 #pragma once
18 #endif
19
20 // a line drawing of the player pointing right, starting from the middle.
21
22 #define R ((8*PLAYERRADIUS)/7)
23
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 } }
35   };
36
37 /*
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 } }
47         };
48 */
49
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 } }
58   };
59 */
60 #undef R
61 #define NUMPLYRLINES (sizeof(player_arrow)/sizeof(mline_t))
62 #define NUMKEYSQUARELINES (sizeof(keysquare)/sizeof(mline_t))
63
64 /*
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 } }
83   };
84 #undef R
85 #define NUMCHEATPLYRLINES (sizeof(cheat_player_arrow)/sizeof(mline_t))
86 */
87
88
89 /*
90 #define R (FRACUNIT)
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 } }
95   };
96 #undef R
97 #define NUMTRIANGLEGUYLINES (sizeof(triangle_guy)/sizeof(mline_t))
98 */
99
100 #define R (FRACUNIT)
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 } }
105   };
106 #undef R
107 #define NUMTHINTRIANGLEGUYLINES (sizeof(thintriangle_guy)/sizeof(mline_t))
108
109 #endif
110