Guillaume Melquiond
0fc601d657
Avoided copying and destroying temporary units when displaying them in dialogs.
2010-08-07 08:44:31 +00:00
Guillaume Melquiond
5881d1b6ec
Reduced cost of frame_builder constructor by directly initializing fields.
2010-08-07 08:44:24 +00:00
Timotei Dolean
742535159f
add 'recall.(c|h)pp' to vs projectfiles
2010-08-07 08:35:41 +00:00
Alexander van Gessel
6ff8ec8748
Make type_error and parse_error inherit from game::error
2010-08-07 02:21:29 +01:00
Alexander van Gessel
e177c3da3d
Make (mapgen|io|editor)_exception inherit from game::error,
...
...rather than std::exception
2010-08-07 00:57:46 +01:00
Timotei Dolean
6b0577da4d
eclipse plugin: replace the curent IEFS handlers with...
...
...better ones, that can allow much more features
2010-08-06 21:46:13 +00:00
Timotei Dolean
72aa555fa2
eclipse plugin: add skeleton for going to macro definitions
2010-08-06 21:45:51 +00:00
Timotei Dolean
a40b8dde02
eclipse plugin: refactor the way the editors...
...
...are used and add returns values for some methods
2010-08-06 21:45:30 +00:00
Timotei Dolean
09995a4a39
eclipse plugin: add proper function for checking equality
2010-08-06 21:45:09 +00:00
Timotei Dolean
6889cd3793
eclipse plugin: add support for external files - part 2
2010-08-06 21:44:50 +00:00
Timotei Dolean
0ad8b7a6d3
eclipse plugin: add suport for external files
2010-08-06 21:44:31 +00:00
Timotei Dolean
27c645e252
Convert CRLF to LF
2010-08-06 21:44:10 +00:00
Timotei Dolean
f1bbbab7ea
Convert CRLF to LF
2010-08-06 21:43:52 +00:00
Timotei Dolean
62b0d738ff
Convert CRLF to LF
2010-08-06 21:43:27 +00:00
Timotei Dolean
f3bb495761
eclipse plugin: add macro parameters
2010-08-06 21:43:07 +00:00
Timotei Dolean
6149d9814d
eclipse plugin: parse the arguments of the macro in the defin
2010-08-06 21:42:48 +00:00
Timotei Dolean
25c2151138
eclipse plugin: add autocompletion for macro calls
2010-08-06 21:42:28 +00:00
Timotei Dolean
81397c2b7f
eclipse plugin: read existing defines (if any)...
...
...when creating the cache for each project
2010-08-06 21:42:08 +00:00
Timotei Dolean
8180f0317c
eclipse plugin: export the preprocessor package
2010-08-06 21:41:49 +00:00
Timotei Dolean
1dd32d0cd8
enhance the output shown to the user
2010-08-06 21:41:29 +00:00
Timotei Dolean
73ca560d48
eclipse plugin: ensure the file is created...
...
...by creating any non-existent subsequent directories
2010-08-06 21:41:09 +00:00
Timotei Dolean
9e0b36ad7e
eclipse plugin: skip reading defines if...
...
...no modification were done to "_main.cfg"
2010-08-06 21:40:51 +00:00
Timotei Dolean
bd394921b5
add return code '1' in case of errors, since some...
...
...command line tools will use that
2010-08-06 21:40:32 +00:00
Timotei Dolean
27fa8fa2d7
eclipse plugin: add integer return values instead of boolean...
...
...so we can have a broader variety to choose from
2010-08-06 21:40:12 +00:00
Timotei Dolean
860d18fd21
eclipse plugin: add reading defines after _main.cfg preprocessing...
...
...and push the resulted file to subsequent files. In the end
parse the macros in memory so we can use them for autocompletion
and other checkings
2010-08-06 21:39:52 +00:00
Timotei Dolean
5ca89cbe27
eclipse plugin: add parsing of macro defines from file
2010-08-06 21:39:32 +00:00
Timotei Dolean
4ae7962271
add xml header with version and encoding when generating xml
2010-08-06 21:39:13 +00:00
Timotei Dolean
cb5c761715
eclipse plugin: move some methods to a better place...
...
...to reflect their usage targets
2010-08-06 21:38:52 +00:00
Guillaume Melquiond
afecd349ad
Avoided arbitrary return stack.
2010-08-06 21:14:14 +00:00
Guillaume Melquiond
ba266cbab3
Changed misleading name: push should push.
2010-08-06 21:14:11 +00:00
Guillaume Melquiond
c8b1a1c1de
Added missing 'colour'.
2010-08-06 20:25:03 +00:00
Guillaume Melquiond
0bf604f20e
Avoided creating blank attributes when doing complete copies.
2010-08-06 20:24:59 +00:00
Ali El Gariani
56be6e4513
Also write "colour" in WML for backward compatibility until 1.9.2
2010-08-06 19:45:32 +00:00
Jérémy Rosen
c3a361ea11
small update on the stonebridge provided by lurker
2010-08-06 18:41:14 +00:00
Ali El Gariani
b741019b80
Fix bug #16347 (broken big editor brush area)
...
Now use a repeated overlay similar to the mouseover overlay.
2010-08-06 18:26:45 +00:00
Guillaume Melquiond
e7ecd91a58
Used the original defender and restored its hitpoints...
...
...instead of copying it to a temporary unit. (Partial fix for bug #16363.)
This brings the profile footprint of unit_attack from 7% to negligible.
2010-08-06 18:12:33 +00:00
Guillaume Melquiond
d48a63a995
Avoided copying scoped units. (Partial fix for bug #16363.)
...
This brings the profile footprint of variable_info from 9% to 4%.
2010-08-06 17:31:14 +00:00
Guillaume Melquiond
d50506f981
Cached the value of animate_map preference.
...
Since it was queried every tile every frame, its footprint was not
negligible.
2010-08-06 17:07:38 +00:00
J.W. Bjerk
425ce7e33a
a tile-able image for mutli-hex editor brushes.
...
It looks a lot like my hex-selector, but trust me, it tiles much better.
2010-08-06 17:04:27 +00:00
Lari Nieminen
ce371df6ff
Added a few volcanoes to 'Isle of the Damned' in HttT...
...
...as well as 'Cursed Isle' and 'Peoples in Decline' in TRoW.
2010-08-06 16:46:24 +00:00
Guillaume Melquiond
419cf84a9d
Added visitors for converting config attributes.
...
(Partial fix for bug #16363.)
This brings the profile footprint of pushing units to Lua tables from
15% to 5%.
2010-08-06 16:31:01 +00:00
Guillaume Melquiond
ac99cc5f9d
Simplified function naming.
2010-08-06 16:30:57 +00:00
Guillaume Melquiond
3e23887400
Avoided copying units put on map if they are temporary.
...
(Partial fix for bug #16363.)
This brings the profile footprint of putting units on map from 20% to
10% (not counting the actual cost of creating them).
2010-08-06 14:46:05 +00:00
Lari Nieminen
724e666ed6
Greatly simplify the CLEAR_FOG and UNCLEAR_FOG macros...
...
...now that [hide_unit] accepts a SUF.
2010-08-06 14:08:27 +00:00
Guillaume Melquiond
88245b8ff9
Avoided copying config objects just before deleting them from units.
...
(Partial fix for bug #16363.)
This brings the profile footprint of config copy constructor from 18% to 8%.
2010-08-06 14:05:09 +00:00
Elias Pschernig
b89e5c9bb1
Make python addon manager handle the case when the server closes...
...
...the connection prematurely, but without error.
2010-08-06 13:55:01 +00:00
Guillaume Melquiond
e8c2fcfab6
Fixed handling of numerical values in [case] statements. (Fix for bug #16370.)
2010-08-06 13:23:34 +00:00
Guillaume Melquiond
8b1e74f181
Delayed further the creation of config objects.
...
(Partial fix for bug #16363.)
This brings the profile footprint of add_anims from 30% to 24%.
2010-08-06 12:24:51 +00:00
Guillaume Melquiond
091f2f6404
Optimized the special case [filter_wml][variables] when matching units.
...
(Partial fix for bug #16363.)
This brings the profile footprint of matches_filter from 28% to 3%.
2010-08-06 10:33:04 +00:00
Guillaume Melquiond
ccccc3709f
Sped up unit animation preparation...
...
...by following all the branches at once and by lazily merging
children. (Partial fix for bug #16363.)
This brings the profile footprint of prepare_animation from 44% to 6%.
2010-08-06 08:38:40 +00:00