Difference between revisions of "Cabal Common Library"

From Elite Wiki
m
m
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.
+
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.
 
The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.
 
   
 
===Features===
 
===Features===
* Cabal_Common_Briefing, enhance mission screens
 
  +
* [[Cabal_Common_Library_Doc_BinSearch|Cabal_Common_BinSearch]], binary search tree
* Cabal_Common_Comms, inflight communication
 
  +
* [[Cabal_Common_Library_Doc_Briefing|Cabal_Common_Briefing]], enhance mission screens
* Cabal_Common_Functions, generic libraries
 
  +
* [[Cabal_Common_Library_Doc_Comms|Cabal_Common_Comms]], inflight communication
* Cabal_Common_Keyboard, user input
 
  +
* [[Cabal_Common_Library_Doc_Functions|Cabal_Common_Functions]], generic function library
  +
* [[Cabal_Common_Library_Doc_Keyboard|Cabal_Common_Keyboard]], user input
 
* Cabal_Common_Music, inflight event driven music (New in v1.4.5)
 
* Cabal_Common_Music, inflight event driven music (New in v1.4.5)
 
* Cabal_Common_Strength, environment control (WIP, preview for OXPers)
 
* Cabal_Common_Strength, environment control (WIP, preview for OXPers)
  +
   
 
<gallery widths="100px" heights="100px" perrow="3">
 
<gallery widths="100px" heights="100px" perrow="3">
File:CCL_Keyboard01.jpg
+
File:CCL_Keyboard01.jpg|Keyboard
File:CCL Briefing01.jpg
+
File:CCL Briefing01.jpg|Briefing
 
</gallery>
 
</gallery>
   
Line 36: Line 38:
 
* Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
 
* Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
 
* Nicholas Zakas (Cabal_Common_BinSearch is based on his ideas)
 
* Nicholas Zakas (Cabal_Common_BinSearch is based on his ideas)
 
 
   
 
===Requirements===
 
===Requirements===
Line 53: Line 53:
 
* [http://www.box.net/shared/v6ldutgl3l Cabal_Common_Briefing_Demo1.4.1.zip] - (333.2 KB)
 
* [http://www.box.net/shared/v6ldutgl3l Cabal_Common_Briefing_Demo1.4.1.zip] - (333.2 KB)
   
----
 
   
  +
----
   
 
{{misc-OXP}} [[Category:Oolite utilities]]
 
{{misc-OXP}} [[Category:Oolite utilities]]

Revision as of 15:41, 7 August 2011

Version Released License Features Category Author(s) Feedback
1.4.4 2011-07-26 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 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.

Features


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.75.3.

Download

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


Documentation for OXP Developers:

A short demo for the mission briefing tool: