ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/typemap
Revision: 1.9
Committed: Mon Dec 25 11:25:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.8: +10 -15 lines
Log Message:
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

File Contents

# Content
1 val64 T_VAL64
2 uint64 T_VAL64
3
4 object * T_CF_OBJ
5 partylist * T_CF_OBJ
6 archetype * T_CF_OBJ
7 maptile * T_CF_OBJ
8 region * T_CF_OBJ
9 client * T_CF_OBJ
10 player * T_CF_OBJ
11 living * T_CF_OBJ
12
13 Settings * T_SETTINGS
14
15 object_ornull * T_CF_OBJ_ORNULL
16 mapstruct_ornull * T_CF_OBJ_ORNULL
17
18 INPUT
19
20 T_VAL64
21 $var = ($type)SvVAL64 ($arg);
22
23 T_CF_OBJ
24 sv_to ($arg, $var)
25
26 T_SETTINGS
27 $var = &settings
28
29 T_CF_OBJ_ORNULL
30 if (SvOK ($arg))
31 sv_to ($arg, $var);
32 else
33 $var = 0;
34
35 OUTPUT
36
37 T_VAL64
38 $arg = newSVval64 ($var);
39
40 T_CF_OBJ_NORNULL
41 $arg = to_sv ($var);
42
43 T_CF_OBJ
44 $arg = to_sv ($var);
45