Commit Graph

210 Commits (d4eb45f6b2f41bfc92427dc0c66dcd53a339d80b)

Author SHA1 Message Date
Sven Eberhardt 3fb86e9ea9 Fix null pointer exception when objects are removed in response to a hit callback. 2014-10-03 21:57:38 +02:00
Sven Eberhardt b899e8944c Base variable naming in scenario saving on saved object count of same type name instead of object number.
This should yield shorter, more predictable names reducing changeset size when an Objects.c file is updated.
2014-09-22 19:21:25 +02:00
Sven Eberhardt 4d36f3a2d2 Some missions fixes/adjustments
* Plane with same color in all missions
* Sequence multiplayer fix
* Heavy smoke is a particle parameter
* Goal graphics fix
* Fix rocky pick direction after dialogue initiation from left
* Dialogue supports sections
* Hat moved to decoration for other missions
2014-09-21 16:36:05 +02:00
Maikel de Vries 03c88c34a3 removed WebCode from league string 2014-09-19 20:55:11 +02:00
Sven Eberhardt 6569a47e37 Change MessageWindow (i.e. the default goal messages) to use decorated messages instead of menus.
Currently, it opens a small window in the bottom right corner which blocks all player control and is not intuitive how to close. Now it's a message that will automatically disappear after a while (If the player hasn't finished reading, he can just click the goal icon again).
2014-08-21 19:55:32 +02:00
Sven Eberhardt cbb321307f Scenario saving fixes: Layers, fishes, sproutberries.
Do not save sprout berries that are still attached to sprouts. Omit some unnecessary properties for fishes.
2014-08-14 17:18:26 +02:00
Sven Eberhardt b1db0c7918 (Re)implement text completion in dialogue text windows as an async control. Default to Space, i.e. MenuOK. 2014-08-10 20:58:26 +02:00
Sven Eberhardt 834566cf5e Make smoke a bit smaller.
It somehow got really large and weird since the particle changes.

It could still get some polishing, but at least it's a bit less annoying now.
2014-07-21 17:28:11 +02:00
Sven Eberhardt 5cd9b915b0 Added some dialogue functions and speaker portraits. UpdatedAddMenuItem and CustomMessage to allow more customization for picture graphics.
I would prefer to render the models for speaker portraits directly. However, it seems like it's not currently possible to clip or render models to offscreen surfaces.
2014-07-05 15:25:30 +02:00
David Dormagen 6217a84f0b added GetSurfaceVector() to Math.c which can be used to get informations about the surface of the landscape at some point (f.e. for bouncing projectiles) 2014-06-27 20:46:48 +02:00
David Dormagen fb1ee2f88f the Trans_* mesh-transformation-functions are now implemented in the Engine instead of System.ocg 2014-06-27 20:36:47 +02:00
Maikel de Vries 7737759ffb fix ShuffleArray() function 2014-05-19 20:20:20 +02:00
Sven Eberhardt 91c2d49d2a Remember league login name and password token.
Also removed some CUID/Webcode authentification code from engine.
2014-05-18 15:10:00 +02:00
Sven Eberhardt 45f69abb6e Revert engine-side league localization
The engine cannot know about all future league strings. Instead, localize server-side using language id from http request.
2014-04-27 15:42:47 +02:00
Sven Eberhardt 50a5862b7a Store modified mesh material assignments in saved scenarios. 2014-04-18 14:20:10 +02:00
Maikel de Vries c70c44387f Fix some DoDamage issues
Fire.c use correct number of parameters
Axe.c implemented FX_Call_DmgChop according to documentation
2014-04-06 17:15:13 +02:00
Julius Michaelis e5b7ef5b80 AutoFrameSkip: Graphics option to reduce lag by slow
Skips drawing every second frame if drawing the previous frame was too slow
Setting is controlled by game host
Default: on

Imported from Clonk Rage

From e6e680f49ac50a352e9a051ee21622e7f00648b6 Mon Sep 17 00:00:00 2001
From: sven2 <sven2@786b8e90-9c09-0410-89a9-bccc6ef1e79b>
Date: Sat, 21 Sep 2013 21:34:44 +0000
Subject: [PATCH] + AutoFrameSkip: Graphics option to reduce lag by slow
 clients in network games

