Commit Graph

597 Commits (master)

Author SHA1 Message Date
David Dormagen b533d3b390 particles: minor documentation fixes 2014-02-18 20:37:16 +01:00
David Dormagen bc9b5c8bd7 added documentation for PV_Gravity 2014-02-18 19:13:51 +01:00
Tobias Zwick 1ed6521565 fix typo in documentation (#1023) 2014-02-01 19:51:44 +07:00
Tobias Zwick 6d98caaa5f fix some documentation bugs 2014-01-22 14:00:05 +07:00
Tobias Zwick 4472ce3243 add documentation for a few undocumented functions
GetMatAdjust, GetTexture, GetAverageTextureColor
2014-01-22 13:59:03 +07:00
Tobias Zwick 266540fc76 add documentation for BlastFree 2014-01-22 13:01:45 +07:00
Sven Eberhardt 57463b61c4 Rework SolidMasks to be defined in a separate SolidMask.png graphics file instead of the main definition graphics. 2014-01-08 01:55:33 +01:00
Sven Eberhardt dd0438b55d Added helper function LogCallStack.
Useful when you need a stack trace but don't want to break execution flow.
2014-01-04 14:22:41 +01:00
Sven Eberhardt e157b1b673 Docs: Renamed GetPlrColor to GetPlayerColor. 2013-12-29 22:34:11 +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 a385102c36 Changed GetDefBottom to use bottom vertex to determine object bottom.
Since this is the method also used by CreateObject, GetDefBottom can be used to recreate objects at their proper position.
2013-12-27 17:11:02 +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
David Dormagen a10c9316ef renamed DynamicParticles* to Particles* and CreateParticleEx to CreateParticle 2013-12-17 22:32:01 +01:00
David Dormagen 02f54ba1eb removed the legacy particle system from the engine and docs 2013-12-17 22:32:01 +01:00
Tobias Zwick 325053410f rename script callback UpdateTransferZone to OnSynchronized (#220) 2013-12-17 23:16:11 +07:00
Tobias Zwick 3587c34e39 fix documentation (#848) 2013-12-17 22:20:26 +07:00
Tobias Zwick dd3de2f0c9 Merge branch 'issue-251' 2013-12-09 21:45:54 +07:00
Tobias Zwick 9ffad10d51 add note to documentation of FinishCommand (#390) 2013-12-05 10:39:26 +07:00
Tobias Zwick 6116b0079c fix link to Map scripts in documentation index 2013-12-03 12:49:47 +07:00
Nicolas Hake c3f021cc5b dodocs: Fix another incorrect closing tag 2013-12-01 16:18:34 +01:00
Nicolas Hake 78139a9107 docs: Fix incorrect closing tag 2013-12-01 15:21:35 +01:00
Tobias Zwick 666a51b3d9 update documentation around DefCore, remove some obsolete fields 2013-11-30 14:14:18 +07:00
Tobias Zwick 5bee448745 update documentation around ActMap (2) 2013-11-30 13:11:36 +07:00
Tobias Zwick 932853d1d8 update documentation around ActMap 2013-11-30 11:45:31 +07:00
Tobias Zwick b4732f50c3 document properties of definitions, mark the ones missing yet in the source file 2013-11-30 00:39:29 +07:00
Tobias Zwick 133628c656 link the MapScript documentation in the index 2013-11-30 00:38:02 +07:00
Tobias Zwick 009e08edd1 Document the default planes of the categories 2013-11-29 21:07:30 +07:00
Nicolas Hake 52fd2679cd Fix line endings broken by ecf538c, 7b9c1d5, and ceca8b8 2013-11-29 14:18:48 +01:00
Tobias Zwick ceca8b8fc7 add SoundAt function in C4Script (part of #238), document
also, extend the documentation for Sound with previously undocumented parameters; threw out undocumented and also unused "multiple" parameter.
2013-11-29 18:20:36 +07:00
David Dormagen 63009705ed dynamic particles: added collision function PC_Stop; added value provider function PV_Gravity 2013-11-26 21:24:55 +01:00
David Dormagen 0707458264 dynamic particles: made the attachment an entry in the particle properties 2013-11-26 21:24:55 +01:00
Tobias Zwick feae5c8ea3 website header changes 2013-10-31 00:58:55 +07:00
Maikel de Vries 12f677f96e Fixed MAPALGO_Lines, added MAPALGO_Rotate constant, fixed documentation 2013-10-13 10:28:13 +02:00
Sven Eberhardt 8cf8ad00e5 Added MAPALGO_Lines.
This might make life easier for people who transition from Landscape.txt.

For new maps, lines should probably better be drawn using MAPALGO_Poly in a loop. This gives you more control over individual line widths, angles, etc.
2013-10-12 19:28:22 +02:00
David Dormagen 23a3abe01e CreateParticleEx: added "amount" parameter
fixed some minor documentation errors (mainly links)
2013-10-10 17:19:20 +02:00
David Dormagen 82f68db9a8 dynamic particles: removed the size-parameter of CreateParticleEx 2013-10-07 20:56:57 +02:00
David Dormagen 381b744229 dynamic particles: added documentation 2013-10-07 20:56:54 +02:00
Sven Eberhardt 96d2639688 Fix documentation for GetContact() script function behavior if no CNAT value is given.
It stated all directions were checked, but that is not true.
2013-09-05 22:52:46 +02:00
Sven Eberhardt 60a32b1f14 Added player control assignment trigger mode "ClearRecentKeys": If assignment is triggered, clears all recently pressed keys prior to and including trigger key.
Useful for spell combos, where one spell combo might end the same way another combo starts.

Also corrected docs for OverrideAssignments (it's just a flag; not a trigger mode).
2013-09-02 17:27:15 +02:00
Sven Eberhardt 49c16723a9 Change Random() on negative values to always return zero.
Before, it would return huge, positive values (e.g. Random(-20) could produce 47384782) which leads to all kinds of trouble in script (like #968)
2013-07-02 21:16:59 +02:00
Tobias Zwick 67e00d8a98 reintroduce position parameter in (Can)InsertMaterial 2013-06-04 20:07:43 +02:00
Tobias Zwick c4c781631f Merge branch 'master' into pumpfix 2013-05-30 22:18:23 +02:00
Tobias Zwick 131ec86b98 refactor pump done. Remaining problem: power system (usage) 2013-05-30 22:11:39 +02:00
Armin Burgmeier 695a9a88c3 Add TransformBone and SetAnimationBoneTransform script functions 2013-05-27 21:33:29 +02:00
Sven Eberhardt 4557d1638e Added property LineMaxDistance to let a line break when connected objects are too far apart. 2013-05-09 12:02:44 +02:00
Sven Eberhardt 183c1527b6 Added query_only parameter to script function InsertMaterial. 2013-04-28 13:57:52 +02:00
Armin Burgmeier c935c81532 Fix links into OGRE wiki in mesh documentation 2013-03-31 17:32:45 +02:00
Sven Eberhardt c17080a4a2 Added no_instability_check parameter to script functions DigFree and DigFreeRect (#932). 2013-03-31 15:39:29 +02:00
Sven Eberhardt 1322391f5f Implemented C4S.Landscape.BottomOpen=2: Bottom is closed iff corresponding map pixel in bottom row has tunnel background. 2013-03-30 14:54:51 +01:00
Sven Eberhardt 4b6c26a48a Added script function array MapLayer.CreateMatTexMask(any mask_spec).
Returns mask_spec as an array of 256 bools to be used e.g. in conjunction with the return value of GetPixel.
2013-03-24 13:23:37 +01:00
Sven Eberhardt 57e63a5275 Added support for scripted maps (Map.c) and documentation. 2013-03-19 00:36:06 +01:00
Sven Eberhardt 9e9e05f492 Added GetStartupPlayerCount script function 2013-03-19 00:36:05 +01:00
Günther Brammer 2d7b472ab3 Script: GetID returns the prototype of an object, not the internal C4Def 2013-03-10 17:37:29 +01:00
Günther Brammer f120fec8a0 docs: Fix some typos found by make check 2013-02-24 14:50:12 +01:00
Günther Brammer 3c0162d797 docs: Expand the index a bit 2013-02-24 14:50:11 +01:00
Günther Brammer 5fa9c39184 docs: Don't show the search box in the chm
It only works when the page was loaded from a webserver with php, and chm
has built-in search anyway.
2013-02-24 14:38:50 +01:00
Günther Brammer 9ed2fad4bd docs: Humor hhc.exe's exit code 2013-02-24 14:38:50 +01:00
Günther Brammer 991845a5bb docs: Update Makefile documentation and cygwin instructions 2013-02-21 22:41:01 +01:00
Sven Eberhardt 30e07f87b8 Added parameter to InsertMaterial() to return actual insertion position.
The insertion position might be pushed upwards if e.g. water is inserted to the bottom of a lake. However, we need the actual insertion position if we ever want to modify the pump to require/produce energy depending on the vertical distance of material pumped.
2013-02-17 18:29:44 +01:00
Nicolas Hake e91d4a4278 Update more various references to clonk.exe 2013-02-03 20:54:34 +01:00
Nicolas Hake 1f1333d5bd Update de.po to conform to standard formatting
Apparently some other software has felt like reformatting
our .po file in a different way than prescribed by docs/Makefile.

Reverted the reformat to get a clean patch for the actual
translation changes.
2013-02-03 20:31:07 +01:00
Sven Eberhardt 4b189cacd1 Added Scenario [Landscape] FlatChunkShapes. If set to true, all chunks are drawn flat. Useful for scenario editing to fix little holes in your static landscape. 2013-01-20 12:51:33 +01:00
Sven Eberhardt f51a085592 Added object callbacks EditCursorSelection and EditCursorDeselection. Useful to show or hide developer stuff in the editor. 2013-01-15 23:10:25 +01:00
Tobias Zwick 6dc75fb22a documentation -> link to git repos in header 2013-01-13 15:40:28 +01:00
Gabriel f4d8d81a70 Changed actmap.xml "Facet" entry to coordinates.
Replaced "Facet" with "X", "Y", "Wdt" and "Hgt".

Signed-off-by: Tobias Zwick <newton@westnordost.de>
2013-01-13 14:07:27 +01:00
Gabriel 8bce48f166 Fixed parameters and text in SetGamma.xml, Schedule.xml and Effects.xml
I also managed to get rid off the extra " automatically inserted at the end of the Schedule examples, by adding a <funclink></funclink> after the last &quot;. The string is not highlighted green now, but it not even was before.

Signed-off-by: Tobias Zwick <newton@westnordost.de>
2013-01-02 22:45:31 +01:00
Sven Eberhardt 4c44e4cc25 Fix some docs errors in GetColor and Sort_Random. 2013-01-01 15:40:48 +01:00
Armin Burgmeier c3c148d53a Add CreateParticleAtBone script function 2012-12-29 00:06:30 +01:00
Sven Eberhardt 803b1c5197 Add documentation for GetIndexOf 2012-12-18 01:19:49 +01:00
Sven Eberhardt 16d4258b09 Added some array sorting functions to C4Script 2012-12-17 16:41:39 +01:00
Günther Brammer c8a1c48d43 docs: fix make -C docs install
The $(PWD) was probably for MSys or something, which has probably broken
due to not being tested, and might even not need that workaround from
2007 anymore.
2012-11-18 22:01:07 +01:00
Günther Brammer a98100b339 docs: Highlight new script value type keywords def and effect 2012-11-18 18:24:21 +01:00
Maikel de Vries 18ac902766 Removed non existing InsertMaterialAmount link in docs (#849) 2012-11-01 22:08:03 +01:00
Günther Brammer 8cf2b6adf1 Script: Call can execute functions directly
Call(this["foo"],...) is now the same as Call("foo",...).
2012-08-19 17:34:53 +02:00
Tobias Zwick caac561959 Search bar in the documentation defaulting to c4script function (or similar) (#819) 2012-10-20 16:14:00 +02:00
Tobias Zwick 52feb9a67f update docs for control dialog changes 2012-10-13 14:36:28 +02:00
Sven Eberhardt 22c744f72e PlayerControls: Allow GUIName and GUIDesc in assignments. 2012-10-08 22:29:15 +02:00
Tobias Zwick 873f189641 fix openclonk header css for docs (nobody noticed :-( ) 2012-08-20 21:47:21 +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
Tobias Zwick 918afc2008 doku.css with Endeavour font for titles 2012-05-13 10:32:12 +02:00
Günther Brammer 23d1246be1 Script: Add === and !== operators
These operators have a stricter definition of equality than the == and !=
operators. Those are already stricter than in some other languages, so the
new ones are probably not needed very often. But if the need does arise,
there's no workaround short of modifying the data structures and checking
whether they are still the same.
2012-06-11 00:47:28 +02:00
Günther Brammer 4e71af5489 Script: Add GetProperties function to get the keys of a proplist 2012-05-26 01:32:43 +02:00
Günther Brammer 9b3c3e067a Script: Remove useless SetLandscapePixel 2012-05-14 23:08:36 +02:00
Günther Brammer 1a5653d468 Script: Remove DefinitionCall. Use Call instead.
No scripts in the repository use DefinitionCall, but in the unlikely case
that it's needed again, one can now use def->Call() instead.
2012-05-07 21:12:51 +02:00
Günther Brammer 562501aee3 docs/Makefile: clean removes generated sdk/content.xml 2012-05-05 22:48:27 +02:00
Günther Brammer 958af2df73 docs: Update German translation 2012-05-06 15:37:58 +02:00
Günther Brammer 2510734ad3 Script: Damage callback changed to Damage(Change, Cause, CausedByPlr) 2012-05-06 14:45:35 +02:00
Maikel de Vries 6fcc0f6d2e Removed TimerCall in favour of AddTimer script implementation 2012-05-05 12:09:44 +02:00
Maikel de Vries 4a56f8d7c1 Replaced defcore values related to fire with properties 2012-04-28 16:17:38 +02:00
Armin Burgmeier 90dc9abbcd Add Anim_R as a AVP for mesh animations 2012-04-22 00:22:05 +02:00
Bernhard Bonigl 293b3f80e8 Merged diverged Controls branches 2012-04-17 18:36:14 +02:00
Bernhard Bonigl e4de68cd07 Wireframe Blitmode Documentation 2012-04-17 17:29:41 +02:00
Sven Eberhardt 88da5ef5c6 GetPlayerControlAssignment: docs 2012-04-17 17:22:42 +02:00
Maikel de Vries 16fa9cf341 Placement is now a property instead of DefCore value 2012-04-16 22:17:05 +02:00
Julius Michaelis 7b14dd8de7 Some doc translations and FX_Call_* documentation for Effects 2012-04-16 01:10:29 +02:00
Nicolas Hake 7efd9a9b9a Aul: Add new nil-coalescing operator ??
This short-circuiting operator will evaluate to its first operand if the operand
is not nil, or to its second operand otherwise. Its intended use is to simplify
defaulting expressions that may evaluate to nil to a valid value.
2012-04-15 15:44:01 +02:00
Martin Plicht 6df62ae41b docs: AddMenuItem: 'parameter' is any 2012-04-12 20:08:55 +02:00
Bernhard Bonigl e7d1412a76 Added ContentsDestruction documentation (english) 2012-04-07 22:45:11 +02:00
Felix Wagner cce5d109ef no_dig2objects parameter for DigFree / DigFreeRect 2012-04-05 16:49:47 +01:00
Felix Wagner c7f5e11ac8 DigFree & DigFreeRect return amount of pixels dug free 2012-04-05 02:59:45 +01:00
Maikel de Vries 7b8800356a Removed Precipitation from engine
Will be implemented through clouds and definition calls.
2012-04-01 23:03:52 +02:00
Felix Wagner 47fcf53868 docs for CheckConstructionSite 2012-03-27 19:10:07 +01:00
Günther Brammer ac9c451be0 docs: Document the function pointer stuff somewhat 2012-03-09 19:13:46 +01:00
Günther Brammer dfea0914a9 Merge the functions pointer branch 2012-03-09 17:42:48 +01:00
Günther Brammer 6414812098 docs: Expand effect standard properties description a little 2012-02-25 22:02:43 +01:00
Julius Michaelis c96d5048f2 Fix a link in the german docs 2012-02-24 00:33:24 +01:00
David Dormagen 5341ec1c3d removed the ignore_sky parameter of Draw*Map - now always ignores sky 2012-02-19 17:57:33 +01:00
Günther Brammer 9f180dffee Script: Remove ScriptGo, ScriptCounter, goto and the ScriptN callbacks
No scenario uses them, and ScheduleCall provides an alternative.
2011-09-19 21:33:05 +02:00
Günther Brammer c63b66e909 Script: Add def and effect parameter types 2011-09-24 18:37:28 +02:00
Tobias Zwick 07fbe84af6 fix docs header 2012-02-01 20:10:17 +01:00
David Dormagen 5749053687 docs updated for the DrawMap/DrawDefMap change 2012-02-11 23:25:37 +01:00
Günther Brammer 7d0866ffab docs: Use javascript to avoid page reloads when using the toc
This uses the fairly new history.pushState API, but simply falls back on
normal navigation in browsers that don't support that.
2012-01-11 17:50:23 +01:00
Armin Burgmeier 3caca03a61 Fix title of GetPlrClonkSkin documentation 2012-01-29 14:39:32 +01:00
Felix Wagner 5a28794482 +GetPlrClonkSkin(iPlr) 2012-01-29 02:17:00 +00:00
Julius Michaelis 597f928ec6 Update docs on arrays
Add some German translation strings
2012-01-25 23:25:32 +01:00
Tobias Zwick 07aaae81f2 implemented documentation changes requested in forum 2012-01-10 16:14:15 +01:00
Armin Burgmeier cc62b169c8 Add "MouseDrag" property for finer control of script-implemented drag+drop 2011-12-28 19:33:19 +01:00
Günther Brammer b80315b182 Script: Remove unused PrivateCall and ProtectedCall 2011-09-30 01:47:06 +02:00
Günther Brammer 78b6f73efe docs: Update Sound() for recent changes 2011-10-21 20:19:26 +02:00
Günther Brammer 8af0bb03be docs: Updates for Physical and Category changes 2011-10-20 00:26:22 +02:00
Felix Wagner ff774ecb91 docs for Placement 2011-10-03 00:25:21 +01:00
Armin Burgmeier b416da900e docs: add table for on_ending possibilities in Anim_Linear documentation 2011-10-03 20:17:20 +02:00
Günther Brammer 5ca85f97c5 CrewMembers are only banned from resurrection during Death callbacks (#532)
This avoids immediate resurrection, but allows Clonks to return later in
the same round, just like they can return later in the next round.
2011-10-02 18:47:21 +02:00
Günther Brammer 7cb5f935d9 docs: split build_chm_files into build_contents, build_hhp and hhk.xsl
This removes the dependency loop from build_contents to the .po files to
contents.xml to build_contents. The .hhp file generation is a simple step
which gets split off to work around Make limitations with multiple output
files.
2011-09-19 14:50:27 +02:00
Günther Brammer df635390f9 docs: Improvements to chm generation and in-browser xslt preview 2011-09-09 21:36:03 +02:00
Tobias Zwick 9d67bf366e docs: documented FatalError 2011-09-18 18:16:49 +02:00
David Dormagen 49722a6a06 typo fixed 2011-09-18 10:55:01 +02:00
Günther Brammer 8a60b070d8 docs: Update Typechecks.xml for latest engine changes 2011-09-07 16:05:05 +02:00
Günther Brammer 7fdc52ead2 docs: xml2po doesn't ignore malformed xml files
Some steps of the docs build require wellformed xml, so be consistent.
2011-09-05 23:31:10 +02:00
Günther Brammer cd75b0a3d2 docs: Add an index to the table of contents
This adds everything that has an id as well as functions.
2011-09-05 22:37:47 +02:00
Günther Brammer 6d6737a022 Add two new Material Shapes Octagon and Smoother, more chunk antialias
Previously, smooth materials would get extra triangles at the top to create
slopes instead of steps. Now those also appear at the bottom.

Smooth also gets generally smoother at the bottom, while Rough gets rougher
at the top. The new Smoother material is somewhere between Flat and Smooth.
Octagon is like Flat but also gets straight slope triangles.
2011-09-07 14:25:32 +02:00
Julius Michaelis c1123cff55 Update the visibility docs.
Very small fix to C4Object::IsVisible
2011-09-05 17:13:44 +02:00
Tobias Zwick 49729a61ae renamed ominous "Smooth" texture to "none", removed reference in docs to Smooth and made it 512x512
In OC, actually every material has its predefined set of textures, so the default texturing of >=CR is obsolete. The "Smooth" texture is a relic of that which is currently only used because of the "Vehicle" material.
2011-08-29 23:41:41 +02:00
Tobias Zwick f025edb4a9 removed Portraits
+ CustomMessage now uses a normal picture of a definition/object
+ BigIcon is now the small (and only) "Portrait" the player chan choose
+ In future, one could of course make the max size of the BigIcon bigger
2011-08-05 14:58:16 +02:00
Tobias Zwick a5a9e3b23a new clonk-head graphics 2011-08-05 14:54:54 +02:00
Tobias Zwick 21c5105cfa docs: automatic scrolling recognizes index files as such 2011-08-02 17:13:52 +02:00
Tobias Zwick f2177e7ce8 docs: index page with "get started" links and search 2011-08-02 16:25:00 +02:00
Tobias Zwick 258c82604d moved RelaunchPlayer callback to engine 2011-08-02 15:46:24 +02:00
Tobias Zwick e537a7ad0a docs: fix link to download page in header.xml 2011-08-01 01:15:15 +02:00
Tobias Zwick 129a723436 docs: overhauled game content documentation a bit 2011-08-01 00:45:05 +02:00
Tobias Zwick d8492f3bf0 docs: updated de.po 2011-07-31 21:59:33 +02:00
Tobias Zwick 8d464c90fb docs: added documentation of gamecalls 2011-07-31 21:04:17 +02:00
Tobias Zwick ecd6de1d65 refactor: schedulecalls without object can now be made from object context
(parameter obj is not automatically filled with this if nil)
2011-07-31 19:27:26 +02:00
Tobias Zwick e482c9a5cd docs: removed old control documentation 2011-07-31 19:13:07 +02:00
Tobias Zwick 324d66b760 remove "reserved" parameter from Fx*Effect callback 2011-07-31 02:39:51 +02:00
Tobias Zwick 92069bb2f8 removed undocumented ~GetCustomComponents callback and the involved hackery 2011-07-31 02:22:29 +02:00
Tobias Zwick 7a3dde2baa docs: update css 2011-07-31 01:43:19 +02:00
Tobias Zwick 481a59835c docs: talk about nil for defaults. enclose nil, false and true in <code> tags 2011-07-31 01:32:02 +02:00
Tobias Zwick f45255a00f docs: fixed effects documentation (examples and functions) 2011-07-30 19:30:53 +02:00
Peter Wortmann 9d2e9fdfa6 Documented Find_OnLine, Find_ActionTarget and Find_ActionTargets 2011-07-27 01:22:43 +01:00
Tobias Zwick be511996bf docs: translated ScriptPlayers.xml examples 2011-07-24 00:08:36 +02:00
Tobias Zwick 8cb2b8452d docs: fixed and translated examples 2011-07-23 22:10:44 +02:00
Tobias Zwick ef0d3ad7ea docs: fixed typo in NO_OWNER 2011-07-21 02:51:27 +02:00
Tobias Zwick 272487d9ca docs: PlayerControls.txt documentation shows in content.xml 2011-07-21 02:48:08 +02:00
Tobias Zwick a363c3c09a docs: proper spacing between icons and titles, css adjustments 2011-07-21 02:43:04 +02:00
Tobias Zwick a25740eddc docs: fixed missing or "fuzzy" translations in de.po 2011-07-21 01:43:29 +02:00
Tobias Zwick 9816bc9e2f docs: fixed examples and localization thereof for all folders except script/ 2011-07-21 01:43:00 +02:00
Tobias Zwick 11d1a1e18c docs: use NO_OWNER instead of -1 in no-owner related docs 2011-07-21 01:42:30 +02:00
Tobias Zwick eff1137eab docs: removed CHOP procedure (has been removed from the engine) 2011-07-21 01:37:40 +02:00
Tobias Zwick 7c4b78ce85 docs: removed references to ActMap (as text file) and GetActMapVal 2011-07-21 01:37:05 +02:00
Tobias Zwick 61707480de docs: removed references to old .bmp graphics 2011-07-21 01:35:33 +02:00
Tobias Zwick f1407a4a48 docs: Teams.txt is now indexed in the content.xml (as "Multiplayer"), moved Internationalization one up 2011-07-21 01:32:24 +02:00
Tobias Zwick 2317bb1ec9 docs: fixed a few typos 2011-07-21 01:30:15 +02:00
Tobias Zwick 2dc01ed2bd docs: removed basefunc docs (obsolete) 2011-07-21 01:28:48 +02:00
Tobias Zwick b8d280920e docs: finished fixing all examples and the localization thereof for fn/ 2011-07-20 16:22:07 +02:00
Tobias Zwick b126524009 docs: in the contents, also a list of all function is shown (instead of by version) 2011-07-20 01:18:03 +02:00
Tobias Zwick 3705ca8b6b docs: Portraits are obsolete -> remove documentation 2011-07-19 23:54:07 +02:00
Tobias Zwick f55a480c6f docs: sly example for IsNetwork() 2011-07-19 13:27:43 +02:00
Tobias Zwick bd13760144 docs: fixed examples and localization thereof Hostile - Sell 2011-07-17 19:41:48 +02:00
Tobias Zwick c6c2ba264e docs: fixed syntax error in COMD_None.xml 2011-07-17 19:29:15 +02:00
Tobias Zwick 5f39378a98 crlf... 2011-07-07 12:42:27 +02:00
Tobias Zwick ca12c12f59 merge 2011-07-07 12:40:54 +02:00
Tobias Zwick 1b9f0d7ec4 docs: fixed documentation examples GameOver - GrabObjectInfo 2011-07-07 12:34:10 +02:00
Maikel de Vries d550f7c7da Differentiate between COMD_None and COMD_Stop
Was necessary after 267ebb600481 and current abuse of FLOAT procedure. None keeps the current motion, Stop halts the current motion of a procedure.
2011-07-06 18:13:39 +02:00
Maikel de Vries eb530c6017 Removed Defcore:Prey and OCF_Prey
Had no use in the engine, should therefore be defined in C4Script if deemed necessary.
2011-07-05 13:40:40 +02:00
Maikel de Vries 248f85c2eb Removed Defcore:Edible and OCF_Edible
Had no use in the engine, should therefore be defined in C4Script if deemed necessary.
2011-07-05 13:10:56 +02:00
Tobias Zwick 31b7806bf6 docs: removed references to #strict 2011-07-04 15:31:34 +02:00
Tobias Zwick a94bef26a2 correct line endings for de.po 2011-07-03 15:57:50 +02:00
Tobias Zwick c81b22aaef merge 2011-07-03 15:47:59 +02:00
Tobias Zwick 4f6602b257 merge 2011-07-03 15:46:28 +02:00
Tobias Zwick d8f7971026 docs: fixed documentation examples Call - FreeRect 2011-07-03 15:44:10 +02:00
Tobias Zwick 9f3824f484 docs: fixed documentation examples _inherited - C4V_String 2011-07-03 04:01:19 +02:00
Tobias Zwick c5d13af963 docs: LaunchLightning version OC 5.1 -> 5.1 OC 2011-07-02 23:45:54 +02:00
Tobias Zwick 1958e1f959 got rid of SkyPar_Keep (now: nil). See docs. 2011-07-02 23:44:53 +02:00
Tobias Zwick 10dee2e4e6 removed references to function "Activate" 2011-07-02 22:58:06 +02:00
Tobias Zwick 75da7fdc18 removed references to function "Activate" 2011-07-02 22:58:06 +02:00
Benedict Etzel 8c169a2bd8 docs: translate (most) untranslated items in de.po 2011-07-01 15:03:48 +02:00
Günther Brammer 29386f2184 docs: update command line reference 2011-06-30 20:16:54 +02:00
Günther Brammer 540b14dec6 docs: Generate the table-of-contents <img> in the xslt 2011-06-30 19:25:02 +02:00
Tobias Zwick 21b722475e docs: constants are not displayed with brackets in the documentation anymore 2011-06-30 17:25:22 +02:00
Tobias Zwick ad8f294362 docs: removed references to older versions for non fn-docs and updated de.po 2011-06-30 16:35:36 +02:00
Tobias Zwick 83e52fe2cf docs: fixed examples in fn/ SetShape - WildcardMatch 2011-06-30 14:23:24 +02:00
Tobias Zwick 3a96d7c7b9 docs: put all version numbers to OC 5.1/5.2 and removed references to older
versions for single parameters (f.e. "From 4.9.5.1.")
2011-06-30 12:52:55 +02:00
Tobias Zwick 78b006cd7a docs: search.php works correctly with the iframe now 2011-06-30 02:23:21 +02:00
Tobias Zwick 393e650493 docs: added empty index.xml as a starting point of the documentation (including the iframe) 2011-06-30 01:43:01 +02:00
Tobias Zwick 245228aa5e docs: search.php also displays the iframe 2011-06-30 01:42:18 +02:00
Tobias Zwick 47f84a46d7 docs: added language switcher to the header 2011-06-30 01:41:49 +02:00
Günther Brammer 08707c782f docs: Scroll current page into view in the toc iframe 2011-06-30 01:12:53 +02:00
Günther Brammer ab067f44b2 docs: Show table of contents on every page 2011-06-30 00:52:29 +02:00
Tobias Zwick 361bae2448 docs: removed navigation and other small visual changes to search.php 2011-06-30 00:36:42 +02:00
Tobias Zwick a68ef2735e docs: updated de.po (due make all) 2011-06-30 00:33:21 +02:00
Tobias Zwick 4114ca345f docs: fixed translation problem, removed navigation, removed webnotes-stuff 2011-06-30 00:32:48 +02:00
Tobias Zwick 4728d50d9a docs: fixed two spacings 2011-06-29 16:47:09 +02:00
Tobias Zwick 262d6c5ac1 docs: fixed spacing of title images to titles 2011-06-29 14:22:23 +02:00
Tobias Zwick 1310bf2090 docs: fix typo in Template.de.hhp 2011-06-29 14:20:36 +02:00
Günther Brammer 65029ffde2 Merge revert bitmasks.js removal 2011-06-29 15:08:05 +02:00
Günther Brammer 7191d1b1f8 revert bitmasks.js removal 2011-06-29 15:03:53 +02:00
Armin Burgmeier 6e6008d73c Really add .htaccess to online docs 2011-06-29 01:28:45 +02:00
Tobias Zwick 609a2da345 docs: fixed makefile to include .htaccess for online documentation 2011-06-29 00:55:21 +02:00
Tobias Zwick 8d6ae3c729 docs: replaced icons with new oc icons 2011-06-26 18:06:21 +02:00
Tobias Zwick e0a4adda84 docs: removed renderclonk-documentation (obsolete) 2011-06-26 17:08:24 +02:00
Tobias Zwick cbf490955b docs: removed some absolutely obsolete documentation. 2011-06-26 16:59:19 +02:00
Tobias Zwick bd7ff9564b docs: removed the RDW-documentation introduction page 2011-06-26 16:24:28 +02:00
Tobias Zwick cdac6945b6 docs: replaced all c4s,c4d,c4g,c4m,c4p,c4i,... with their oc* counterpart in the documentation 2011-06-25 15:31:29 +02:00
Maikel de Vries a10d1ad5ac Script: Removed obsolete Completion callback
Already marked obsolete in the docs for quite a time.
2011-06-10 16:31:00 +02:00
Günther Brammer f97cde74c3 Split C4V_Any into C4V_Nil for the data type and C4V_Any for the typecheck 2011-05-09 14:37:28 +02:00
Günther Brammer 177b085271 Script: SetPlrExtraData and SetCrewExtraData can store strings 2011-05-02 23:01:19 +02:00
Günther Brammer 6df452c5e9 Merge c4script-standalone branch 2011-03-07 21:42:59 +01:00
Günther Brammer c009851ce2 Script: Remove unused category parameter from GetDefinition
While at it, also remove it from the internal function and a bunch of dead
code from C4IDList.
2011-03-07 21:26:56 +01:00
Julius Michaelis adcd954605 Remove GetSystemTime from the docs 2011-03-05 16:06:01 +01:00
Günther Brammer a63851592c docs: Plane and Parallaxity 2011-02-18 23:37:13 +01:00
Julius Michaelis 1988ec6e8d docs: Removed orphaned ObjectCall-Funclinks. 2011-02-17 12:08:57 +01:00
Günther Brammer 608040e7e5 docs: AddEffect return a proplist 2011-02-13 20:34:05 +01:00
Günther Brammer c48eba44b5 docs: Start a page with a list of object properties 2011-02-06 00:41:29 +01:00
Günther Brammer 4984cd6b99 objects: Remove DFA_BUILD procedure 2011-01-04 00:55:42 +01:00
Günther Brammer b2bf7ffda4 objects: Remove Build and Construct command 2011-01-04 00:47:31 +01:00
Günther Brammer 8843950662 objects: Remove a bunch of resorting functions that will be obsoleted by Planes 2010-10-12 22:32:25 +02:00
Günther Brammer 291f124bab docs: Additional parameters to Fx*Start are exclusively nontemporary 2011-01-03 02:30:25 +01:00
Günther Brammer 4588c797eb docs: Slight rewrite for the actmap-as-proplist change 2011-01-02 01:11:30 +01:00
Maikel de Vries 8a200ba706 Engine: Removed all specific line behaviour
This can be implemented in C4Script very easily.
Removed OCF_LineConstruct, ObjectComLineConstruction, Defcore LineConnect, Line types, Line related IDs.
Changed LineAttach, is now a property of the object to which the line should be attached.
Updated documentation.
2010-12-21 19:22:06 +01:00
Günther Brammer d2e4f8d544 Script: Remove ChangeEffect in favor of effect properties 2010-12-27 16:27:39 +01:00
Günther Brammer 884572bbb3 Script: Reflect C++ effect variables as properties
With references gone, the engine can sanely run code upon modification of
properties, or throw exceptions on read-only ones. This obsoletes one use
case of GetEffect, simplifying the function a lot.
2010-12-24 15:10:39 +01:00
Günther Brammer e1874a5a1d Script: GetEffect can again return an effect by index 2010-12-23 22:55:04 +01:00
Maikel de Vries 0e2cf625e8 C4Script: GetEffect returns effect instead of number.
This will fix scripts using GetEffect to find and use an effect.
2010-12-23 16:01:18 +01:00
Günther Brammer b562acb32c Script: Remove EffectVar, update effect documentation 2010-12-21 21:57:40 +01:00
Maikel de Vries 53e507d2c5 Engine: Removed Power system including all components
Removed power lines, power connects, energy rule, power OCFs, Energy command, C4Script CheckEnergyNeedChain and EnergyCheck, Action EnergyUsage and documentation.
2010-12-15 21:02:50 +01:00
Maikel de Vries 681bf0f044 Docs: Added documentation for SetKiller 2010-12-20 19:17:26 +01:00
Maikel de Vries 92bd67f250 Physical: Breath value now represents the number of frames an object can hold his breath.
More precise values do not make sense and complicate stuff.
2010-12-13 22:46:42 +01:00
Günther Brammer 5bb3e81f4f Physical: Remove Magic and associated other Magic 2010-12-12 01:25:58 +01:00
Günther Brammer 9c928ec283 Physical: Remove automatic training 2010-12-12 17:45:38 +01:00
Maikel de Vries ba6b41c058 Engine: Removed FIGHT procedure and all related stuff.
This is obsolete with new melee implementation and other authors should either use that or make something unique themselfs. Removed DFA_FIGHT, C4Script FnFightWith, ObjectActionFight, NoFight, OCF_FightReady, Fight Physical
2010-12-07 18:57:27 +01:00
Peewee acdb18f8d0 docs: Update SimFlight documentation to match behavior 2010-12-05 20:53:12 +01:00
Günther Brammer 26ea10106f Remove the php extension from the download URL
Hopefully, the url won't change that way when the implementation changes.
2010-12-03 22:48:34 +01:00
Tobias Zwick 0c45723460 Merge 2010-11-25 20:23:23 +01:00
Tobias Zwick 103cab8ac4 Backed out changeset: f8fdee72ee07 2010-11-25 20:23:07 +01:00
Tobias Zwick 8f7b93162b Removed function MakeCrewMember (use SetCrewStatus)
- unbelievable how many files I have to edit for that, phew.
2010-11-25 13:57:50 +01:00
Günther Brammer f495350cbb Script: Remove AnyContainer, NoContainer, GlobalN, LocalN, VarN and Equal
Use Find_AnyContainer, Find_NoContainer, proplists, obj["foo"], proplists
and == instead.
2010-11-24 22:26:27 +01:00
Günther Brammer 943143cd6b Remove C4D_Knowledge in favour of a pure script solution of some sort
The only effect of C4D_Knowledge was that unfinished objects with the flag
could not leave buildings. That can be accomplished with script callbacks
if necessary, but this will probably work differently anyway.
2010-10-11 20:40:47 +02:00
Günther Brammer 70d2256e39 Remove C4D_Magic in favour of a pure script solution of some sort
The engine didn't do anything useful with it except enforce that a player
only can have magic that has the magic magic category and not complain
about magic missing a sort category. That's not enough to justify the flag.
2010-10-11 20:30:47 +02:00
Günther Brammer 15a796a856 Remove C4D_CrewMember in favour of OCF_CrewMember
The only usage is easily replaced by Def->CrewMember.
2010-10-11 20:18:38 +02:00
Günther Brammer 418257ef26 Remove C4D_TradeLiving in favour of C4Def::NoGet
Previously, C4D_Livings without C4D_TradeLiving had an implicit NoGet. They
now have to use that flag like every other object.
2010-10-11 19:59:54 +02:00
Günther Brammer 3f2c0da72d docs: Fix function <title>s 2010-09-25 00:47:33 +02:00
Tobias Zwick 17dd7f36f9 Tutorial1: locked zoom, no time limit on new hint notification 2010-09-19 16:57:20 +02:00
Tobias Zwick 475f9a7214 new header for the documentation (+de.po was re-generated by make) 2010-09-09 17:54:20 +02:00
Sven Eberhardt 9400a28c1f Implement zoom limits (#175)
Script interface for setting zoom and zoom limits based on viewport size (SetPlayerZoomByViewRange)
Script interface to lock player from scrolling (GetPlayerViewLock)
2010-09-08 23:49:42 +02:00
Armin Burgmeier 4e0a25de6c Update German docs translation 2010-08-31 23:44:56 +02:00
Armin Burgmeier e4de82a789 Add flags paramater to AttachMesh with an AM_DrawBefore flag (#391)
This fixes drawing of the Clonk in the cockpit of the airplane
2010-08-31 23:44:56 +02:00
Günther Brammer f5f1aaaa2d Docs: Slightly update the script reference
Mainly nil and some edits.
2010-08-27 21:19:58 +02:00
Tobias Zwick b6f2333345 Removed GetDesc() from C4Def as it is not needed outside of the game. Description will be just another Property now. See #363 2010-08-23 15:20:27 +02:00
Armin Burgmeier df1abcd978 Switch main documentation to English, German translation now in de.po (#287) 2010-08-22 15:13:17 +02:00
Armin Burgmeier 509ddddd50 Translate remaining documentation strings 2010-08-21 14:45:15 +02:00
Armin Burgmeier 3e8b9557df Translate a few more documentation strings 2010-08-21 01:16:26 +02:00
Günther Brammer eebe17cc87 Docs: two typos 2010-08-21 00:42:22 +02:00
Armin Burgmeier f99825c650 Fix the remaining fuzzy translations in the documentation 2010-08-20 23:41:33 +02:00
Maikel de Vries d1351df7dd Fixed most fuzzy strings in translation of the documentation 2010-08-20 23:09:45 +02:00
Günther Brammer fbdc799ae5 Each player can only control one Clonk simultaneously
Switching between multiple Clonks is still supported, and
Script could issue Follow commands to simulate the old
behaviour.
2010-07-30 22:38:21 +02:00
Sven Eberhardt 6512340382 Pass previous ActionTarget/ActionTarget2 to AbortCalls 2010-07-30 19:42:54 +02:00
Sven Eberhardt 1b51e19293 SendCursorPos controls issue CON_CursorPos - docs 2010-05-07 16:02:54 +02:00
Armin Burgmeier accd1efa02 Translate several documentation strings into English 2010-04-28 00:10:56 +02:00
Armin Burgmeier aa5ff1c026 Fix a mistake in array slicing docs 2010-04-27 21:46:52 +02:00
Benjamin Herr 0036e356aa Fixed a bunch of trivial fuzzy docs translations
... also added some <code> tags but then became discouraged and did not
add them everywhere, oh well.
2010-04-23 12:20:09 +02:00
Benjamin Herr 9b5218dcd7 localise it 2010-04-23 11:57:44 +02:00
Benjamin Herr 1520296ba6 Add array slicing to docs 2010-04-23 11:35:18 +02:00
Sven Eberhardt f48e02c97d Docs: Unified and renamed all Points/Value/Score functions/field names into Score 2010-04-21 21:20:43 +02:00
Günther Brammer 82707f3a3d docs: Add tree lines to the contents 2010-04-17 01:55:11 +02:00
Günther Brammer 1e28c84de3 Script: Remove PlrMessage, object parameter from Message and PlayerMessage
PlayerMessage and Message now require an object context and cannot display
global messages. CustomMessage can still create them if necessary.
2010-04-16 00:45:30 +02:00
Sven Eberhardt 0767e3608e Implement optional cursor position as parameter to controls (#216) 2010-04-10 22:44:00 +02:00
Günther Brammer 89c80f1981 docs: Fixed proplist example 2010-04-10 22:23:48 +02:00
Tobias Zwick e0396a94c5 (docs:) do not automatically add the current path to the form action of the search in the header 2010-04-09 15:48:01 +02:00
Tobias Zwick f3b77671aa updated header, en.po 2010-04-08 02:07:50 +02:00
Maikel de Vries 50aba6eb82 Removed erroneous and obsolete FindDefinition. 2010-04-05 18:30:22 +02:00
Armin Burgmeier 71dfca3dd2 Add more mesh documentation 2010-04-04 20:12:21 +02:00
Armin Burgmeier c2924041c9 Fix seperate->separate everywhere 2010-04-01 23:08:06 +02:00
Tobias Zwick cc55b77c78 fixed wrong path to search.php 2010-03-31 17:59:25 +02:00
Tobias Zwick e5fd6326bf fixed wrong path to content.html 2010-03-31 17:12:52 +02:00
Sven Eberhardt 35d439951e Allow Modifier+CON_* as player control assignment
ControlSet merging overrides only if OverrideAssignments is set to true
2010-03-27 19:08:01 +01:00
Sven Eberhardt c2b32bc309 docs remark: Sort_Rando()m doesn't work with FindObject() 2010-03-26 12:34:54 +01:00
Sven Eberhardt ade580dbd1 docs (InitializePlayerControl, strict link) 2010-03-25 13:09:41 +01:00
Günther Brammer 99040a3dd1 Script: Remove ne, eq and S= 2010-03-22 22:26:41 +01:00
Tobias Zwick 686b09c35c fixed search.php 2010-03-18 12:04:41 +01:00
Tobias Zwick 5f1c4ab93d fixed header 2010-03-16 00:41:10 +01:00
Tobias Zwick b86637e176 docs: updated docs header 2010-03-15 23:59:39 +01:00
Tobias Zwick 49c202ac31 docs: use naming_scheme for the docs instead of strNamScheme 2010-03-15 23:55:14 +01:00
Tobias Zwick 94f09d4f59 #181 2010-03-07 15:16:58 +01:00
Tobias Zwick 1f97cb4dc0 stackable-display-fix; renamed all IDs to long IDs according to script guidelines; cleanup 2010-03-02 17:24:51 +01:00
Tobias Zwick 5c109117fe Texture changes, authors.txt structure, fixed #160, ControlJump for attached objects 2010-02-23 12:50:14 +01:00
Tobias Zwick cb2a4f3e04 #67 Cleanup: Old HUD 2010-02-22 18:35:51 +01:00
Günther Brammer 8febc5d18a docs: Clean up some obsolete CSS
white-space: pre-wrap is now supported by every browser I care about, so no need for that -prefix-stuff.
2010-02-19 23:03:27 +01:00
Günther Brammer 5d05efefc4 Remove CollectionLimit
Use RejectCollect instead.
2010-02-18 21:47:11 +01:00
Tobias Zwick 16c20cff1a cleaned up obsolete scenario.txt options, enabled peter-scroll 2010-02-19 00:03:53 +01:00