Difference between revisions of "Cabal Common Library OXP"
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 | + | * [[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 38: | 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 54: | Line 52: | ||
A short demo for the mission briefing tool: | A short demo for the mission briefing tool: | ||
* [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 14: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 |
Contents
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
- Cabal_Common_BinSearch, binary search tree
- Cabal_Common_Briefing, enhance mission screens
- Cabal_Common_Comms, inflight communication
- Cabal_Common_Functions, generic function library
- Cabal_Common_Keyboard, user input
- Cabal_Common_Music, inflight event driven music (New in v1.4.5)
- Cabal_Common_Strength, environment control (WIP, preview for OXPers)
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
- Cabal_Common_Library1.4.4.zip - (136 KB)
Documentation for OXP Developers:
A short demo for the mission briefing tool:
- Cabal_Common_Briefing_Demo1.4.1.zip - (333.2 KB)