Alexander van Gessel
3939490173
Correct another persist error message
2013-04-03 14:41:37 +02:00
Alexander van Gessel
a3fd22e46f
Fix some error messages in persist
2013-04-03 10:04:14 +02:00
Eric S. Raymond
043c4f9fd3
Remove $Id$ cookies.
2013-03-26 21:41:37 -04:00
Mark de Wever
43b71f2ff0
New year copyright update.
2013-01-01 09:22:03 +00:00
Anja Keicher
c17d84b12f
Moved in-game data to make sure it can't be accessed out of game
2012-07-26 15:18:08 +00:00
Ignacio R. Morelle
6ca69b2df5
New year copyright update
2012-01-07 02:35:17 +00:00
Alexander van Gessel
81e0a2007f
Revert token t_token commits from 2011-09-08T19:15:40Z!thonsew@yahoo.com on.
2011-10-10 03:43:29 +01:00
Thonsew
cdb129508d
Fix implicit static cast...
...
...of config::attribute_value & to tstring & or t_token reference
causes crashes. Some compilers were generating a temporary object and
binding a reference to the temporary when creating an implicit cast to
an attribute value. I removed the implicit cast and replaced all (I
think) instances of the implicit cast with explicit 2 step operation.
This fixes bugs like bug #18663 , bug #18684
2011-09-20 21:20:54 +00:00
Mark de Wever
ecbabea838
New year copyright update.
2011-01-01 15:57:50 +00:00
Alexander van Gessel
9a508b5730
Remove the 'gzipped' parameters from the network API.
...
ANA did not even implement binary WML.
2010-11-17 00:28:08 +01:00
Guillaume Melquiond
eeb047de55
Fixed file headers so that they match the content of the COPYING file.
2010-09-01 21:12:38 +00:00
Mark de Wever
334678565d
Strip trailing whitespace.
2010-08-23 18:31:59 +00:00
Guillaume Melquiond
a2d2de6ee6
Avoided costly roundtrip through strings.
2010-08-21 07:18:51 +00:00
Jody Northup
84938e08c1
Added boolean attribute "immediate" to [set_global_variable]...
...
...and [clear_global_variable]. If yes, the changes will be written to
file immediately, independently of any ongoing transaction. Defaults
to no.
2010-08-16 05:56:05 +00:00
Jody Northup
eb92bc0a47
resolve log naming conflict between persist_variable...
...
...functionality and savegame functionality.
2010-08-15 22:25:26 +00:00
Jody Northup
4ee863d547
Corrected a signed/unsigned comparison mismatch.
2010-08-15 21:52:14 +00:00
Jody Northup
41849e6fe9
refactored set_global_variable() and clear_global_variable()...
...
...so that side verification happens during the "verify_and_*" phase.
2010-08-15 17:56:42 +00:00
Jody Northup
c7f7f7fdf7
Allowed [get_global_variable] in start events for single player mode,
...
...but not for MP. As silene did with [message] in 2010-08-10T17:16:22Z!guillaume.melquiond@gmail.com.
2010-08-11 04:59:21 +00:00
Guillaume Melquiond
46ab9253dd
Fixed compilation warning.
2010-08-10 12:08:15 +00:00
Jody Northup
4985f1cbe9
Persistent variables can now be retrieved from remote players...
...
...even when it is not their turn.
2010-08-10 10:48:40 +00:00
Jody Northup
9434b3192e
reverting the changes to mp_sync framework at silene's request.
2010-08-04 13:27:57 +00:00
Jody Northup
b584b3b7af
fixed get_global_variable to use mp_sync framework,
...
...slightly modified mp_sync framework to allow for usage during
events that occur before state_of_game->phase() = PLAY
2010-08-04 12:54:31 +00:00
Jody Northup
040e1bc1b5
updated set_global_variable and get_global_variable handlers...
...
...to support arrays as intended.
2010-08-02 06:40:23 +00:00
Jody Northup
55f1280b07
Added persist_manager class to handle saving,
...
...loading, caching and (not yet implemented) atomic transactions of
data.
2010-06-23 05:01:24 +00:00
Steven Panek
987c3f8245
Removed substituted keywords that should not be present in version control.
2010-05-29 06:55:39 +00:00
Mark de Wever
29967e777a
Strip trailing whitespace.
2010-05-24 17:44:44 +00:00
Mark de Wever
e672d0379f
Fix some compiler warnings.
2010-05-03 18:38:22 +00:00
Jody Northup
82b2224ca2
Merge persistence branch back into trunk as per Crab's instruction.
2010-05-02 22:55:34 +00:00