 |
|
tombom
|
|
Pining for the fjords
Oct 2004 time: 05:26
|
|
Is there any easy way to do this? I tried a version of AddStrNode which simply modifies the contents of the node when it finds it existing, but I always get an access violation.
EDIT: Actually, it simply has no effect.
Last edited by tombom on 06-02-2005 at 21:43
|
|
|  |
 |
|
tombom
|
|
Pining for the fjords
Oct 2004 time: 05:26
|
|
I meant while in the code changing the value of a string already existing in g_theStringDB.
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:26
|
|
The data of the databases are stored in simple text files, e.g. unit.txt, tileimp.txt, goods.txt, strategies.txt, etc.
The data is loaded into the program on startup or on game reload. (Necessary for scenarios with different rule sets.)
For a standart game this means that you can change the rules during the game, but not to extensive, as the game for instance saves which technology you have and that is an index into the database.
And so far I don't see the sense behind adding or modifing a string during the game, to that database that can be done off-line, since it should be clear before the game which strings will be used.
-Martin
|
|
|  |
All times are GMT. The time now is 05:26. Apolyton Time is 00:26. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|