Commit Graph

597 Commits (master)

Author SHA1 Message Date
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
Tobias Zwick fde2143f8e docs into openclonk-design 2010-01-29 15:44:06 +01:00
Armin Burgmeier 4d4a68e0f6 Add documentation for mesh animation 2010-01-24 23:12:49 +01:00
Luchs ae8a62d8df Added a full text search to the documentation 2010-01-12 23:23:43 +01:00
Tobias Zwick e2edec7fd7 Selection and Deselection gets called on D&D 2010-01-12 22:06:20 +01:00
Tobias Zwick 77520a4635 function search directly redirects to script function if it matches the input 2010-01-12 17:57:01 +01:00
Julius Michaelis 0106aab557 category documentation german 2010-01-08 23:53:52 +01:00
Günther Brammer 4f08312df7 Script: Music() no longer overwrites the music settings of the user
If you want to stop music, you need to use SetPlayList() with a nonempty
playlist which matches no music files, " " is usually a good choice.
2010-01-02 17:33:58 +01:00
Tobias Zwick b566bea377 drag and drop for the HUD (non-functional) 2009-12-30 16:50:25 +01:00
Tobias Zwick ef778d631a removed ConvertGoals() (backward compatibility with Clonk4) 2009-12-14 22:46:10 +01:00
Tobias Zwick edec15d64f merge 2009-11-30 17:24:14 +01:00
Tobias Zwick b2f2ef4d9b inventory hud (unfinished), acceleration during FLIGHT and WALK, old HUD (DrawCursorInfo) commented out 2009-11-30 16:57:37 +01:00
Nicolas Hake 9ef7fc0d96 Script: Expose string tables at runtime
Use Translate(string) to access the translation
2009-11-12 16:57:37 +01:00
Tobias Zwick 1537104306 Removed parts of the old HUD, minor fixes:
+ removed the Captain/GetCaptain/rendering
+ removed energy bars
+ added the possibility for the crew selector to display different ranks for different clonk types
+ fixed GetCrewSelected
2009-10-13 16:02:13 +02:00
Tobias Zwick 669db3fe6e docs updates, complete new player controls ~work, SetCursor returns false if trying to select a disabled crew member, HUD fixes 2009-10-11 21:44:40 +02:00
Tobias Zwick f584896446 merge 2009-10-08 20:51:31 +02:00
Günther Brammer e650a595f2 docs: Remove thick left and right padding, it looks out of place in the chm 2010-02-16 00:07:20 +01:00
Günther Brammer 810f9ad136 docs: Workaround bugs in Microsofts hhc.exe 2010-02-15 23:53:22 +01:00
Günther Brammer dcd8a8169b docs: Create chm table of contents from xml with xslt 2010-02-15 13:25:33 +01:00
Günther Brammer 0e9299555a docs: Generate a content.xml from build_chm_files instead of build_contents.pl 2010-02-16 02:48:06 +01:00
Günther Brammer 0400fe945d docs: Re-add some style features that were lost in the last update
Specifically, inline image positions, function syntax indentation, dt and table caption.
2010-02-10 00:57:24 +01:00
Günther Brammer a9dfe2ed82 docs: Use static html instead of php
The .html file extension is needed for offline docs, and configuring a webserver
to execute PHP in .html is as easy as changing the build system to support both.

But for a simple common header there's no need to reach for PHP. XSLT can do the
job. For ease of maintenance the header is read from an extra file.
2010-02-10 00:55:32 +01:00
Tobias Zwick d98e1095b6 hud graphics: hotkey stays the same size; instead its the title image which stretches 2010-01-30 14:46:56 +01:00
Armin Burgmeier f56ae275df Adapted documentation for reversed alpha 2009-09-19 12:21:51 -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 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
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
Sven Eberhardt df6010a148 merge 2009-08-12 17:27:43 +02:00
Nicolas Hake 276a5abfed Removed default-this object parameter from a lot of functions 2009-08-12 22:44:09 +02:00
Tobias Zwick 4211ce15f4 cleanup: script function CrewMember(obj) is obsolete 2009-08-12 10:58:55 +02:00
Sven Eberhardt 81e9b612b1 merge main branch into PlrCtrl branch 2009-08-10 16:07:14 +02:00
Tobias Zwick a634cebeab documentation of the functions in System.c4g 2009-07-22 19:04:47 +02:00
Tobias Zwick 0efc4bd8df merge 2009-07-22 16:26:38 +02:00
Tobias Zwick 7155e38ecb more cleanup 2009-07-22 15:27:49 +02:00
Tobias Zwick 10e6174b1f FadeDelay for longer-lasting particles 2009-07-15 15:41:03 +02:00
Tobias Zwick 1bb6778403 Cleanup: Docs update for FindObject, more funcs deleted 2009-07-15 15:17:37 +02:00
Tobias Zwick ba971abc22 Cleaning up: removing obsolete functions and its documentation (part 2) 2009-07-15 14:42:48 +02:00
Tobias Zwick e74c484aa9 Cleaning up: removing obsolete functions and its documentation 2009-07-15 14:41:34 +02:00
Sven Eberhardt 943b47ebd5 Moving controls to script: Clonk movement 2009-06-15 20:38:39 -04:00
Sven Eberhardt f6fadb300d Moving controls to script... 2009-06-09 19:29:16 -04:00
Sven Eberhardt 22d689d560 Moving controls to script: Docs 2009-06-09 00:29:55 -04:00
Günther Brammer 05a3369443 Docs: Fix compilation 2009-05-15 21:17:55 +02:00
Günther Brammer 675da642c3 Add Clonk Rage developer documentation
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 15:11:51 +02:00
Günther Brammer bf839b9a66 Call Definition in every definition at start
This is mainly intended to fill the proplist of the definition and replace
the defcore, but other one time initialisation could also be done at that
point.
2009-05-20 00:30:49 +02:00
Günther Brammer 42d3b6e79a Add C4PropList
A Proplist is a map of C4Strings to C4Values which can chain lookups
to "Prototype" Proplists. This can be used to implement inheritance.

Proplists can be stored in C4Values.

C4Object now inherits from C4Proplist, C4Values can be converted between
those two.
2009-05-20 00:12:11 +02:00