Difference between revisions of "Cabal Common Library OXP"

From Elite Wiki
m (box.com)
m (v1.5)
Line 1: Line 1:
 
{{Infobox OXPb| title = Cabal_Common_Library
 
{{Infobox OXPb| title = Cabal_Common_Library
 
|image = [[Image:CCL_logo.png|150px]]
 
|image = [[Image:CCL_logo.png|150px]]
|version = 1.4.5
+
|version = 1.5
|release = 2011-08-10
+
|release = 2011-12-17
 
|license = CC-by
 
|license = CC-by
 
|features = Helper, Images, Sounds,<br>Equipment
 
|features = Helper, Images, Sounds,<br>Equipment
Line 13: Line 13:
 
Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers.
 
Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers.
  
Its main purpose is to simplify some common tasks used by OXPers and also includes a few unique features. It contains functions to check requirements, helper functions for arrays, strings, and numbers, an encrypt/decrypt algorithm, and, last but not least, functions for missionscreen models, an onscreen keyboard and a comms channel (specially for missions). Over time it will grow and include more functions and features. The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.
+
Its main purpose is to simplify some common tasks used by OXPers and also includes a few unique features. It contains functions to check requirements, helper functions for arrays, strings, and numbers, an encrypt/decrypt algorithm, and, last but not least, functions for missionscreen models, an onscreen keyboard, a comms channel, special market deals, a event driven script for music and a tool to check the player ship and NPCs. Over time it will grow and include more functions and features. The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.
  
 
===Features===
 
===Features===
Line 23: Line 23:
 
* [[Cabal_Common_Library_Doc_Functions|Cabal_Common_Functions]], generic function library
 
* [[Cabal_Common_Library_Doc_Functions|Cabal_Common_Functions]], generic function library
 
* [[Cabal_Common_Library_Doc_Keyboard|Cabal_Common_Keyboard]], user input
 
* [[Cabal_Common_Library_Doc_Keyboard|Cabal_Common_Keyboard]], user input
* [[Cabal_Common_Library_Doc_Music|Cabal_Common_Music]], inflight event driven music (New in v1.4.5)
+
* [[Cabal_Common_Library_Doc_Music|Cabal_Common_Music]], inflight event driven music
* [[Cabal_Common_Library_Doc_SpecialMarkets|Cabal_Common_SpecialMarkets]], trading special goods (new in v1.4.6)
+
* [[Cabal_Common_Library_Doc_SpecialMarkets|Cabal_Common_SpecialMarkets]], trading special goods
* [[Cabal_Common_Library_Doc_OXPStrength|Cabal_Common_Strength]], environment control (new in v1.4.6)
+
* [[Cabal_Common_Library_Doc_OXPStrength|Cabal_Common_Strength]], environment control
  
  
Line 43: Line 43:
  
 
===Requirements===
 
===Requirements===
* Oolite v1.75.3.
+
* Oolite v1.76.
  
 
===Download===
 
===Download===
 
{{OXPLevel|0}}
 
{{OXPLevel|0}}
* [http://www.box.com/shared/lx7uf825e1 Cabal_Common_Library1.4.5.zip] - (210.5 KB)
+
* [http://www.box.com/shared/lx7uf825e1 Cabal_Common_Library1.5.zip] - (996.1 KB)
  
  

Revision as of 00:27, 17 December 2011

Version Released License Features Category Author(s) Feedback
1.5 2011-12-17 CC-by Helper, Images, Sounds,
Equipment
Misc OXPs Cmd.Cheyd
PhantorGorth
Svengali
BB-Link

Overview

Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers.

Its main purpose is to simplify some common tasks used by OXPers and also includes a few unique features. It contains functions to check requirements, helper functions for arrays, strings, and numbers, an encrypt/decrypt algorithm, and, last but not least, functions for missionscreen models, an onscreen keyboard, a comms channel, special market deals, a event driven script for music and a tool to check the player ship and NPCs. Over time it will grow and include more functions and features. The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.

Features

The current internal version is 15.


With contributions from:

  • Michael Werle (documentation),
  • Ahruman (pseudoRand),
  • Commander McLane (strDateFromMinutes),
  • Eric Walch (mapCoordsDirection),
  • Terry Yuen (en/decryption),
  • Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
  • Nicholas Zakas (Cabal_Common_BinSearch is based on his ideas)

Requirements

  • Oolite v1.76.

Download

Levelindicator0.png
0-{{{2}}}


Documentation for OXP Developers:

A short demo for the mission briefing tool: