49274 Commits

Author SHA1 Message Date
Mark de Wever
9bc8dda743 Update XCode project file.
Patch provided by vultraz.
2012-03-13 19:57:38 +00:00
Mark de Wever
45713bdcff Fix signed versus unsigned comparison warnings. 2012-03-13 19:34:48 +00:00
Nils Kneuper
a2b0a4dc62 updated Russian translation 2012-03-13 19:32:38 +00:00
Steven Panek
6800a900bc Ran umcpropfix. 2012-03-13 19:20:54 +00:00
Nils Kneuper
769ed2d0be updated Russian translation 2012-03-13 19:04:47 +00:00
Fabian Müller
c630c6480b Forgot some new classes to the last commit. 2012-03-13 18:20:20 +00:00
Fabian Müller
16a54c3052 Refactored the map editor.
Implemented the unit palette and the empty palette.
2012-03-13 18:19:16 +00:00
Elvish_Hunter
f4b5df962e DM: added two conditional notes in scenario 19. Untested. 2012-03-13 10:05:21 +00:00
Elvish_Hunter
b52b619482 Added [show_if] support to [objectives] [note] 2012-03-13 09:31:18 +00:00
Nils Kneuper
6749288a11 updated Galician translation 2012-03-13 07:19:48 +00:00
Fabian Müller
b9048772a7 Empty palette class to be bound with tools not in need for a palette. 2012-03-13 06:44:34 +00:00
Steven Panek
56c1f7dc67 Added xcf for the French logo. 2012-03-13 06:16:37 +00:00
Steven Panek
52a964b29b Added the French logo. 2012-03-13 06:04:57 +00:00
Mark de Wever
9452d78f82 Add a separate surface_scale_down function.
This allows some testing for the Pandora. The code is a pure copy-paste
at the moment.
2012-03-12 20:01:21 +00:00
Elias Pschernig
216443b910 [wmlunits] Treat negative defense values as if they were positive. 2012-03-11 23:24:53 +00:00
Simon Forsyth
bcd94753e2 stop some more units from spawning on cave walls 2012-03-11 21:59:25 +00:00
Simon Forsyth
ef59050071 apply some code simplification done for Eftboren to A Subterranean Struggle
there is still a lot left to do for this scenario
2012-03-11 21:39:37 +00:00
Simon Forsyth
6fa3125152 animate static campfires in Under the Burning Suns
cannot use terrain due to lighting
2012-03-11 16:28:48 +00:00
Simon Forsyth
d60cee89ff update villages grass backgrounds compliments of vultraz 2012-03-11 15:58:29 +00:00
Simon Forsyth
0de0ec5923 use core campfire in The Rise of Wesntoh
incidentally converts maps to new format
2012-03-11 15:24:10 +00:00
Mark de Wever
d7fb34f89c Optimize the down scaling of an Sint32.
While reviewing the compiler output for the last commit, noticed the
code still used a division instead of a shift.
2012-03-11 13:14:32 +00:00
Mark de Wever
6f21500ce0 Improve the multiply instruction.
It now keeps more resolution and is less prone to overflows (unless of
course the result overflows). The code is aimed at an ARM v7 so might be
slow on platforms that do not support an instruction for:
32-bit signed * 32-bit signed = 64-bit signed

The alternative was to write code like for the division, but that would
be more code and slower on platforms with fast 64-bit multiplication
result.

