ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/typemap
Revision: 1.14
Committed: Sun Mar 11 02:12:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.13: +1 -0 lines
Log Message:
- MAJOR CHANGE
- you now need to use cfutil to install arches.
- former bigfaces are broken in the server
- bigfaces are no longer supported. at all.
- use face numbers instead of pointers
  * saves lotsa space
  * saves lotsa indirections
  * saves lots(?) cpu cycles
- completely rewrote face handling
- faces can now be added at runtime
- reload will add new faces
- this does not apply to animations
- use a hastable instead of binary search (faster) for faces
- face caching is broken
- facesets are gone
- server always reports MAX_FACES to any client who asks

File Contents

# User Rev Content
1 root 1.1 val64 T_VAL64
2     uint64 T_VAL64
3 root 1.11 sint16 T_INT
4 root 1.13 sint8 T_INT
5 root 1.1
6 root 1.9 object * T_CF_OBJ
7 root 1.7 partylist * T_CF_OBJ
8     archetype * T_CF_OBJ
9     maptile * T_CF_OBJ
10 root 1.12 struct region * T_CF_OBJ
11 root 1.7 region * T_CF_OBJ
12 root 1.8 client * T_CF_OBJ
13 root 1.7 player * T_CF_OBJ
14     living * T_CF_OBJ
15 root 1.10 attachable * T_CF_OBJ
16 root 1.14 faceset * T_CF_OBJ
17 root 1.7
18 root 1.6 Settings * T_SETTINGS
19 root 1.1
20 root 1.9 object_ornull * T_CF_OBJ_ORNULL
21     mapstruct_ornull * T_CF_OBJ_ORNULL
22 root 1.1
23     INPUT
24    
25     T_VAL64
26     $var = ($type)SvVAL64 ($arg);
27    
28 root 1.7 T_CF_OBJ
29 root 1.4 sv_to ($arg, $var)
30 root 1.7
31 root 1.6 T_SETTINGS
32 root 1.9 $var = &settings
33 root 1.7
34 root 1.9 T_CF_OBJ_ORNULL
35     if (SvOK ($arg))
36     sv_to ($arg, $var);
37     else
38     $var = 0;
39 root 1.1
40     OUTPUT
41    
42     T_VAL64
43     $arg = newSVval64 ($var);
44    
45 root 1.9 T_CF_OBJ_NORNULL
46 root 1.4 $arg = to_sv ($var);
47 root 1.7
48     T_CF_OBJ
49 root 1.4 $arg = to_sv ($var);
50 root 1.1