git-svn-id: https://www.clonk.de:83/svn/clonk/stable@14501 786b8e90-9c09-0410-89a9-bccc6ef1e79b
2014-04-03 14:53:12 +02:00
Julius Michaelis c49bc99efe Options/Graphics: tidy up
Remove Config.Graphics.ShowAllResolutions
2014-03-17 22:29:39 +01:00
Nicolas Hake 01d5507c22 lang/de: Don't use 'ü' as accelerator
Taking over a player had the 'ü' key assigned as accelerator. Since that
doesn't work anyway, switch to a more conservative 'n'.
2014-03-11 00:30:34 +01:00
Nicolas Hake 7a65ebade8 Warn on unsupported accelerator keys
Chars outside the basic latin alphabet don't actually work as
accelerator keys. Emit a warning when encountering them.
2014-03-11 00:26:13 +01:00
Tobias Zwick 3a8c8d7c3b selecting the clonks via hotkey was all backwards (#1031)
e.g. pressing ctrl+3 selected 1st clonk if there are 3 in the crew
2014-02-16 13:15:07 +07:00
Tobias Zwick e1cff59418 fix statistics in player selection dialogues ignore linebreaks (#1027)
I was unable to find the original commit that might have caused this, so I passed the constructor of the TextWindow an extra parameter to treat "|" as linebreaks and changed the translation files.
2014-02-03 01:11:05 +07:00
Tobias Zwick 1e359bddf9 fix typo in english translation 2014-02-01 19:51:42 +07:00
David Dormagen 425a221aff adjusted some particles (f.e. smoke slightly brighter, foundry more subtle)
see http://forum.openclonk.org/topic_show.pl?pid=25749#pid25749 for further information
2014-01-25 15:51:05 +01:00
Sven Eberhardt 55083802b5 Updated SaveScenarioValueToString to recurse into arrays and allow custom save names for defs/proplists 2014-01-22 20:28:41 +01:00
Sven Eberhardt 21c132d2cb Fix StaticSaveVar saving to save string, not object pointer. 2013-12-30 12:24:41 +01:00
Sven Eberhardt 0db19586c8 Save StaticSaveVar as property in Objects.c
Otherwise, you'd have to re-set it every time you edit objects files in the editor.
2013-12-30 03:09:13 +01:00
Sven Eberhardt 49b2c75475 Added helper function Particles_Colored - creates a colored version of a base particle. 2013-12-29 15:08:52 +01:00
Sven Eberhardt 5094cc5c1b Reworked "Save as scenario" option in editor to write a script file instead of Game.txt. 2013-12-27 17:10:09 +01:00
Tobias Zwick ac4ac04558 Merge branch 'master' of ssh://git.openclonk.org/openclonk 2013-12-18 12:48:14 +07:00
Tobias Zwick db6a31cc7a add localized error for each player that could not be loaded (#693) 2013-12-18 12:47:08 +07:00
David Dormagen a10c9316ef renamed DynamicParticles* to Particles* and CreateParticleEx to CreateParticle 2013-12-17 22:32:01 +01:00
Tobias Zwick 666a51b3d9 update documentation around DefCore, remove some obsolete fields 2013-11-30 14:14:18 +07:00
David Dormagen 54fdb2cec1 updated some remainers of the old particle system to use the new one 2013-11-28 23:38:26 +01:00
David Dormagen 0b346d67ff made pretty fireworks (with new particle system) 2013-11-28 23:28:33 +01:00
David Dormagen 6844cbbc71 changed DrawParticleLine to use the new particle system 2013-11-28 23:27:56 +01:00
David Dormagen defe1f7525 updated Grass particle and usages to new particle system 2013-11-28 23:25:30 +01:00
David Dormagen ee4b5832e2 added Smoke() function that uses the new particle system 2013-11-26 21:25:06 +01:00
David Dormagen f032dea85e adapted smoke-trail-effect to use the new particle system 2013-11-26 21:25:04 +01:00
David Dormagen 0aeb38f137 adapted MuzzleFlash particle and usages to new particle system 2013-11-26 21:25:04 +01:00
David Dormagen 241ea62d0f added new explosion effect based on Matthi's explosion with the new particle system 2013-11-26 21:25:03 +01:00
David Dormagen 1a7cd51bab changed Boompack to use the new particle system 2013-11-26 21:25:03 +01:00
David Dormagen 913f746ffe adjusted WoodChip particle and usages to new particle system and moved WoodChip particle to proper place (not only used by the axe..) 2013-11-26 21:25:00 +01:00
David Dormagen 40b84704fe adapted Trajectory particle and occurences to new particle system 2013-11-26 21:24:59 +01:00
David Dormagen ced4734035 removed the MaterialParticle and added missing Particles.c to System.ocg 2013-11-26 21:24:58 +01:00
Tobias Zwick 6b164fba97 add localization for communication with the league 2013-11-06 15:08:39 +07:00
Tobias Zwick 8da7c6b20f add internationalization for responses from the masterserver/league server 2013-11-06 13:35:27 +07:00
Maikel de Vries 994f45f521 Fix a runtime error in DarkCastle 2013-10-25 17:32:53 +02:00
Maikel de Vries b2ac11c326 Fixed Loc_Wall behavior in FindLocation.c 2013-10-04 20:58:47 +02:00
Maikel de Vries be354a99d2 Fix FindLocation for Find_Not and others acting on Find_InRect 2013-09-30 20:35:57 +02:00