Jens Ayton
bb9577150e
Yes, we need that there. Only with the right parity.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1864 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-16 13:10:03 +00:00
Nikos Barkas
e77e92d5fa
Fixed a small bug that would not allow HUD to be switched off again after the first time.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1863 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-16 12:52:17 +00:00
Nikos Barkas
5a46341787
Found and dealt with a stray localizable string in the code. Changed equipmentDamaged and equipmentDestroyed events to return the key of the affected equipment instead of its name.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1861 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-16 09:28:27 +00:00
Jens Ayton
f6c4815f79
New toy for screen shots and graphics debugging: slow mode (console.debugFlags ^= 0x400). Also made HUD hiding a debug flag for console access.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1860 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-15 23:06:58 +00:00
Nikos Barkas
0a1117ba8e
Replace SDL.dll with a stripped version for distribution. Upgrade the installer script to modern interface and add confirmation dialog for the uninstaller. Remove DTDs installation for the Windows build, since the gnustep-base-1_15.dll is already built to not require them. Tweak a little the installer so that it does not fail with some versions of NSIS (such as mine ;-) ).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1859 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-15 14:21:56 +00:00
Michael Werle
f65d5b21f0
* fix oversights from build-system-revamp commit
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1858 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-15 10:24:21 +00:00
Michael Werle
ceb2b2e302
* Revamped build system - should make it a lot easier for people to build the sources and create packages
...
** Use "make -f Makefile help" to see a list of targets
** Updated Windows NSIS Packager rules
** Minor Tweaks to Debian rules
* Updated SpiderMonkey from 1.7 pre-release to 1.7 (minor changes only)
** Supplied new js32.dll for Windows (built with MSVC)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1857 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-15 09:54:01 +00:00
Jens Ayton
dd1ac56784
Simpler, more efficient equipment shopping code using OOEquipmentItem, with side effect that available_for_all now parses its value correctly.. Corrected use of fuzzyBooleanForKey: in r1855.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1856 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-15 01:10:01 +00:00
Nikos Barkas
57b893d9f2
Fixed not working hasShipyard key for stations.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1854 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-14 23:19:51 +00:00
Jens Ayton
19cbb04377
* Fixes to ship registry:
...
- is_template is no longer inherited, causing all derived ships to be
silently deleted.
- Ships whose model canât be found are now reported and deleted from the
registry.
- Ships used as subentities no longer require roles.
- Ships with invalid subentity definitions (not exactly eight tokens) are
now reported and deleted from the registry.
- New is_external_dependency key suppresses errors for missing like_ship and
subentity references. (A ship with is_external_dependency will still be
deleted from the registry if it canât be properly resolved, there just
won't be a message about it.)
* Added missing compatibility method player.spawnOne().
* Default galactic_hyperspace_behaviour respelled to BEHAVIOUR_STANDARD.
* Corrected warning text in setGalacticHyperspaceBehaviourTo:.
* Added nil check in collision detection.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1853 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-13 09:47:15 +00:00
Michael Werle
520c61fbb3
* Fix bug with Docking Clearance - could no longer cancel requests
...
* Fix bug with Docking Clearance - waive fine when in Escape Pod
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1851 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-13 02:25:11 +00:00
Jens Ayton
8d22e3c41c
Work on cleaning up Clang Static Analyzer diagnostics. In particular, moved away from redundant and broken JSFooGetFoo functions.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1850 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-10 23:41:00 +00:00
Nikos Barkas
bfde71ea55
Fixed thargoid curses comms messages appearing out of nowhere (thanks Eric).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1848 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-09 10:05:53 +00:00
Nikos Barkas
28ae09331a
Fixed mute trumbles.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1846 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-09 08:45:58 +00:00
Nikos Barkas
db4a4f2183
Fixed JS propery player.bounty not returning anything.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1844 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-08 11:14:46 +00:00
Michael Werle
d2fa0b1f1c
Fixes crash-bug #14766 when switching between restricted and unrestricted modes.
...
Removes a compiler warning on non-Mac platforms.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1842 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-08 01:44:56 +00:00
Michael Werle
efaa673603
Fix for first crash-point when switching to Strict Mode (Details in Bug#14766)
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1841 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-07 20:42:58 +00:00
Nikos Barkas
0bca9e1d43
Fixed the memory consumption bug in OOProbabilitySet.m (object could not be removed - thanks bmaxa).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1840 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-07 17:05:24 +00:00
Jens Ayton
0f12ef6bdc
Added Darren Salt to contributor list.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1838 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-07 11:39:40 +00:00
Michael Werle
77703f89b6
Significant changes to the Debian build rules, largely copied from Darren
...
Salt's work from Bug #14126 .
To build run 'debuild binary' in the root and to clean 'debuild clean'.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1837 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-07 01:12:48 +00:00
Nikos Barkas
ba4a8e6312
Fixed the Fuel Free Of Charge bug (thanks bmaxa).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1836 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-06 14:44:12 +00:00
Nikos Barkas
7ec8d29435
Made playerBoughtEquipment script handler fire even when equipment bought price is 0.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1833 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-06 11:28:27 +00:00
Jens Ayton
3ef6390110
Changed JS galactic hyperspace properties for more conventional semantics.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1832 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-05 22:45:41 +00:00
Nikos Barkas
6c80407290
Fixed the malfunctioning JS entity owner property.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1830 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-04 06:54:09 +00:00
Jens Ayton
c5af9b124b
Enable docking clearance for non-debug Mac builds (oops). Fixed a potential crash when calling JS player.ship.setGalacticHyperspaceBehaviour() with an invalid argument.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1829 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-03 21:48:41 +00:00
Jens Ayton
bbd9c0ef23
Ye bigge version number bumpe. Also removed deprecated JS stuff that's been around for two versions, and added :logOn and :logOff console macros.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1828 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-03 17:55:32 +00:00
Jens Ayton
d117dca7c6
Removed some debug code accidentally left in supposed 1.72. Nothing to see here, move along...
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1827 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-02 14:35:54 +00:00
Jens Ayton
9a99a28cdf
Added user-contributed BBC-style keyboard config in tools/
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1825 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-02 14:06:02 +00:00
Jens Ayton
72e048bb72
Real fix for bug #14618 (mass lock from leaked planet miniatures): call [UNIVERSE removeDemoShips] on player launch to clean up any GUI planets or ships.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1824 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-02 14:00:32 +00:00
Jens Ayton
2ec9fb8a21
Use native exception syntax for final and test release builds under OS X, to avoid the bugs the old macros can cause. Can't switch fully because there's no support in stable GCC for Windows.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1822 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-01 14:27:31 +00:00
Jens Ayton
9ad01ddc33
Fix for octree generation bug.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1821 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-01 13:40:56 +00:00
Nikos Barkas
81adc45368
Upgrading the Windows port to GNUstep version 1.15.3, with significant performance boost results. Adjusted install scripts accordingly. Removed redundant NSApplication import from main.m. Deleted non used libraries from the Windows dependencies.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1820 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-31 20:45:09 +00:00
Nikos Barkas
30d8d1f3ac
Halve star sizes. It looks a bit better (or at least that's what most people think).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1819 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-31 17:08:35 +00:00
Jens Ayton
5468ad980f
Added CARGO_CARRIED to shipdataEntrySchema.plist. Rearranged IsPlanetPredicate() for better branch prediction.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1818 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-31 15:54:40 +00:00
Michael Werle
6e5ec9ecf1
Fix for 'setlocale()'compiler warning when compiling under Windows and
...
GNUstep 1.15
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1817 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-31 13:00:48 +00:00
Nikos Barkas
5fda775689
Corrected comment describing type of P.dockingClearanceStatus property.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1814 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-26 13:39:27 +00:00
Nikos Barkas
2d110bd521
Made the JS method player.dockingClearanceStatus return a string describing the docking clearance status instead of an integer.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1813 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-26 13:31:05 +00:00
Nikos Barkas
2c1c60f6e1
Made the player's docking clearance status visible from JavaScript. For now, read-only.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1812 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-26 12:34:23 +00:00
Nikos Barkas
9d28a5f72e
Fixed a bug where station would send a clearance granted message to player when player docked after ignoring request to wait in line.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1811 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-25 15:42:26 +00:00
Jens Ayton
2158de017c
Made JS missionVariables (and script converter) stricter about what they consider to be numbers. Stuff like 2HRS_TO_ZERO are no longer converted to numbers when they shouldn't be. Deleted toos/ScriptCompiler since we no longer support .oos scripts.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1810 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-25 14:50:30 +00:00
Jens Ayton
e58f903a79
Random Unicode quotation mark extraction, yay.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1807 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-22 18:37:45 +00:00
Nikos Barkas
83a5b7f2af
Changed some platform specific references to OOLITE_WINDOWS / OOLITE_LINUX for consistency.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1806 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-22 13:39:53 +00:00
Jens Ayton
39d9547f2a
Supress generation of escorts for ships shown with showShipModel:.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1804 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-21 22:32:28 +00:00
Jens Ayton
0df8ba731c
Copy & paste error.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1801 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-17 23:10:30 +00:00
Jens Ayton
53e8c39d94
Eating own dogfood.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1800 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-17 23:09:12 +00:00
Jens Ayton
3c106c962d
Added effectiveTechLevel property to JS EquipmentInfo - like techLevel, but takes TL 99 and mission_TL_FOR_EQ_FOO into account, and can be written (which just sets mission_TL_FOR_EQ_FOO). Also renamed EquipmentInfo.identifier to EquipmentInfo.equipmentKey for consistency.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1799 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-17 22:33:39 +00:00
Jens Ayton
5b57e1251f
JS ship.remove() now silently fails for the player ship.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1798 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-17 21:40:49 +00:00
Nikos Barkas
77ec994a4f
Added OOJSEquipmentInfo.m to GNUmakefile.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1797 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-17 06:26:12 +00:00
Jens Ayton
f575d75530
Added JS EquipmentInfo, wrapper around OOEquipementType.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1796 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-16 22:04:29 +00:00
Jens Ayton
20f02191c8
New JS player.ship properties: forwardShield, aftShield, maxForward/AftShield, forward/aftShieldRechargeRate. New JS event hooks: equipmentDamaged(), equipmentDestroyed().
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1795 127b21dd-08f5-0310-b4b7-95ae10353056
2008-10-16 20:19:47 +00:00