Difference between revisions of "Cabal Common Library"
From Elite Wiki
(Cabal_Common_Library1.0) |
m (Notes about changes for v1.1 added) |
||
Line 35: | Line 35: | ||
Documentation: |
Documentation: |
||
* [http://www.box.net/shared/5ejq56sbu8 Cabal_Common_Library1.0_Doc.zip] - (176.5 KB) |
* [http://www.box.net/shared/5ejq56sbu8 Cabal_Common_Library1.0_Doc.zip] - (176.5 KB) |
||
+ | |||
+ | |||
+ | ---- |
||
+ | ===Prereleasenotes for v1.1=== |
||
+ | '''Cabal_Common:'''<br> |
||
+ | * .entGetScreenModel() marked as deprecated. Oolite v1.75 provides mission.displayModel.<br> |
||
+ | * .pseudoRand() changed to Oolites v1.75 system.scrambledPseudoRandomNumber(n).<br> |
||
+ | * .strToWidth() behaviour changed to Oolites v1.75 new defaultFont.measureString(string).<br> |
||
+ | |||
+ | '''Cabal_Common_Keyboard:'''<br> |
||
+ | * .start() changed. New optional parameters (scpic, scovl and scmod) added for more flexibility. |
||
+ | |||
{{misc-OXP}} [[Category:Oolite utilities]] |
{{misc-OXP}} [[Category:Oolite utilities]] |
Revision as of 13:24, 30 January 2011
Cabal_Common_Library | |
---|---|
Download Link | See Download |
Version | 1.0 |
History | 2010-12-09 |
Stations | No |
Ships | No |
Missions | No |
Equipment | No |
Alternative HUD Available |
No |
Sound Set Available |
No |
Category | Misc OXPs |
Author | Cmd.Cheyd PhantorGorth Svengali |
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 and an onscreen keyboard. 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.
A offline documentation for OXP-Developers is available too.
Requirements
- Oolite v1.74.2
Download
- Cabal_Common_Library1.0.zip - (83.9 KB)
Documentation:
- Cabal_Common_Library1.0_Doc.zip - (176.5 KB)
Prereleasenotes for v1.1
Cabal_Common:
- .entGetScreenModel() marked as deprecated. Oolite v1.75 provides mission.displayModel.
- .pseudoRand() changed to Oolites v1.75 system.scrambledPseudoRandomNumber(n).
- .strToWidth() behaviour changed to Oolites v1.75 new defaultFont.measureString(string).
Cabal_Common_Keyboard:
- .start() changed. New optional parameters (scpic, scovl and scmod) added for more flexibility.