Commit Graph

27353 Commits

Author SHA1 Message Date
Mark de Wever
72f8b75d53 Updated to the new style. 2008-08-25 15:35:52 +00:00
Mark de Wever
99112e6cdb Allow smaller resolutions with --new-widgets.
For testing at tiny gui resolutions it's handy to allow smaller
resolutions in the normal game. Added a hack for the old editor.
2008-08-25 15:35:39 +00:00
Lari Nieminen
2c2c32d641 Fixed a silly nested [message]. 2008-08-25 15:18:26 +00:00
Lari Nieminen
acd38ade79 Fixed a typo. 2008-08-25 13:14:38 +00:00
Lari Nieminen
d00fd3607f Applied the new experimental gold carryover model to SoF:
...you carry 20% of your finishing gold to the next scenario, applied
as a bonus on top of the minimum starting gold. Also a couple of tiny
WML tweaks.
2008-08-25 12:51:58 +00:00
Sergey Popov
fad708a5ca Use env.Depends instead of env.Requires which isn't available in scons 96.93. 2008-08-25 10:16:12 +00:00
Nils Kneuper
b13c83cd05 make sure that headers ending with .i and .ii are in the tarball, too
why are those endings used anyway?!?
2008-08-25 08:43:26 +00:00
Nils Kneuper
dc72300a84 comment out troll whelp death animation...
...since it is still based on the old baseframe
2008-08-25 08:16:16 +00:00
Sergey Popov
91aa91c618 Fixed a compile warning. 2008-08-25 07:14:39 +00:00
Patrick Parker
b087db7aa3 fix bug #11988: Events with multiple types are multiplied
allow variable substitution in event names

allow spaces or underscores to be used interchangeably in event names
2008-08-25 06:21:44 +00:00
Richard Kettering
a843a6a82e Replaced the shadow's face with something more iconic. 2008-08-25 05:04:24 +00:00
Eric S. Raymond
66f7074df0 Bias the orcs towards killing each other.
Otherwise Al'Tar tends to run straight north and slaughter the peasants.
2008-08-25 05:04:09 +00:00
Eric S. Raymond
bb7df3e518 Fix some typos and poor usages in comments. 2008-08-25 04:08:26 +00:00
Patrick Parker
e71916c807 After further investigation, defender was indeed the secondary unit...
...in defender events. It's odd, but I'm leaving it alone for now.
2008-08-25 03:24:53 +00:00
Ignacio R. Morelle
b63e0995d1 Remove unrecognized UTF-8 sequence 0xC2,0xA0 from source code file...
...to fix a compiler error ("stray <CODE> in program") by line 108
2008-08-25 00:51:25 +00:00
Patrick Parker
18f54872c0 remove an unnecessary check in my last commit 2008-08-25 00:36:49 +00:00
Patrick Parker
d6b94df48b clean up several bugs related to the attack filtering code 2008-08-25 00:08:59 +00:00
Pauli Nieminen
ec6ec53839 Minor problems fixed in ban code:
write not setting dirty,

bans reporting useless info back to client
2008-08-24 22:29:53 +00:00
Pauli Nieminen
34a6fa9959 Made server to save bans to a gc file 2008-08-24 22:29:29 +00:00
Ignacio R. Morelle
978c73b4e5 Fixed several side-effects of [modify_turns]...
...and changed default value= when invalid from 50 to -1
2008-08-24 20:54:01 +00:00
Mark de Wever
a5abf58f2c Add a new title screen.
Now that all 'stable' --new-widgets code has been moved to the default way
starting with --new-widgets is no longer needed unless you want to develop for
it. So the new proof-of-concept title screen can be committed. Only has the
basic buttons which work, but needs some cleanup up, both in looks and code
working.
2008-08-24 19:27:53 +00:00
Mark de Wever
71a66eaf11 Fix the assumption the TITLE_RESULT starts at 0.
After committing 2008-08-24T12:28:35Z!koraq@xs4all.nl some other problems got noticed and fixed in
this commit.
2008-08-24 19:16:03 +00:00
Mark de Wever
be54f822a0 Make the restore of the window background conditionally. 2008-08-24 18:25:23 +00:00
Mark de Wever
bafcd9cdb5 Revert 2008-08-24T18:17:56Z!koraq@xs4all.nl, too much code was committed.
Forgot to do a partial commit after a failed commit :/
2008-08-24 18:23:52 +00:00
Mark de Wever
918e77a789 Make the restore of the window background conditionally. 2008-08-24 18:17:56 +00:00
Mark de Wever
49fd0b421e Header cleanup.
util.hpp didn't use <map> so removed it, fixed the files which did
depend on this include.
2008-08-24 16:12:27 +00:00
Mark de Wever
42ba967d5d MSVC 6 cleanup.
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.

