comparison: src/Variables.cc
src/Variables.cc
- changeset 101
- 9ffae10ef76f
- parent 88
- 5def6ff8b466
equal
deleted
inserted
replaced
58 |
58 |
59 ScriptVariable g; |
59 ScriptVariable g; |
60 g.index = g_GlobalVariables.Size(); |
60 g.index = g_GlobalVariables.Size(); |
61 g.name = name; |
61 g.name = name; |
62 g.statename = ""; |
62 g.statename = ""; |
63 g.value = 0; |
|
64 g.type = type; |
63 g.type = type; |
65 |
64 |
66 g_GlobalVariables << g; |
65 g_GlobalVariables << g; |
67 return &g_GlobalVariables[g.index]; |
66 return &g_GlobalVariables[g.index]; |
68 } |
67 } |