-
Notifications
You must be signed in to change notification settings - Fork 1
/
structs.plantuml
124 lines (103 loc) · 1.27 KB
/
structs.plantuml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@startuml;
class TehMemry {
-- assets --
+model_c
+model_v
+pixmap_c
+pixmap_v
-- game --
+game
-- sdl --
+sdl_window_surface
}
TehMemry *-- "*" Model
TehMemry *-- "*" Pixmap
TehMemry *-- "1" Game
class Pixmap {
+id
+name
__
+sdl_surface
+gl_tex_id
}
class Model {
+id
+name
-- vertices --
+vertex_c
+vertex_v
+gl_vertex_pointer
-- indices --
+index_c
+index_v
+gl_index_pointer
-- tex coords --
+tex_coord_c
+tex_coord_v
+gl_tex_coord_pointer
-- textures --
-tex_pixmap_name
+tex_pixmap_id
}
Model <|-- AniModel
Model <|-- BspModel
Model -- "1" Pixmap
class AniModel {
-- vertices --
+vertex_frame_len
-- transitions --
+trans_t
+trans_c
+trans_v
-- sequences --
+seq_c
+seq_v
}
class Trans {
+vertex_off_1
+vertex_off_2
+w1
+w2
}
AniModel *-- "*" Trans
class BspModel {
+node_c
+node_v
+root_id
}
class BspNode {
+is_leaf
+is_solid
+n
+h
+front_id
+back_id
}
BspModel *-- "1" BspNode
BspNode *-- "0..2" BspNode
class Game {
-- za_warudo --
+za_warudo
-- entities --
+genty_c
+genty_v
}
Game *-- "1" ZaWarudo
Game *-- "*" Genty
class ZaWarudo {
}
ZaWarudo -- "1" BspModel
class Genty {
+name
+pos
+boxxy
-model_name
+model_id
}
Genty -- "1" AniModel
class Controller {
}
class Renderer {
+sdl_surface
}
@enduml;