Mark de Wever
9fe0b37bdf
Add a missing virtual destructor.
2011-09-08 19:33:51 +00:00
Mark de Wever
bae50a5556
Remove a not allowed typename.
2011-09-08 19:33:48 +00:00
Mark de Wever
d0b97762ad
Add the newly added file to cmake.
2011-09-08 19:33:45 +00:00
Mark de Wever
10ae03fc99
Fix a gcc warning.
2011-09-08 19:23:49 +00:00
Mark de Wever
053ea6f383
Remove a not allowed typename.
2011-09-08 19:23:45 +00:00
Thonsew
622421be99
Added liminal t_token
2011-09-08 19:18:02 +00:00
Thonsew
1a5810656b
[[t_token optimizations]]
...
1. Updated terrain_builder to use t_token in place of std::string to
facilitate fast copying, hashing and comparison
2. Added utils::parenthetical_split_token, a cached parenthetical
version of the string version
3. Made the lru_cache faster for the cache miss case.
2011-09-08 19:17:55 +00:00
Thonsew
d56fbf14fe
Upgraded unit_animation and unit_frame to use t_token and t_interned.
...
1. Changed std::strings to t_token when used as indices.
2. Made a frame_parsed_parameters token resulting in upto 25% memory
savings if unit animations are on for a large variety of units.
2011-09-08 19:17:48 +00:00
Thonsew
7e99017fa4
Updated image.cpp to
...
1. Use t_token in place of std:string to save on string construction
2. Use boost::unordered_map in place of std::map as per todo by silene
2011-09-08 19:17:41 +00:00
Thonsew
3a41db7acd
Updated unit_types to use t_token...
...
...in place of std::string and to replace std::map with
boost::unordered_map in the t_move_cost_cache, both to increase speed.
2011-09-08 19:17:31 +00:00
Thonsew
82e7d2c6f8
Made load dialog faster when there are many saved games.
...
1. Added a child_range_index member function to config to generate an index
2. Changed the load dialog from the O(N^2) search for saved games to a
O(N) listing.
2011-09-08 19:17:20 +00:00
Thonsew
81c2162d93
Made config::child_range re-entrant.
2011-09-08 19:17:04 +00:00
Thonsew
787e123761
Updated tod_manager to use t_tokens.
2011-09-08 19:16:57 +00:00
Thonsew
9ce82aec1a
Upgraded game_events.cpp...
...
...and files that interacted with game_events to use t_token in place
of std::string for config objects
2011-09-08 19:16:49 +00:00
Thonsew
2f2cefad5c
Changed serialization/tokenizer to use config::t_token to speed up parsing
2011-09-08 19:16:39 +00:00
Thonsew
4637a2586f
Added a valgrind memcheck suppression file...
...
...for suppression of static initialization allocation without a
delete warnings
2011-09-08 19:16:33 +00:00
Thonsew
576a3feab1
Updated parts of unit class to use t_token...
...
...in place of std:string in order to speed up comparisons, copies and
hashing which are 1 cycle operations.
Added z_sub t_token.
Added lru_cache unit test
2011-09-08 19:16:26 +00:00
Thonsew
abb678b080
Updated actions.cpp to use t_token in place of string literals
2011-09-08 19:16:18 +00:00
Thonsew
fcba175936
Updated terrain_filter to
...
1. Use t_token in place of string literals to improve speed
2. Use unordered_set in place of std::set to improve terrain filter
lookup times.
2011-09-08 19:16:12 +00:00
Thonsew
2bf6377351
Changed config and vconfig to use a token representation...
...
...t_token in place of std::string. t_token compares, copies, copy
constructs and hashes in 1 operation instead of proportional to the
length of the string.
2011-09-08 19:16:01 +00:00
Thonsew
87c99119d3
Added split_token to string utils
2011-09-08 19:15:53 +00:00
Thonsew
87b5cd1ec4
Updated tstring to use t_token as a replacement for string...
...
...to speed up comparisons, copying and hashing.
2011-09-08 19:15:47 +00:00
Thonsew
3d29107eff
Refactored string interpolation to use tokens to improve speed...
...
...once token are used in config
Added unit tests for string interpolation
2011-09-08 19:15:40 +00:00
Steven Panek
20f0d2ba7f
Stripped obsolete translations from the British English translation.
2011-09-08 18:22:22 +00:00
Fabian Müller
8a85e73f72
Removed an invalid test for the [tunnel] tag.
2011-09-08 17:37:51 +00:00
Fabian Müller
84c5e1bbae
Test case: Made Kaleh liminal
2011-09-08 17:32:06 +00:00
Fabian Müller
4954c1bd88
Added a tip for the liminal alignment.
2011-09-08 16:39:36 +00:00
Fabian Müller
c1deb5f608
Updated the manual to cover the liminal alignment.
2011-09-08 12:03:36 +00:00
Fabian Müller
6f14bb59ce
Reimplemented the liminal alignment.
2011-09-08 04:14:47 +00:00
Gabriel Morin
192e7a017e
Completely removed the waypoint functionality on 'w' key,
...
...since the whiteboard is now an adequate replacement.
Fixes bug #17060
2011-09-08 00:52:38 +00:00
Elvish_Hunter
0c7dfcc8af
Changelog entries for commits above
2011-09-07 08:27:26 +00:00
Elvish_Hunter
bc9576780a
SotBE: added 24 hour ToD in To the Harbor of Tirigaz
2011-09-07 08:21:53 +00:00
Elvish_Hunter
2b95afa860
DiD: added 24 hour ToD in A Small Favor
2011-09-07 08:18:06 +00:00
Steven Panek
13bd50e2f0
Updated the British English translation.
2011-09-06 04:30:59 +00:00
Simon Forsyth
2bb50c2567
Correct path to first desert-plant embellishment
2011-09-06 03:17:24 +00:00
Nils Kneuper
ad55006b60
updated Galician translation
2011-09-05 21:52:18 +00:00
Timotei Dolean
e34ef4e8f4
Clear the all set bit previously set by the stream...
...
...after closing the file
2011-09-05 18:50:56 +00:00
Timotei Dolean
02ad6c9dbc
Add the required libs to the Debug configuration...
...
...for the schema_generator project
2011-09-05 18:50:44 +00:00
Timotei Dolean
14f00f7d76
Fix the spacing in about.cfg ( Thanks Espreon )
2011-09-05 17:34:33 +00:00
Timotei Dolean
5f2defcb89
Fix my name in about.cfg
2011-09-05 17:31:54 +00:00
Nils Kneuper
1fab7a9463
updated Galician translation
2011-09-05 15:02:19 +00:00
Simon Forsyth
4514ee756c
Delete rule for non-existant wall terrain
2011-09-05 01:09:21 +00:00
Simon Forsyth
72739c3201
Fix water land transitions
...
(includes removal of never applied rules) Fixes bug #18601
2011-09-05 00:49:39 +00:00
Simon Forsyth
33f4724238
Lower layer of farmland. Partial fix for bug #18595
2011-09-04 23:44:03 +00:00
Alexander van Gessel
4e4204f22d
Update Dutch translation.
2011-09-04 23:39:58 +01:00
Timotei Dolean
88a17dd0e5
Correct the help entry
2011-09-04 22:12:26 +00:00
Timotei Dolean
3c7264d764
Add the loadscreen_empty to the wesnothlib project...
...
...so it won't need any other non-related dependencies
2011-09-04 22:12:17 +00:00
Timotei Dolean
f92722556b
Make the schema_generator compile on MSVC
2011-09-04 22:12:06 +00:00
Steven Panek
33a218a722
Updated the British English translation.
2011-09-04 20:28:16 +00:00
Timotei Dolean
66225f871d
Don't compile the schema_generator project by default.
2011-09-04 17:31:31 +00:00