Mark de Wever
48e8d07856
Switch the control class to use pango for text size determination.
...
NOTE: This change makes wesnoth feel a bit sluggy, but there is still room for
optimization, which will follow later.
2008-08-09 09:11:26 +00:00
Mark de Wever
5ce185a85c
Split the rendering in a calculation and rendering phase,
...
...this way get_size() only needs to calculate and not to render.
2008-08-09 08:42:13 +00:00
Mark de Wever
ade21f24a2
Initialize all members.
2008-08-09 08:22:22 +00:00
Mark de Wever
766ad542fd
Add some more features to the new ttext class...
...
...to make it possible to query sizes and setting the behaviour.
2008-08-09 07:19:39 +00:00
Mark de Wever
2b9d1e5c48
Added constructor to initialize all members and initialize all members.
2008-08-09 07:14:12 +00:00
Pauli Nieminen
03ba3a86cd
game_event.cpp detect any tag starting filter as valid
...
Made run_unit_tests.sh work when starting from cron
Added error detection to TestRunner class
2008-08-09 07:13:44 +00:00
Ignacio R. Morelle
c2234ffe06
command_handlers::call_handler():
...
...recognize filter_attack and filter_second_attack filter nodes.
2008-08-08 22:45:27 +00:00
Mark de Wever
804572f9cc
Initialize all members.
2008-08-08 22:41:03 +00:00
Pauli Nieminen
95c8956e67
minor adition
2008-08-08 21:05:10 +00:00
Pauli Nieminen
56d173be89
Added css file to unit test website.
2008-08-08 20:54:38 +00:00
Tomasz Śniatowski
1037b6409e
editor2: more sanity checks...
...
...and fix two fencepost errors making resize work all of the time
2008-08-08 21:35:23 +01:00
Pauli Nieminen
1d02c5850e
Made run_unit_test.sh work with any cwd
2008-08-08 20:29:20 +00:00
Pauli Nieminen
e46877aad0
rm misc directory too
2008-08-08 20:25:28 +00:00
Pauli Nieminen
40aea24b6f
rm NEWS that I forgot in previous commit
2008-08-08 20:24:44 +00:00
Pauli Nieminen
1508c8ca48
deleted smarty and adodb from svn (They can be downloaded as needed)
...
Improved path settings code a bit
2008-08-08 20:17:05 +00:00
Nils Kneuper
c31d04bd53
change encoding for all manpages to utf8
2008-08-08 19:46:03 +00:00
Mark de Wever
19a95a3b71
Fix some wiki info for the slider.
2008-08-08 19:24:44 +00:00
Pauli Nieminen
b207fc4c4b
Renamed config.php to settup.php
2008-08-08 19:11:55 +00:00
Mark de Wever
5d4d384958
Also allow --enable-debug override the CXXFLAGS,
...
...as done for normal builds in 2006-08-08T16:52:55Z!bruno@wolff.to. This fixes a problem
with some custom flags which fail in debug mode.
2008-08-08 18:35:15 +00:00
Mark de Wever
74e38146b2
Set svn:ignore
2008-08-08 18:16:44 +00:00
Mark de Wever
62a0d626d2
Initialize all members.
2008-08-08 17:43:16 +00:00
Pauli Nieminen
5180282d74
Fixed path in autotest run script
2008-08-08 17:42:14 +00:00
Pauli Nieminen
e96ef04f09
Moved include also out from htdocs
2008-08-08 17:39:25 +00:00
Mark de Wever
7cc30fe5af
Fix the display problem in resize dialog in the new editor.
2008-08-08 17:39:06 +00:00
Pauli Nieminen
9fbaecb561
Moved smarty and adodb out from htdocs
2008-08-08 17:34:42 +00:00
Tomasz Śniatowski
f72d75a179
editor2 resize dialog update, some misc cleanup. The dialog is not stable atm.
2008-08-08 18:23:13 +01:00
Pauli Nieminen
36d7c8e39e
Added code for test website. Including:
...
* Smarty 2.6.19
* ASOdb Lite 1.42
2008-08-08 17:21:38 +00:00
Mark de Wever
bb78154265
Fix some compiler warnings.
2008-08-08 15:58:18 +00:00
Mark de Wever
d53d754e32
Make the length of the slide area configurable for WML.
...
Converted the sliders in the new editor to use this feature.
2008-08-08 15:57:19 +00:00
Tomasz Śniatowski
0c918613e2
editor2: resize map dialog,
...
...fix resizing issues that also came up in flipping, made size
members in map protected to allow said fix. Flipping still broken but
at least will no longer occasionally crash.
2008-08-08 16:41:21 +01:00
Tomasz Śniatowski
4110e8564f
editor2 dialog update
2008-08-08 12:36:38 +01:00
Tomasz Śniatowski
25c22b9c91
editor2: use sliders in new map dialog
2008-08-08 12:29:24 +01:00
Lari Nieminen
eecdc8fafb
Fixed a few typos.
2008-08-08 08:31:27 +00:00
Lari Nieminen
46ee044601
Upgraded and fixed Malin's graphics and animations.
2008-08-07 21:44:06 +00:00
Lari Nieminen
fe98ef99de
DiD cleanups to the first 6 scenarios,
...
(mostly moving everything from story.cfg to the scenario .cfg's)
including a change to how the ice breakage works in 'Beginning of the
Revenge'.
2008-08-07 18:05:30 +00:00
Nils Kneuper
08595bdaff
updated Chinese (traditional) translation
2008-08-07 15:11:57 +00:00
Douglas Hains
c7e7dde675
Added target callable obejct for attack moves
2008-08-07 08:05:58 +00:00
Richard Kettering
faa2da5dd7
Added in WML for muzzle-flashes.
2008-08-07 05:21:58 +00:00
Douglas Hains
f394d863a8
Added can_reach call to attack move evals to reduce amount of required evals.
...
Added target (enemy_unit in candidate_move class) as callable object
to eval formula.
2008-08-07 05:19:47 +00:00
Richard Kettering
e2d0df696d
Added in new thunder/dragonstick sound effects.
2008-08-07 05:05:10 +00:00
Douglas Hains
cddb6b3a67
Fixed bug in scouting eval formula
2008-08-07 05:02:50 +00:00
Douglas Hains
251e29acdc
Added can_attack function to formula AI,
...
...returns true if a unit can reach attacking range of enemy unit
Added functionality to eval attack moves to
candiate_move::evaluate_move
2008-08-07 04:53:11 +00:00
Richard Kettering
bf498b40be
Updated muzzle flare scripting to include misfire sparks.
2008-08-07 04:47:55 +00:00
Richard Kettering
c84b2c6899
Added misfire effects.
2008-08-07 04:22:30 +00:00
Ignacio R. Morelle
12ac0b2199
'attempt' at improving this image's shadow
2008-08-06 23:06:47 +00:00
Tomasz Śniatowski
acce76ae8f
editor2: mouse modifier on paint/fill...
...
...hold either alt to draw on base terrain only, like in old editor
(fill support is new but not fully done)
2008-08-06 23:18:10 +01:00
Pauli Nieminen
8369d1c9d8
Added WIP config_cache class
...
Changed unit test default report level to short report
2008-08-06 20:51:14 +00:00
Pauli Nieminen
7c18ce1613
Added explicit float to int cast to fix compiler warning
2008-08-06 18:39:06 +00:00
Pauli Nieminen
fbb7b59469
Fixed warning: control reaches end of non-void function
2008-08-06 18:37:58 +00:00
Tomasz Śniatowski
ed1cdd5db0
fix compilation error
2008-08-06 18:53:24 +01:00