Commit Graph

4516 Commits (18c8af73a896f5966738a3a22fe0dd75c8a4b948)
 

Author SHA1 Message Date
Peter Wortmann 18c8af73a8 Potential crash fix 2012-08-26 00:11:42 +01:00
Peter Wortmann 6b04c9cc45 Use largest texture as reference, not first one
This should make it easier to experiment with bigger texture resolutions
2012-08-26 00:11:22 +01:00
Peter Wortmann 324b340e4d Cleanups
Removed some dead code, as well as the custom assertions. Also we don't really
need support for more than one back buffer.
2012-08-19 23:01:24 +01:00
Peter Wortmann 56bdeec585 FoW/lights preview
This is pretty much still prototype stage. Lots of bug, lots of stuff missing.
2012-08-19 19:35:10 +01:00
Charles Spurrill f07e0c7a14 Removed :) from pump 2012-08-16 13:54:22 -07:00
Maikel de Vries 4181b645c6 New scenario: Krakatoa.ocs
Originally made for the Let's Rock settlement scenario design contest.
2012-08-12 16:35:47 +02:00
Maikel de Vries 9a18538ac1 Coconut tree: fixed some more issues 2012-08-11 18:56:35 +02:00
Charles Spurrill 7d45946c4f Some more original graphics to replace CR placeholders in Graphics.ocg 2012-08-09 17:42:38 -07:00
Charles Spurrill 0afe958618 Fixed coconut tree to procreate properly 2012-08-09 17:41:46 -07:00
Charles Spurrill 32cdba7415 Iron bomb is made from 1x Metal and 1x Sulphur 2012-08-09 17:40:25 -07:00
Charles Spurrill e019cd5655 Added missing 'MoveTowards' function in Math.c and upgraded LaunchProjectile func 2012-08-09 17:37:53 -07:00
Günther Brammer 032baa5dd6 autotools: configure.ac reads the version from Version.txt 2012-08-07 20:45:37 +02:00
Günther Brammer c9bcafba56 Simplify DoCon implementation
For example, the solidmask removal is done in
UpdateFace, and might have been needed in Clonk 4 or Clonk Planet, but the
current solidmask code is fine with the call from there.
2012-07-27 16:09:25 +02:00
Günther Brammer 6dac692bd5 DoCon holds the bottom-most vertex in place, not the bottom of the Shape
This makes trees not sink into the landscape when burning.
2012-07-27 17:44:59 +02:00
Günther Brammer 91a6c309a9 Reduce the copies C4Set makes
Mostly by changing functions to take a const reference, but also by using
move constructors. This helps with C4String leak debugging by reducing the
reference count changes.
2012-07-26 01:21:15 +02:00
Günther Brammer 576edc1e23 Fix crash when including a script that nests proplists in a local variable
Previously, only the outer proplist would be copied, but the parser expects
the inner proplists to also be present. Copy proplists deeply instead, as
is already done for functions, and in the linking step.
2012-08-09 01:21:54 +02:00
Günther Brammer bfdc02900c Change C4AulScript::GetPropList() return type to C4PropListStatic*
This doesn't actually change the type of any object, but shifts some casts
around.
2012-08-09 01:17:26 +02:00
Charles Spurrill 869e2acac0 Cannon: Remove accidentally committed SelfPropellent script for projectiles 2012-08-07 12:32:36 -07:00
Charles Spurrill 1e85978c40 Fixed carry-heavy library from inserting items into ground on drop 2012-08-07 12:30:35 -07:00
Charles Spurrill a8ea9a0d38 Some fixes to AlignVehicleRotation script 2012-08-07 12:17:52 -07:00
Charles Spurrill ee8d0de693 Boompack: Remove accidentally committed SelfPropellent script for cannon launching 2012-08-07 12:07:13 -07:00
Charles Spurrill ece7b463a4 Balloon: Undeployed Balloon item is treated as object, not vehicle 2012-08-07 12:03:02 -07:00
Charles Spurrill 2b256c09b8 Boompack launches when incinerated (can also be detonated on damage like the powderkeg, too) 2012-08-07 12:02:34 -07:00
Charles Spurrill f4c9bdabf2 Remove needless HasFuse() funcs. Shrapnel now has hitcheck 2012-08-07 12:00:18 -07:00
Charles Spurrill 0142c65ed4 Change trajectorye effect script to compensate with GetGravity() change 2012-08-07 11:57:55 -07:00
Charles Spurrill 905847a4ab Shipyard: Added animated 3D model. All done except for texture (blank wires uv-map included) 2012-08-07 11:57:01 -07:00
Charles Spurrill bf8aa9241e Pump: Implemented Matthi's new graphics (pre-rendered) 2012-08-07 11:54:47 -07:00
Charles Spurrill 5be266549e Airplane: Damage doesn't need to equal < 0 before destructing. Rather, <= 0. 2012-08-07 11:53:39 -07:00
Charles Spurrill 6d9a238e75 Airship fixed so explosives hitting the gondola also do damage 2012-08-07 11:51:48 -07:00
Charles Spurrill b8afe21a89 Much of Cannon script redone in a saner manner. More precision (1000x), no animation jumping while turning. 2012-08-07 11:51:04 -07:00
Charles Spurrill ae3f8156ea thicker airship bottom to avoid lorry clipping through 2012-08-03 14:38:02 -07:00
Charles Spurrill e54673962a Added library allowing solidmasked vehicles to 'rotate' parented objects along the z-axis with their rotation. See airship 2012-08-03 14:22:06 -07:00
Charles Spurrill 6f74d0430f #796: Added missing gravestone rule 2012-08-02 12:00:11 -07:00
Günther Brammer 3635839d12 Remove the disabled /sound command from the help text 2012-07-25 17:02:37 +02:00
Günther Brammer 6a0f9b164c Use a constant for the default gravity instead of triplicating it 2012-07-25 17:02:10 +02:00
Günther Brammer 35a0d7b6cd Script: Get/SetGravity use 1/100 px/tick^2 instead of 1/500
The old factor was chosen because the default gravity * 500 was exactly
100. But a lot of other engine interfaces use 1/100 px/tick or px/tick^2,
and that is a common scale for scripts to work in, too.
2012-07-15 22:42:17 +02:00
Günther Brammer 49a0ea7bd2 Support Decel for SCALE, HANGLE and FLIGHT, fall back to Accel
All procedures now use the Accel value if the Decel value is nil, and also
use the default Attach value if that is nil.
2012-07-15 21:47:50 +02:00
Günther Brammer 9f0556250f Clonks don't lose their speed when hitting a wall 2012-07-15 19:05:20 +02:00
Günther Brammer 3aaa37ad41 Store global proplist in a C4Value like the Scenario proplist
Since the script engine doesn't have an appropriate function to create the
proplist in, simply create it in the constructor and arrange for the
string table to be constructed first.
2012-07-26 01:27:52 +02:00
Günther Brammer 4405ce0798 Clear Scenario local variables during script engine cleanup
Other script hosts are simply deleted completely, and the parser would
also clean these up, but this avoids a complaint from the string table at
exit.
2012-07-26 01:24:04 +02:00
Günther Brammer 692fb103f1 DrawVertex uses thinner lines for the cross 2012-06-08 16:19:36 +02:00
Günther Brammer 06cb8b595d win32: Remove obsolete #include multimon.h
multimon.h was only needed for compatibility with Windows 95.
2012-07-18 03:40:19 +02:00
Charles Spurrill c28ef14f00 #752: Gravestones Rule Added. On clonk death, a gravestone is created (collecting the clonk's corpse to hide it) 2012-07-26 15:01:23 -07:00
Charles Spurrill ea445138b1 Fancy icons for Rules.ocd 2012-07-26 11:38:50 -07:00
Charles Spurrill c33bf65be8 Kitchen 3D graphic added 2012-07-26 11:20:45 -07:00
Charles Spurrill 5ddf912294 Added coconut/palm tree 2012-07-23 12:44:07 -07:00
Charles Spurrill d4dbf167e7 #756: Fixed Picture transform for boompack during flight 2012-07-22 18:55:01 -07:00
Charles Spurrill e1b4c4c7dd Prettier clonk-skin icons in Crew Selection menu 2012-07-22 17:36:47 -07:00
Charles Spurrill 41f5f59ebf #765: Clonk stops moving when setting down heavy-objects 2012-07-22 17:35:27 -07:00
Koronis c57f05a44f improved tree falling animation and sound 2012-07-22 21:15:49 +02:00