Difference between revisions of "Library OXP"

From Elite Wiki
m (changed feedback link)
(v1.7.1 and added Lib_MatFinder.)
(20 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
==Overview==
 
==Overview==
 
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 or unify some common tasks used by OXPers. Library is the successor to [[CCL]] and [[OXPConfig]]. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace.
+
Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to [[CCL]], [[Hyperradio]] and [[OXPConfig]]. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace.
 
 
  
 
==Features==
 
==Features==
* 2DCollision checks
+
[[Image:Lib_Animator01.png|180px|thumb|right|Animator]][[Image:Lib_PAD01.png|180px|thumb|right|PAD]][[Image:Lib_Starmap02.png|180px|thumb|right|Starmap]]
* Animation helper
+
For Documentation just follow the links.
* Binary search tree
+
* ''Lib_2DCollision.js'' - Methods for checking if point is in bounding-box, on line or in poly.
* Configuration interface for AddOns
+
* ''Lib_Animator.js'' - Tool to create animations on missionscreens (see [[#Demos|Demos]]).
* De-/Encryption for strings
+
* ''Lib_BinSearch.js'' - Instantiated search tree.
* Event driven music handling
+
* ''[[Lib_Config|Lib_Config.js]]'' - Configuration interface for AddOns.
* Generic functions for various tasks
+
* ''Lib_Crypt.js'' - De-/Encryption for strings.
* Unified GUI image, sound and music handling
+
* ''[[Lib_GUI|Lib_GUI.js]]'' - Unified GUI image, sound and music handling.
 +
* ''Lib_Main.js'' - Generic functions for various tasks.
 +
* ''[[Lib_Music|Lib_Music.js]]'' - Unified event driven and generic music handling (see [[#Demos|Demos]]).
 +
* ''[[Lib_PAD|Lib_PAD.js]]'' - Unified logbook, mission-log, diary and interface. {{AV|1.7}}
 +
* ''[[Lib_Starmap|Lib_Starmap.js]]'' - In-System-Maps in 3D (docked and inflight) (see [[#Demos|Demos]]). {{AV|1.7}}
  
 +
== ID ==
 +
identifier = "oolite.oxp.Svengali.Library";
  
 
==Requirements==
 
==Requirements==
* Latest version needs Oolite v1.84.
+
* Latest version needs Oolite v1.88.
 
 
  
 
==Download==
 
==Download==
* [https://app.box.com/s/z4zk0ny5mh6oxjywg3rtqkiwgplx8i2b Release candidate] (943.2 KB)
+
Install like any other [[OXP]].
 
+
* [https://app.box.com/s/gqfc5nxse0k9yipm93wrjra7nqjzy89y Library 1.7.1] (oxz, 4.9 MiB)
  
==Demos==
+
===Demos===
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (2.8 MB)
+
Install like any other [[OXP]].
* [https://app.box.com/s/xd9hnscxrjlb0p5suz8t00e7m5qo743d Music Demo] (22.2 MB)
+
* [https://app.box.com/s/59vqswqh0wxiccerk7wgxerl0m0wmx20 Animator Demo] (zip, 2.8 MiB)
 +
* [https://app.box.com/s/xd9hnscxrjlb0p5suz8t00e7m5qo743d Music Demo] (zip, 22.2 MiB)
 +
* [https://app.box.com/s/0enjeiuyzjkyg36yxc5j04sdjhx9s7aa Starmap Demo] (oxz, 2.4 KB)
  
 +
===Tools===
 +
* [https://app.box.com/s/pwttg9nrqvvpqzya0wcpqpc4ly9bov1r Lib_MatFinder] (oxz, 28.1 KB) - A developer-tool to work out materials entries.
  
 
==Quick Facts==
 
==Quick Facts==
 
{{OXPLevel|0}}{{IconOXP
 
{{OXPLevel|0}}{{IconOXP
|ooVersion = "1.84"
+
|ooVersion = "1.88"
 
|oxpCPU = "Medium"
 
|oxpCPU = "Medium"
 
|oxpMEM = "Average"
 
|oxpMEM = "Average"
Line 43: Line 51:
 
{{Infobox OXPb| title = Library
 
{{Infobox OXPb| title = Library
 
|image = [[Image:IconLib.png|100px]]
 
|image = [[Image:IconLib.png|100px]]
|version = 1.0
+
|version = 1.7.1
|release = 2016-07-22
+
|release = 2018-11-19
 
|license = CC-by-nc-sa-4.0
 
|license = CC-by-nc-sa-4.0
 
|features = Helper for OXPs
 
|features = Helper for OXPs
 
|category = Misc OXPs
 
|category = Misc OXPs
|author = Svengali
+
|author = BlackWolf & Svengali
 
|download = [[#Download|See Download]]
 
|download = [[#Download|See Download]]
 
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=18248 BB-Link]
 
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=18248 BB-Link]

Revision as of 14:44, 19 November 2018

IconLib.png

Overview

Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers. Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to CCL, Hyperradio and OXPConfig. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace.

Features

Animator
PAD
Starmap

For Documentation just follow the links.

  • Lib_2DCollision.js - Methods for checking if point is in bounding-box, on line or in poly.
  • Lib_Animator.js - Tool to create animations on missionscreens (see Demos).
  • Lib_BinSearch.js - Instantiated search tree.
  • Lib_Config.js - Configuration interface for AddOns.
  • Lib_Crypt.js - De-/Encryption for strings.
  • Lib_GUI.js - Unified GUI image, sound and music handling.
  • Lib_Main.js - Generic functions for various tasks.
  • Lib_Music.js - Unified event driven and generic music handling (see Demos).
  • Lib_PAD.js - Unified logbook, mission-log, diary and interface. Added in v1.7
  • Lib_Starmap.js - In-System-Maps in 3D (docked and inflight) (see Demos). Added in v1.7

ID

identifier = "oolite.oxp.Svengali.Library";

Requirements

  • Latest version needs Oolite v1.88.

Download

Install like any other OXP.

Demos

Install like any other OXP.

Tools

  • Lib_MatFinder (oxz, 28.1 KB) - A developer-tool to work out materials entries.

Quick Facts

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

Minimum Oolite versionCPU usage mediumMemory usage averageGPU usage averageisParentisAPIisDocumentedisConfigurable

Version Released License Features Category Author(s) Feedback
1.7.1 2018-11-19 CC-by-nc-sa-4.0 Helper for OXPs Misc OXPs BlackWolf & Svengali BB-Link