Elias Pschernig
f4376d916b
wmlunits: Use campaign id again for filenames, instead of (translated) name.
2008-04-18 14:44:47 +00:00
Elias Pschernig
6394e55824
wmlunits: Improved translation handling,
...
...and added option to specify po directory.
2008-04-18 13:54:00 +00:00
Elias Pschernig
bc3db730ea
Refactored wmlunits,
...
...mainly to make it more robust with broken UMCs and with 1.4.
2008-04-18 12:57:46 +00:00
Chris Hopman
6c24b087bd
Improvement to gui2 history implementation.
2008-04-18 05:15:45 +00:00
Patrick Parker
85b3eb65bb
remove a pointless string copy
2008-04-18 05:04:10 +00:00
Patrick Parker
c6b6c20bd9
prevent [insert_tag] from infinite recursion in vconfig::get_parsed_config()
...
optimize hash_memory_manager lookups using std::set instead of std::vector
2008-04-18 04:29:37 +00:00
Chris Hopman
84d706e8c7
unit_map improvements/cleaning.
...
Added find(string) by unit.underlying_id()
2008-04-18 02:36:41 +00:00
Gunter Labes
9ae0b1c209
typo fix
2008-04-18 00:54:54 +00:00
Gunter Labes
cdf9cd49e4
add kickban as an alias to kban
...
some error message improvements
2008-04-18 00:46:24 +00:00
Jörg Hinrichs
1638cab42d
Unit_type lazy loading:
...
...Turn some more config information into unit_type members.
This also fixes bug #11510 ([base_unit] inheritance of attacks).
2008-04-17 20:53:02 +00:00
Mark de Wever
9e1efb86fd
More refactoring of the settings.
2008-04-17 19:54:06 +00:00
Mark de Wever
363051dd3c
Refactoring the settings code, first step.
2008-04-17 19:38:10 +00:00
Ali El Gariani
b42fe743c2
Smarter pathfinding: if same MP cost, prefer terrains with better defense.
2008-04-17 19:28:08 +00:00
Ali El Gariani
13ecc0e9bb
Stop doing a new_turn() reset on the leader at the the first turn.
...
This unify how leader and units are created and allow WML to define
some of its variables (moves, attacks_left,...) whitout directly
reseting them later.
2008-04-17 19:05:35 +00:00
Mark de Wever
7cc8478cec
Comment out unused parameters, which silences gcc warnings.
2008-04-17 18:57:13 +00:00
Mark de Wever
6058f4d809
Remove an unused variable.
2008-04-17 18:56:44 +00:00
Ali El Gariani
d1ab876dc6
fix a bug introduced in 2008-04-08T02:55:21Z!esr@thyrsus.com:
...
...units can not attack at the first turn
This restore the previous behavior, give all its attacks to an unit
when key attack_left is missing. Seems not to resurrect bug #11451 .
Still another strange thing: at the first turn, we probably must call
new_turn() for every units not only the leader (it's also an
alternative fix)
2008-04-17 18:41:09 +00:00
Sergey Popov
29add1b955
Moved translation stuff to po/SConscript.
2008-04-17 17:36:50 +00:00
Mark de Wever
479b1f5c5a
Add a new framework to add a history to a ttext_box...
...
...and store it in the preferences.
Saving to the preferences needs some more work (patch #1054 ).
2008-04-17 16:39:47 +00:00
Sergey Popov
b857566f71
Moved manual targets to SConscript file in doc/manual.
2008-04-17 15:20:27 +00:00
Sergey Popov
d596b57e0b
Fixed "test" target.
2008-04-17 14:26:42 +00:00
Sergey Popov
ea1b9efdd7
Made scons build hierarchical.
2008-04-17 13:59:21 +00:00
Gunter Labes
9f608b9838
add support for a banlist for bans across restarts
2008-04-17 13:52:25 +00:00
Gunter Labes
0afbb92b11
actually use the set CXXFLAGS when bulding with scons..
2008-04-17 13:51:18 +00:00
Lari Nieminen
4b008e5c35
Applied patch #1058 .
2008-04-17 10:09:22 +00:00
Patrick Parker
d42e83a20e
slight change in a deletion order
2008-04-17 09:01:40 +00:00
Patrick Parker
bf481d299c
preventing the WML from doing very bad things with memory...
...
...when using [insert_tag], and I spotted some minor bugs in other
game_events as I was making the change
2008-04-17 08:52:03 +00:00
Nils Kneuper
e03c58f1dc
updated Russian translation
2008-04-17 08:34:16 +00:00
Mark de Wever
7a602eccec
Move tpanel to it's own file, will get more refactoring later.
2008-04-17 06:25:00 +00:00
Mark de Wever
04a0723ed1
Fix the render hack, which is no longer required with blit_surface().
2008-04-17 06:10:56 +00:00
Mark de Wever
724143e019
Remove a not needed variable.
2008-04-17 06:07:01 +00:00
Mark de Wever
1f6aec3145
Make the redraw work properly, was broken due the new blit_surface() changes.
2008-04-17 06:02:35 +00:00
Tomasz Śniatowski
a3f50da439
Fix a minor bug and remove some unused code and warnings related to :/commands
2008-04-16 23:43:10 +01:00
Tomasz Śniatowski
9e0987c8b3
Fix recently broken :/command arg parsing.
...
Allows easy use of any number of args in worker functions.
2008-04-16 23:06:11 +01:00
Benoît Timbert
4ca9eedf50
French translation update
2008-04-16 20:21:10 +00:00
Mark de Wever
cfc6417f68
Wrote a replacement for SDL_BlitSurface...
...
...which allows blitting of transparent surfaces on top of
each other. It's not optimized with assembly code like the normal
SDL_BlitSurface so might be a bit slower.
2008-04-16 17:21:12 +00:00
Mark de Wever
dcd16ecc47
Fix a gcc warning about a missing virtual destructor.
2008-04-16 15:35:47 +00:00
Eric S. Raymond
28e7fa0bf8
Restore an accidental deletion.
2008-04-16 15:03:52 +00:00
Ignacio R. Morelle
9a2794ef69
Remove now unused unit graphics
2008-04-16 14:16:06 +00:00
Eric S. Raymond
fd9da2854f
Address bug #11249 .
2008-04-16 12:12:59 +00:00
Tomasz Śniatowski
ef4068efda
fix typos gcc -pedantic complains about with an error
2008-04-15 23:30:48 +01:00
Tomasz Śniatowski
2eb911e413
remove pointless >=0 check
2008-04-15 21:56:31 +01:00
Nils Kneuper
3d500f6f3c
updated Slovak translation
2008-04-15 20:56:08 +00:00
Nils Kneuper
f6aef0352b
define encoding for Serbian (Latin version) manpages (patch #1053 )
2008-04-15 20:29:24 +00:00
Tomasz Śniatowski
bcf7770e3b
chat /commands refactoring and semi-merge with user :commands
2008-04-15 21:17:39 +01:00
Eric S. Raymond
c06064cbad
Clear SpellingMistakes.
2008-04-15 20:04:09 +00:00
Eric S. Raymond
23cdb64dc1
More careful logging of AI recruitment.
2008-04-15 18:47:52 +00:00
Richard Kettering
9c4ff75c68
New melee frames for the bone shooter.
2008-04-15 18:05:21 +00:00
Richard Kettering
94cfd76019
New melee frames for the bone shooter.
2008-04-15 18:00:53 +00:00
Eric S. Raymond
6b81fbc53a
Ensure that the distribution tarball is bzip2-compressed.
2008-04-15 17:58:01 +00:00