Armin Burgmeier
b2af6314cb
mape: Don't dynamically allocate memory for each pixel to draw
2009-10-06 20:30:54 -04:00
Armin Burgmeier
bc980ebc12
GObject-ified MapeMaterialMap
2009-09-30 22:54:10 -04:00
Armin Burgmeier
ba740c4296
Actually committed new MapeGroup code
2009-09-30 22:53:29 -04:00
Armin Burgmeier
7b586338ef
Increased version number to 1.3.90, and added license text to about dialog
2009-09-26 23:14:51 -04:00
Armin Burgmeier
12dce39aa1
Changed license headers of a few more files to ISC
...
They have been left out in e3b05cfc2145 for some reason.
2009-09-26 22:47:01 -04:00
Armin Burgmeier
45e79a3299
Removed mape/ include path, include by "mape/foo.h" instead
2009-09-26 22:43:09 -04:00
Armin Burgmeier
2d580e99d0
Follow GTK+'s single-include policy
2009-09-26 22:08:40 -04:00
Armin Burgmeier
52464df1c0
GObject-ified MapeGroup
2009-09-26 21:54:47 -04:00
Armin Burgmeier
5e2361af9d
C4Group::GetFullName: Don't return an empty string for the root directory ("/")
2009-09-26 21:52:09 -04:00
Armin Burgmeier
ae37dddcbf
mape: Fix texture loading
...
We now not only load a texture's name, but also a thumbnail of the texture
itself, which we can show in the texview later, and from which we are going
to determine the material color to draw in the preview (note that the Color
field in .c4m files went away).
2009-09-24 23:46:14 -04:00
Armin Burgmeier
a81d0e6cbb
Relicense mape under ISC
...
ack: Tyron, Armin
2009-09-22 23:22:01 -04:00
Armin Burgmeier
9e81287ee5
Catch MapGenerator errors in mape, not in C4MapCreatorS2
...
Where it lead to a crash eventually, since it tried to Log the error message,
and Log is only allowed from the main thread - the Landscape is rendered by a
worker thread however.
2009-09-22 23:07:20 -04:00
Armin Burgmeier
14bc6a0c5c
Merged default into mape
2009-09-22 22:24:47 -04:00
Armin Burgmeier
d8950094d8
DirectoryExists: Return true for the root directory ("/")
2009-09-22 22:09:13 -04:00
Armin Burgmeier
5c6a9b2347
Avoid double slashes in pathnames returned by C4Group
2009-09-22 22:07:19 -04:00
Nicolas Hake
97d7e483aa
D3D: Fix box drawing
...
Wrong blending mode led to a black background in text boxes
2009-09-22 12:43:54 +02:00
Nicolas Hake
8f7d3781e0
Applied alpha changes to D3D
2009-09-21 20:52:40 +02:00
Nicolas Hake
ecb5b9e781
Player property dialog now sets full alpha
2009-09-21 20:52:40 +02:00
Armin Burgmeier
2ef403728e
Added initial mape code, and added it to the CMake build system
...
The code is not yet working properly, but it compiles
TODO: autotools build, material colors, Material&Texture overload,
relicensing, maybe algo=script
2009-09-21 00:04:52 -04:00
Armin Burgmeier
e2c68254a5
Added includes and forward declarations to headers
...
So that they can be included individually
2009-09-21 00:01:55 -04:00
Armin Burgmeier
baf4f7764a
Removed unused parameter in C4MaterialMap::Load
2009-09-21 00:00:57 -04:00
Armin Burgmeier
c18b11fbc6
Fixed CMake build on Unix
2009-09-20 16:03:44 -04:00
Armin Burgmeier
c0bf72c663
Reset ClrMod when SetClrModulation is called without argument
2009-09-19 16:38:19 -04:00
Günther Brammer
e762a4501e
OpenGL: invert alpha channel in shader code, too
2009-09-19 19:36:31 +02:00
Armin Burgmeier
f56ae275df
Adapted documentation for reversed alpha
2009-09-19 12:21:51 -04:00
Armin Burgmeier
809c2234cd
Merged alphafix into default
...
This reverts the meaning of alpha components everywhere in engine and script.
alpha=0 means transparent, and alpha=255 means opaque.
2009-09-19 12:08:09 -04:00
Günther Brammer
dddf9ef00a
Change all lineendings to LF (except in planet/)
2009-09-16 03:29:20 +02:00
Günther Brammer
826a7bb7f3
merge
2009-09-16 00:26:48 +02:00
Richard Gerum
111867c9d3
CanConcatPictureWith now uses AulObjectContext instead of AulContext
2009-09-06 01:03:50 +02:00
David Dormagen
a886a18180
replaced remaining TRUE and FALSE (both are invalid now)
2009-09-05 19:22:54 +02:00
Richard Gerum
d814267a46
added script function CanConcatPictureWith to make the picture stack in the sell menu like in the old engine menu
2009-09-05 18:28:55 +02:00
Günther Brammer
8cbadabef2
C4Value: 0 can be converted to everything, just as nil
...
This should give us the best of both ways: Everybody can keep using 0 as a
nullpointer, but 0 and nil are still distinguishable.
2009-09-05 17:54:56 +02:00
Richard Gerum
3dcf5002ee
fixed clonk contextmenu (still used SetCommand(this...))
2009-09-05 15:47:19 +02:00
Richard Gerum
3bafed6225
now bases can block entrance of enemies.
2009-09-05 00:57:48 +02:00
Richard Gerum
53b4f9bf29
added new inventory system with slots
2009-09-04 21:46:27 +02:00
Richard Gerum
d21f7fff18
added earth chunk and tools
2009-09-04 21:45:44 +02:00
Nicolas Hake
e8f55a71da
Changed HideSettlementScoreInEvaluation return type to void
2009-09-04 16:58:42 +02:00
Richard Gerum
ac981e8f3b
fixed parameter type of GetDefCoreVal (expected ID but needed int)
2009-09-04 16:09:05 +02:00
Günther Brammer
2caec953f9
docs: Update translation
2009-09-03 22:33:25 +02:00
Günther Brammer
4f26bcb6a4
docs: Fix some syntax errors
2009-09-03 22:33:10 +02:00
Günther Brammer
9e2564a4c3
C4Object: Remove Base functionality
...
The various effects being a base had are now handled by script.
2009-09-03 22:27:23 +02:00
Günther Brammer
3c136f8754
C4Def: Remove old-style Basement
2009-09-03 17:17:38 +02:00
Richard Gerum
5449d22638
added base control object and homebasematerial/wealth control object (use MakeBase() to make a BaseBuilding a base, and use CreateObject(BASM) to activate the homebasematerial control)
2009-09-03 17:00:26 +02:00
Günther Brammer
8b04b547c1
OpenGL: Fix rendering without FoW
2009-08-28 15:52:22 +02:00
Günther Brammer
e25ae9ef9f
C4Script: add do-while-loop
...
A very old feature request.
2009-08-28 04:44:53 +02:00
Günther Brammer
6c61db0fab
Recognize global constants even if they begin a statement
...
Feuermonster reported that
static const foo = 0;
func bar() { foo = 5; }
resulted in a confusing error message.
2009-08-26 16:59:00 +02:00
Günther Brammer
a511ce98ea
Objects with old versions get Control callbacks early, too
...
This removes some code and some backwards compatibility
with objects which wouldn't function anyway.
2009-08-26 15:59:00 +02:00
Armin Burgmeier
9269c2c79d
merge
2009-08-27 20:59:30 -04:00
David Dormagen
695f0f69b8
The number of the calling player can be passed to custom message-board-commandos
...
using %player% in AddMsgBoardCmd
2009-08-26 14:18:58 +02:00
David Dormagen
cde2718611
Changed behavior of settlement points in evaluation dialogue
...
The game does not display the settlement points in melee rounds anymore.
This behavior can be toggled ingame with HideSettlementScoreInEvaluation(bool fHide)
2009-08-26 14:17:41 +02:00