Commit Graph

56 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
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
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
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 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
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
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 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
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 4f26bcb6a4 docs: Fix some syntax errors 2009-09-03 22:33:10 +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
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