Commit Graph

75 Commits (c26cfffab6d7b5cdbab5a7899632875fa3815009)

Author SHA1 Message Date
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
Günther Brammer 89c80f1981 docs: Fixed proplist example 2010-04-10 22:23:48 +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
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 49c202ac31 docs: use naming_scheme for the docs instead of strNamScheme 2010-03-15 23:55:14 +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 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
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
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
Tobias Zwick e2edec7fd7 Selection and Deselection gets called on D&D 2010-01-12 22:06:20 +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