5453 Commits

Author SHA1 Message Date
cim
a32f786168 Try to spread out launches between stations a bit. 2013-12-19 18:55:07 +00:00
AnotherCommander
e07757cfe5 Update screenbackgrounds.plist with (commented out) code for the new game screen. 2013-12-19 16:27:15 +01:00
AnotherCommander
7bf19797ef Background enabling code for new game screen - simplified edition. 2013-12-19 15:47:53 +01:00
AnotherCommander
6bd7a42997 Enable background and foreground images for the new New Game screen. 2013-12-19 13:28:44 +01:00
cim
cff7ee1dd0 Merge branch 'tutorial-scenario': lesson 6 2013-12-18 12:44:29 +00:00
cim
9d37b1ca14 Add tutorial lesson 6: combat practice.
Also tweak a few earlier stages very slightly, and add optional 'delay' parameter to priority setting in AIs.
2013-12-18 12:42:04 +00:00
cim
a570fbadfc Fix bug where stations would ignore attacks 2013-12-17 22:06:12 +00:00
cim
622874c444 Just in case an OXP has deleted a standard role. 2013-12-17 15:04:30 +00:00
cim
b11f30df0b Merge branch 'tutorial-scenario' - more lessons 2013-12-17 13:07:45 +00:00
cim
d5093e2412 Tutorial lessons 4 and 5 2013-12-17 13:05:18 +00:00
cim
86de5faa16 Fix typos in tutorial briefing text 2013-12-16 18:09:29 +00:00
cim
b796c20192 Sort out a bunch of momentum transfers
- if something explodes, debris inherits its velocity.
 - momentum transfer on explosion now somewhat capped to prevent accidental relativistic projectiles.
 - clean up some duplicated code for asteroid->boulder and boulder->splinter
2013-12-15 16:22:58 +00:00
cim
282af079ed Merge branch 'tutorial-scenario': fixes 2013-12-14 17:06:21 +00:00
cim
2f248c3186 Adjust messages, check distance from buoy more frequently 2013-12-14 17:05:51 +00:00
cim
344bd47efd Merge branch 'tutorial-scenario': lesson 3 and some bug fixes 2013-12-14 16:01:20 +00:00
cim
51ee5f94cb Add first challenge - dodge some asteroids 2013-12-14 15:55:31 +00:00
cim
0d66f33809 Make attacks on cargo, buoys, etc. less likely 2013-12-12 20:56:39 +00:00
cim
609339826c Fix AI error 2013-12-12 20:17:58 +00:00
cim
7944657206 Fix use of RNG functions to be hopefully consistent cross-platform 2013-12-12 19:52:43 +00:00
cim
ef5e5ca202 Fix coordinates for tutorial, in case the sun moves 2013-12-10 18:25:33 +00:00
cim
5ac0101ac9 Rework "endScenario" to hopefully avoid crash 2013-12-09 20:25:09 +00:00
cim
714097821c Fix a couple of exceptions 2013-12-09 18:53:27 +00:00
Jens Ayton
10a588675f Fix format string errors 2013-12-09 09:34:19 +01:00
cim
b17b39afde Merge branch 'tutorial-scenario'
I'll carry on working on the tutorial mainly in the branch, but I'd rather be able to get it tested via nightlies a bit at a time to spread out the feedback. The scenario support and new start menu are also needing testing. So further merges from this branch will happen in future.
2013-12-08 19:10:19 +00:00
cim
d9f1b66c4c Increase fuel level for fuel bar introduction 2013-12-08 19:09:49 +00:00
cim
dbcd7f00a9 Correctly load main station market from save game 2013-12-08 12:50:01 +00:00
cim
fe7bf609a9 Add private functions to private interface (allows gcc compile) 2013-12-08 12:45:32 +00:00
Jens Ayton
63dd78d9dd Unpilotedness reform
* Rename isUnpiloted to isExplicitlyUnpiloted
* Add more general isUnpiloted method covering things like rocks.
2013-12-08 01:43:32 +01:00
Jens Ayton
96a41ad97c Reform ship crew setup
Adds a convenience method for the common case, which two changes:
* It does nothing for unpiloted ships
* It uses the ship's nominal home system rather than the current
  system as the character's origin seed. I don't think this can
  make a difference currently, but it's future-proofing.
2013-12-08 01:31:17 +01:00
Jens Ayton
8e870d772c Clean up OOCharacter
Mostly style changes, and hiding of internal methods. Also removed
longDescription property; it was never used and the setup code was
broken.
2013-12-08 01:14:36 +01:00
cim
d1617b92b0 Complete first draft of second lesson 2013-12-07 16:27:02 +00:00
cim
8c2836f157 Set up resetting between lessons and death protection, start lesson 2 2013-12-07 15:02:31 +00:00
cim
a29ee99447 Allow scenarios to be ended
A scenario key may optionally be specified in scenarios.plist, then player.endScenario(key) may be called to exit the scenario and return to the start screen. Calling it with the wrong key or when there was no scenario key set has no effect.
2013-12-07 13:00:02 +00:00
cim
d10327a675 Finish (first draft of) lesson 1 of the tutorial 2013-12-06 21:47:24 +00:00
cim
7fcc368258 Fix bug where HUD items which changed line width weren't resetting it 2013-12-06 21:45:27 +00:00
cim
44799d8b70 Add more dials to tutorial lesson 1 2013-12-06 18:20:55 +00:00
cim
9d8850d4d8 Adjust HUD dial positioning slightly
Scanner zoom is now closer to the scanner than to the compass
2013-12-06 18:20:32 +00:00
cim
e27338050c Adjust ordering slightly, add another dial 2013-12-05 22:12:06 +00:00
cim
e7470f3de9 Merge pull request #68 from kanthoney/master
Remove reference to .relative_gitmodules from README.txt
2013-12-05 12:36:37 -08:00
cim
7e83f253a6 Start introducing the HUD in the tutorial
New features: player.ship.{show,hide}HUDSelector(selector) to selectively disable HUD entries.
with_dial entry for legends to tie legends to the visibility of particular HUD selectors.
2013-12-04 22:57:39 +00:00
cim
067dd3a222 Add "return" option from load commander screen if entered from start menu 2013-12-04 20:28:38 +00:00
cim
2be33a0eef Start on tutorial set up
Add third parameter to PS.setMultiFunctionText (bool reflow). If true, automatically reflows text to keep within width limits. (Should we default this to on? That's probably the more common case.)
2013-12-03 23:28:16 +00:00
cim
c8cc203ff5 Stop double-clicks outside selectable rows activating something 2013-12-03 18:26:42 +00:00
cim
6e33205d6f Fix colour of return to menu 2013-12-03 18:04:33 +00:00
cim
d27d211575 Improve mouse support on new game page, add return to menu option 2013-12-03 18:01:01 +00:00
cim
9052fc604e Clear mouse when entering intro screen 2013-12-03 16:57:54 +00:00
cim
774f421455 Add starting save file and some initial framework for the tutorial 2013-12-03 13:33:17 +00:00
cim
74659d6966 Mouse support for New Commander screen 2013-12-03 12:34:25 +00:00
cim
0c8259f804 Mouse support on start screen 2013-12-03 12:00:02 +00:00
cim
5e165fc3a2 Fix lighting problems with -load option, without F7 bug 2013-12-03 11:08:44 +00:00