1944 Commits

Author SHA1 Message Date
Marc
debff2da08 - more OOConstToString tidying up.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2833 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-03 13:59:13 +00:00
Nikos Barkas
514f6cb1f4 Fixed implicit function declaration warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2832 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-03 08:31:16 +00:00
Marc
1ed6d37364 - oops!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2831 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-03 07:21:16 +00:00
Marc
5e67cebe0d - removed JSStation compile warning in windows.
- new function ship.selectNewMissile() returns a valid string ( missile identifier ).

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2830 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-03 07:16:31 +00:00
Marc
06e888c5a0 - fixed inconsistency between system.sun.goneNova & system.info.sun_gone_nova
- corrected one more planet related GNUStep compile warning.
- added player.ship.compassTarget (read-only) and the event  compassTargetChanged (entity: target, compassMode:string).
- added some checks before various autoreleases.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2829 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-03 04:57:08 +00:00
Eric Walch
b3467a8264 Added JS methods to stations:
launchPolice, launchPatrol, launchMiner, launchScavenger, LaunchDefenseShip, launchShuttle
Added properties to stations:
dockedContractors, dockedPolice, dockedDefenders.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2828 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-02 20:32:54 +00:00
Marc
751d8c15e9 - tagged all GNUStep temporary compile fixes in rev2826 with '// NEW_PLANETS temp compile fix'
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2827 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-02 16:39:15 +00:00
Marc
2005eadc69 - fixed windows compiler warnings.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2826 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-02 03:42:44 +00:00
Jens Ayton
60c27d03d2 Simplifications in planet texturificator.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2825 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-01 23:16:46 +00:00
Jens Ayton
9f47382e5d Polishing the beaches a bit more.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2824 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-01 23:05:54 +00:00
Jens Ayton
89424c71d4 Smoother coastlines, and a specular map for future e shader use.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2823 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-01 22:59:53 +00:00
Jens Ayton
363e33d209 Synthesized planet textures now exactly match old style (sans colourful atmospheres).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2822 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-01 22:01:20 +00:00
Marc
27c0709235 - refactored setUpShipFromDictionary in preparation for the new player missile code: a few bugfixes, plus a more robust implementation.
- 20% of NPC missile types are now selected randomly, up from 10% beforehand. 
- regression fix: long range map now displays the right 'found planet' after save screen / computer restart.
- some code clean up.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2820 127b21dd-08f5-0310-b4b7-95ae10353056
2009-12-01 05:18:35 +00:00
Nikos Barkas
f5b4de349a Fixed new planets not rotating. Made cloak indicator on status light default to YES.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2819 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 21:03:16 +00:00
Jens Ayton
323c25b8ca New-planet miniatures don't mass lock, and do have the same texture noise seed as the full-sized planet. Colour parameters now match old model.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2818 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 20:48:38 +00:00
Jens Ayton
b7e0c8f7e5 Fixed build with old textured planets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2817 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 20:02:16 +00:00
Jens Ayton
3730758ffd Improved description for subentities.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2816 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 19:57:52 +00:00
Jens Ayton
0f7507c0b3 New planets are now used for miniatures (but texture seed is wrong). NEW_PLANETS macro moved to PlanetEntity.h.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2815 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 19:56:42 +00:00
Jens Ayton
1a870d3464 Fixed stray keystroke.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2812 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 19:09:17 +00:00
Jens Ayton
7fd8e9cdd6 JS properties now work for new planets, including setting texture (at any time). However, hasAtmosphere is always false.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2811 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-30 19:08:10 +00:00
Jens Ayton
02f35e944f Pay no attention to the sleepy man behind the curtain.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2808 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 22:09:23 +00:00
Jens Ayton
5ddbe997b1 New planets now have procedural diffuse maps. Unfortunately, the generator seems to hang from time to time. Incidentally, the log entries saying Dequeued generator <OOPlanetTextureGenerator 0x133d7bcf0>{{(null) -- failed}} are not an actual failure.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2807 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 21:57:57 +00:00
Nikos Barkas
cba7d4f041 Enabled building with NEW_PLANETS defined on SDL builds. Fixed a warning in OOPlanetEntity.m.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2805 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 18:12:33 +00:00
Jens Ayton
b2724f7d40 LOD management and default texture for new planets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2804 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 17:38:14 +00:00
Jens Ayton
7754f83cb7 Oops! That last commit wasn't really ready. Here's the rest of the fix, along with some half-baked new planet stuff (disabled with NEW_PLANETS in Universe.m).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2803 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 16:48:14 +00:00
Jens Ayton
8c15df6dbb Renamed SunEntity to OOSunEntity.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2802 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 16:44:23 +00:00
Nikos Barkas
8f9c581505 Fixed SDL build for the new planet drawables system.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2801 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 15:43:13 +00:00
Jens Ayton
b565b4bd67 Tweaks to Mac debug OXP stuff to deal with new HUD hiding mechanism and do more stuff through JS.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2800 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 14:57:16 +00:00
Jens Ayton
7dcf2df39c Basic but working new planet drawable. Can be tested on ships by enabling BALL_WORLD in ShipEntity.m.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2799 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 14:36:22 +00:00
Marc
fd7cd71011 - no more equipment breakages!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2798 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 08:10:26 +00:00
Marc
da4b70efa5 * missiles part II: no more quantum NPC missiles - they still use the same criteria as before, but they're created with the ship, instead of immediately before launch.
* max_missile now applies to NPC ships too.
* fix: corrected a mistake affecting setEquipmentStatus.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2797 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 07:17:00 +00:00
Marc
eeabb77a87 - awardEquipment, removeEquipment, equipmentStatus, setEquipmentStatus now work on NPC ships too.
- awardEquipment and removeEquipment now return true when successful.
- missileCapacity now works for NPCs, missiles capped at 32 for NPCs (player's cap unchanged at 16).
- code cleanup: potential crash & awardEquipment fixes.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2796 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-29 02:25:42 +00:00
Jens Ayton
ae974039d2 Eliminated deprecated -cString method (again). Mac JS console now works in 64-bit mode. Unfortunately, this requires using different versions of RBSplitView for different architectures, since the 64-bit-compatible version doesn't work with Tiger.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2795 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-28 23:59:00 +00:00
Jens Ayton
9c076a03ab Basic-debug.oxp can now be built with a makefile in DebugOXP/, instead of being build in tools/simpleDebugConsole by the Xcode project.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2794 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-28 14:41:50 +00:00
Jens Ayton
878f382106 Split suns out into a separate SunEntity class.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2792 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-28 14:17:57 +00:00
Jens Ayton
531dcc10bc Cleaned up contours of various models using a mix of smoothing groups and normal tweaking, use materials rather than duplicate models for identical ships with different textures, deleted obsolete models, some like_shippage in shipdata.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2787 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-27 23:52:27 +00:00
Jens Ayton
b346df7716 Fixed debug flags in master copy of oolite-debug-console.js.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2786 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-27 15:21:14 +00:00
Marc
35ac82cd5d - mission screens now work in flight (they don't show model: while in flight yet) keys 1 to 4 will leave the mission screen, as before.
- better handling of unexpected runScreen values.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2784 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-26 16:02:59 +00:00
Marc
472b08f9af - fix: no more mission.runScreen flight related crashes.
- more js missions cleanup.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2783 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-26 02:32:12 +00:00
Marc
7d870400f1 - mission screen fixes for game restart/reload after game over.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2782 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-25 18:51:59 +00:00
Nikos Barkas
c2edf2238f Fixed a typo in whitelist.plist and removed references to methods removed in previous commit.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2781 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-24 21:15:40 +00:00
Jens Ayton
9bbc3845c1 Fixed questionable use of release in launchIndependentShip:, and moved some trivial aliases of launchIndependentShip: into whitelist aliasing mechanism.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2780 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-24 18:37:41 +00:00
Eric Walch
e19ffb204e The JS command launchShipWithRole() now returns the entity that will launch. (or nil)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2778 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-23 22:29:45 +00:00
Nikos Barkas
68f9495131 Added the JS station method launchShipWithRole('shipRole').
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2777 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-23 09:08:25 +00:00
Jens Ayton
766258664e Expanding descriptions containing [credits_number] now yeilds a precise value with exactly one decimal point.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2776 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-22 16:13:34 +00:00
Jens Ayton
1df30db2aa Fixed bug where name key in dictionary-form texture specifiers was ignored. Planet geometry thing can now generated DATs in an unwrapped mode to help verify texture mapping - wish I'd thought of that eariler.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2775 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-21 17:41:35 +00:00
Marc
9de6d2a726 - aargh fix!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2773 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-21 02:37:00 +00:00
Marc
84c6ee6694 The last mission fun before the weekend!
- fix: mission.runScreen is now disabled before game starts (i.e. during demo screens).
- change: mission.runScreen({message'blah'}) is now shorthand for mission.runScreen({message'blah'},null). Similarly, mission.runScreen() is now shorthand for the admittedly not very useful mission.runScreen({},null)

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2772 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-20 20:52:12 +00:00
Nikos Barkas
9f90463e66 Eliminated a 'control reaches end of non-void function' warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2771 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-20 17:23:09 +00:00
Marc
bf23119d18 - mission.setInstructionsKey fix (the global prefix implementation would not be able to tell which oxp it was called from)
- yet another windows DEP fix. There's something inside OOJSScript that windows doesn't like.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2770 127b21dd-08f5-0310-b4b7-95ae10353056
2009-11-20 15:27:11 +00:00