Difference between revisions of "Library.OXP"
(MatFinder 1.1) |
Cholmondely (talk | contribs) (Disambiguation section added at top) |
||
Line 1: | Line 1: | ||
+ | '''Disambiguation''': |
||
+ | |||
+ | ''Oolite abounds with libraries!'' |
||
+ | <br> |
||
+ | Are you looking for |
||
+ | |||
+ | • A Library in the programmer's sense: reusable code that people writing OXPs can use. That is to say instead of everyone writing a javascript method to land on a planet, one person does so and everyone else uses that: |
||
+ | ::*Library.oxp - see below on '''this''' page |
||
+ | ::*[[Cabal Common Library]].oxp |
||
+ | |||
+ | • A library of books or of ship/station descriptions: |
||
+ | ::*Ship Library on the starting game screen - descriptions of ships, stations, asteroids and missiles mostly from the [Vanilla game] |
||
+ | ::*View Ship Specifications - as above, but on the F4/4 Ship-Station Interface screen when docked |
||
+ | ::*[[Gallery]] OXP does something similar to the above but with all encountered items |
||
+ | ::*[[Technical Reference Library]] OXP - similar to Gallery but includes non-encountered ships. |
||
+ | ::*[[Ship's Library OXP]]: by Cim (with the '''Ship's Manual'''; a half-dozen library books are addable) |
||
+ | The last four are accessed through the F4/4 Ship-Station Interface screen when docked - all under '''Ship Systems''' |
||
+ | ---- |
||
+ | |||
[[Image:IconLib.png|100px|right]] |
[[Image:IconLib.png|100px|right]] |
||
==Overview== |
==Overview== |
Revision as of 11:57, 22 December 2020
Disambiguation:
Oolite abounds with libraries!
Are you looking for
• A Library in the programmer's sense: reusable code that people writing OXPs can use. That is to say instead of everyone writing a javascript method to land on a planet, one person does so and everyone else uses that:
- Library.oxp - see below on this page
- Cabal Common Library.oxp
• A library of books or of ship/station descriptions:
- Ship Library on the starting game screen - descriptions of ships, stations, asteroids and missiles mostly from the [Vanilla game]
- View Ship Specifications - as above, but on the F4/4 Ship-Station Interface screen when docked
- Gallery OXP does something similar to the above but with all encountered items
- Technical Reference Library OXP - similar to Gallery but includes non-encountered ships.
- Ship's Library OXP: by Cim (with the Ship's Manual; a half-dozen library books are addable)
The last four are accessed through the F4/4 Ship-Station Interface screen when docked - all under Ship Systems
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
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.
- Library 1.7.1 (oxz, 4.9 MiB)
Demos
Install like any other OXP.
- Animator Demo (zip, 2.8 MiB)
- Music Demo (zip, 22.2 MiB)
- Starmap Demo (oxz, 2.4 KB)
Tools
- Lib_MatFinder 1.1 (oxz, 39.7 KB) - A developer-tool to work out materials entries.
Quick Facts
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 |