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
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
Tobias Zwick
17dd7f36f9
Tutorial1: locked zoom, no time limit on new hint notification
2010-09-19 16:57: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
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
Günther Brammer
eebe17cc87
Docs: two typos
2010-08-21 00:42:22 +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
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
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