Patch 3/3 for step 2: Remove push_back and fix it's callers.
2008-08-24 16:12:22 +00:00
Mark de Wever
81c6a850ab MSVC 6 cleanup.
Now that MSVC 6 is no longer supported start to remove some helper code
to work around problems in that compiler. The first step is to comment
out the code and replace it with new helper code that uses the standard.
The second step is to remove the helper code and fix all callers.

Patch 2/3 for step 2: Remove minimum and maximum and fix all callers.
2008-08-24 16:12:13 +00:00
Mark de Wever
5dcb8929e7 MSVC 6 and 9 cleanup.
Now that MSVC 6 is no longer supported start to remove some helper code to work
around problems in that compiler. The first step is to comment out the code and
replace it with new helper code that uses the standard. The second step is to
remove the helper code and fix all callers.

Patch 1/3 for step 2: Clear global.hpp, but add some MSVC9 workarounds.
2008-08-24 16:11:50 +00:00
Benoît Timbert
80f0ea6556 No more macro inside translatable strings (which were a *wrong* thing)
Strip the color codes from the translatable strings
2008-08-24 15:37:32 +00:00
Sergey Popov
7338913207 Made scons automatically build locales and translations if nls is enabled. 2008-08-24 14:29:58 +00:00
Sergey Popov
43431bc3a7 Made wesnoth set data path to directory in which it's located...
...if data/_main.cfg exists in it.
2008-08-24 14:29:26 +00:00
Lari Nieminen
9a82cd7462 Fixed the alpha feedback problem of the lit terrain icons. 2008-08-24 13:11:02 +00:00
Mark de Wever
4edf713f60 Fix the assumption the TITLE_RESULT starts at 0.
We now do the assumption TUTORIAL is the first item, but that's
documented. The change is needed as prerequisites to change the title
screen to the new widget code. Also change a C-style cast to
static_cast.
2008-08-24 12:28:35 +00:00
Mark de Wever
923b67cf50 Initialize all members. 2008-08-24 11:16:11 +00:00
Mark de Wever
7eea4eafdf Initialize all members. 2008-08-24 11:15:57 +00:00
Mark de Wever
ed91018a46 Initialize all members. 2008-08-24 11:15:45 +00:00
Mark de Wever
6e4a2f6c10 Initialize all members. 2008-08-24 11:15:36 +00:00
Mark de Wever
99eaebdb7f Initialize all members. 2008-08-24 11:15:29 +00:00
Mark de Wever
ed02a53d77 Initialize all members. 2008-08-24 11:15:24 +00:00
Mark de Wever
91450d3ff4 Initialize all members. 2008-08-24 11:15:18 +00:00
Mark de Wever
0a08113987 Cleanup patch.
Made internally used functions static and removed an unused funtion.
2008-08-24 11:08:08 +00:00
Mark de Wever
a15d5e3f7d Initialize all members. 2008-08-24 09:58:32 +00:00
Mark de Wever
f9e42a1449 Convert the MP connection dialogs to the new style. 2008-08-24 09:58:27 +00:00
Mark de Wever
22886e3d2a Fix the output for negative numbers in a cell.
When the text starts with a negative number it's parsed as a new row, by
adding a space in front of all texts this problem is fixed. Cells with
hardcoded text this isn't needed so not done.
2008-08-24 09:58:23 +00:00
Mark de Wever
940fb2f78e Initialize all members. 2008-08-24 09:58:18 +00:00
Mark de Wever
dfb525ef9e Initialize all members. 2008-08-24 09:58:14 +00:00
Mark de Wever
efb85797fa Initialize all members. 2008-08-24 09:58:10 +00:00
Mark de Wever
fc35b98378 Initialize all members. 2008-08-24 09:58:06 +00:00
Mark de Wever
247c309277 Initialize all members. 2008-08-24 09:58:01 +00:00