The output of the titlescreen image now looks less dark as before this
modification.
2012-03-11 13:14:29 +00:00
Alexander van Gessel
db4adda228 Fix a changelog entry 2012-03-11 03:18:12 +01:00
Simon Forsyth
8c30a9b668 make some more terrains have unique ids 2012-03-11 01:23:48 +00:00
Simon Forsyth
2fd0f5e284 use core campfire in Son of the Black Eye
incidentally converts maps to new format
2012-03-10 22:28:11 +00:00
Simon Forsyth
ad6defa756 use core campfire in The South Guard 2012-03-10 21:13:20 +00:00
Simon Forsyth
20b2a0480f use core campfire in Liberty
incidentally converts maps to new format
2012-03-10 19:46:52 +00:00
Simon Forsyth
dbbe78da18 use core campfire in Descent into Darkness
incidentally converts maps to new format
2012-03-10 19:44:48 +00:00
Simon Forsyth
39ac3633eb as fire images now in terrain,
...remove all terrain references to the ones in scenery
2012-03-10 19:30:20 +00:00
Simon Forsyth
b2114c611d move trunk user data dir to 1.11 in Xcode 2012-03-10 19:15:28 +00:00
Simon Forsyth
5f1fb50b8d move campfire terrain from Under the Burning Suns to core
now in Embellishments group

does not deprecate ANIMATED_CAMPFIRE macro

- needed in case the terrain on the map already includes an overlay

other maps using campfire not yet updated
2012-03-10 19:09:59 +00:00
Simon Forsyth
9b37efa343 resolve duplicate terrain ids 2012-03-10 18:35:52 +00:00
Simon Forsyth
69b001525c lower keep layer to allow rubble to be drawn above it 2012-03-10 16:28:33 +00:00
Simon Forsyth
43b5d3d063 draw rubble underneath walls 2012-03-10 16:19:33 +00:00
Simon Forsyth
c295384fea reduce the number of unique terrain flags 2012-03-10 15:11:46 +00:00
Mark de Wever
2a5f0e1b62 Don't use string::c_str() to create a string.
Issue found by cppcheck.
2012-03-10 13:29:36 +00:00
Mark de Wever
bf91717016 Let operator= return a reference.
Also add a test for self assignment. Issue discovered by cppcheck.
2012-03-10 13:29:33 +00:00
Mark de Wever
e6f1c4a3af Remove an unused function.
Discovered by Ivanovic using clang.
2012-03-10 13:07:25 +00:00
Mark de Wever
b6e5b4b6e6 Let the tracer also output the function name.
This makes it easier when multiple tracers are used. When using gcc a
more verbose, non-standard, method is used.
2012-03-10 12:28:07 +00:00
Mark de Wever
947e32057b Fix some issues introduced in 2012-03-09T17:13:04Z!ai0867@gmail.com.
The author of patch #3083 posted a followup post fixing:

- Some unwanted changes from unsigned to signed, forcing extra casts.

- C-style casts to C++-style casts.

- Reverted code that allowed for both units to die (which is not allowed).
2012-03-10 12:24:37 +00:00
Mark de Wever
b2832d94be Add the initial draft of the new addon server.
The draft is still preliminary and needs polishing and extending.
2012-03-10 10:19:48 +00:00
Nils Kneuper
8684952b2e updated Italian and Korean translation 2012-03-10 09:15:09 +00:00
Mark de Wever
a7d779e8f5 Update XCode project file.
Patch provided by vultraz.
2012-03-10 09:05:26 +00:00
Mark de Wever
ea43b53c7e Make the ttracer non-copyable.
It makes conceptually no sense to have the class copyable.
2012-03-10 09:05:23 +00:00
Nils Kneuper
864c53850c updated Slovak about entries 2012-03-10 08:51:52 +00:00
Anonymissimus
6a8ca60532 MSVC9 projectfile update 2012-03-09 21:47:28 +00:00
Anonymissimus
8b2c17cbb4 Cb projectfile update 2012-03-09 21:47:10 +00:00
Elias Pschernig
b6089cba9f [wmlunits] Fix errors in The_Earths_Gut and Archaic_Era...
...due to mistakenly ignoring hide_help=true units being used in
[base_unit].
2012-03-09 20:22:54 +00:00
Mark de Wever
e9594c14f4 Add a missing virtual destructor. 2012-03-09 18:20:33 +00:00
Fabian Müller
a8f07f8ee4 Replaced the old terrain palette with a system where palettes...
...are bound to the editor tools.
2012-03-09 18:02:23 +00:00