Difference between revisions of "Cabal Common Library"
From Elite Wiki
m (Notes about changes for v1.1 added) |
m (Cabal_Common_Library1.1) |
||
Line 2: | Line 2: | ||
|image = [[Image:CCL_logo.png|150px]] |
|image = [[Image:CCL_logo.png|150px]] |
||
|download = [[#Download|See Download]] |
|download = [[#Download|See Download]] |
||
− | |story = |
+ | |story = 2011-02-18 |
|ships = No |
|ships = No |
||
|stations = No |
|stations = No |
||
Line 9: | Line 9: | ||
|alternativeHUD = No |
|alternativeHUD = No |
||
|soundSet = No |
|soundSet = No |
||
− | |version = 1. |
+ | |version = 1.1 |
|category = Misc OXPs |
|category = Misc OXPs |
||
|author = Cmd.Cheyd<br>PhantorGorth<br>Svengali |
|author = Cmd.Cheyd<br>PhantorGorth<br>Svengali |
||
Line 27: | Line 27: | ||
===Requirements=== |
===Requirements=== |
||
− | * Oolite v1. |
+ | * Oolite v1.75 |
===Download=== |
===Download=== |
||
{{OXPLevel|0}} |
{{OXPLevel|0}} |
||
− | * [http://www.box.net/shared/lx7uf825e1 Cabal_Common_Library1. |
+ | * [http://www.box.net/shared/lx7uf825e1 Cabal_Common_Library1.1.zip] - (83.8 KB) |
− | Documentation: |
+ | Documentation for OXP Developers: |
− | * [http://www.box.net/shared/5ejq56sbu8 Cabal_Common_Library1. |
+ | * [http://www.box.net/shared/5ejq56sbu8 Cabal_Common_Library1.1_Doc.zip] - (169.0 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. |
||
Revision as of 21:05, 18 February 2011
Cabal_Common_Library | |
---|---|
Download Link | See Download |
Version | 1.1 |
History | 2011-02-18 |
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.75
Download
- Cabal_Common_Library1.1.zip - (83.8 KB)
Documentation for OXP Developers:
- Cabal_Common_Library1.1_Doc.zip - (169.0 KB)