Commit Graph

282 Commits

Author SHA1 Message Date
Leshana
f23af78ae9 Setup auto-configuration of shuttle consoles.
- Its now possible to put shuttle consoles on a shuttle without a specific subtype or mapediting the shuttle_tag on them.
- After shtutle initialization, SSshuttles gives each initialized shuttle the chance to scan its areas for consoles it wants to claim and configure.
2020-04-11 18:13:19 -04:00
Aronai Sieyes
942ed8d806 Adds an overmap helper to find what sector you're in 2020-04-11 12:03:10 -04:00
Leshana
5bf15efcbc Refactor the Open Space controller into MC Subsystem
- Basically just refactor doWork() into fire() with the capablity to return in the middle with MC_TICK_CHECK.
- Move some vars around to be more organized.
- Only functional change is that when a turf is queued twice in one cycle, the second queue moves it to the end of the list instead of it being in the queue twice
2020-04-10 12:10:21 -04:00
Leshana
4c25dc91df Commit move of open_space_controller.dm to subsystems folder to track history through rename. 2020-04-10 12:07:07 -04:00
Leshana
6555799119 Revamp Start Now admin verb to actually wait until init is done before starting. 2020-04-10 11:41:38 -04:00
Leshana
6dc9ecd1af Fix: Only call autogamemode vote once. 2020-04-10 11:41:38 -04:00
Leshana
c4a8aa2b7b Refactor the gameticker into SSticker
- Instead of independently spawn'd while/sleep loops, it stores its state and lets the MC fire it.
  - Convert relative path indentation procs to absolute path as per modern style standards.
  - Break apart the inner loops into separate procs so you can see what is actually going on.
  - It now shows up in MC tab, along with stats about what phase it is in.
2020-04-10 11:41:38 -04:00
Leshana
a794fecea0 Move gameticker to subsystem folder before editing to track history thru rename. 2020-04-10 11:37:46 -04:00
Leshana
9a4b3f7c8b Merge pull request #7159 from VOREStation/aro-fixes
2 fixes and Teshari maws
2020-04-08 19:30:35 -04:00
Leshana
81dfe61c7b Merge pull request #7145 from VOREStation/aro-randomfixes
Fix 2 minor issues
2020-04-08 19:26:14 -04:00
Leshana
08c2d2db6e Remove non-global references to SSgameMaster and SSevent_ticker
- Best practice to avoid holding onto references to the subsystem instances aside from the global variables. (In case of restart/recover etc).
- The reference to GM was entirely unused by any event or meta-event.  /datum/game_master would work fine using the global refs.
2020-04-06 17:28:11 -04:00
Atermonera
5c03273ce8 Merge pull request #6884 from Neerti/event_system_fix
Rewrites the Rewritten Event System
2020-04-06 16:23:39 -04:00
Aronai Sieyes
abd28b5d6d Fix per-zlevel skyboxes not really allowing custom ones
It's not going to break the world to remove this 'assumption' cache
2020-04-06 12:08:33 -04:00
Aronai Sieyes
d880b61cfd CHECK_TICK in xenoarch setup for the sake of largermaps 2020-04-05 11:58:14 -04:00
Atermonera
c467445cba Adds confirmations message to cancel vote (#6945) 2020-04-04 22:29:43 -04:00
Aronai Sieyes
1626df366c Merge pull request #7102 from VOREStation/aro-fakez
Improves space edge-of-map behavior and add mapping tools
2020-04-02 10:58:13 -04:00
Aronai Sieyes
f080a4baf3 [PORT] Speed up map load significantly 2020-04-02 10:25:03 -04:00
Aronai Sieyes
09003a6c61 Improve space map edges 2020-04-02 01:08:07 -04:00
Novacat
1cdd572e6a Merge pull request #7060 from VOREStation/upstream-merge-6902
[MIRROR] Convert alarm_manager into SSalarm subsystem.
2020-03-31 11:45:08 -04:00
Atermonera
8986eb7720 Merge pull request #6902 from VOREStation/vplk-ssalarm
Convert alarm_manager into SSalarm subsystem.
2020-03-30 20:41:10 -04:00
Aronai Sieyes
cdb2336bf7 VS: Convert bellies to processing subsystem 2020-03-30 16:11:30 -04:00
Aronai Sieyes
85805e8ffe Merge pull request #7050 from VOREStation/aro-procdebug
Add Recover() to processing subsystems
2020-03-30 13:15:55 -04:00
Aronai Sieyes
1205f01b0d VS: Bellies should probably be a processing subsystem 2020-03-30 12:18:40 -04:00
Aronai Sieyes
b77334cb95 Tweak output and check SSobjs and SSturfs for types 2020-03-30 12:14:53 -04:00
Aronai Sieyes
a19021887f Add Recover() to processing subsystems 2020-03-30 12:02:22 -04:00
Aronai Sieyes
cbc513314a Update inactivity.dm 2020-03-29 18:18:44 -04:00
Atermonera
255809524d Inactivity subsystem kicks ghosts and admins again 2020-03-29 17:50:24 -04:00
Aronai Sieyes
3e0e45468a Merge pull request #7019 from VOREStation/upstream-merge-6888
[MIRROR] Port Overmap Skybox, Ships, Sectors, and Boats
2020-03-29 15:33:49 -04:00
Leshana
42494162e3 Fix: Actually apply configured skybox color.
Also set default icon_state for space turfs so they are seen in the map editor.
2020-03-27 18:08:17 -04:00
Atermonera
752d560d76 Converted old supply_controller to SSsupply 2020-03-27 17:38:05 -04:00
Leshana
96a3242c6e Remove temporary debug logging from SStimer 2020-03-25 00:18:19 -04:00
Leshana
f2a582569b Ports overmap events from Baystation12
- Move overmap defines to _defines folder.  Rename old file to turfs.dm since that is what it contains.
- Definition of overmap event objects and the overmap event handler.
- Upgrades to SSevents and SSskybox to tie in the overmap events.
- Enhancement to /datum/event itself to support affecting_z and victim ship.
- Upgrade to the five event types used on the overmap to support new vars.
- Upgrade to dust and meteor spawning code to support targeting z-levels.
2020-03-19 20:29:43 -04:00
Novacat
15273a356c Merge pull request #6913 from Heroman3003/jobstuff
Does some adjustment to _vr job things
2020-03-19 19:00:25 -04:00
Aronai Sieyes
b95ca5568c Faster lookup of self-init on atoms 2020-03-19 15:51:01 -04:00
ShadowLarkens
2e23dcdb49 Speed up mapload significantly
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
2020-03-19 00:29:24 -04:00
Aronai Sieyes
9250685a06 VS-specific changes for mapload time 2020-03-19 00:27:47 -04:00
Heroman
a8c4ac11c4 Does some adjustment to _vr job things 2020-03-19 14:20:11 +10:00
Novacat
194c9f7a63 Merge pull request #6841 from VOREStation/upstream-merge-6818
[MIRROR] Fully Implements R_EVENT for Event Managers
2020-03-15 17:01:36 -04:00
Atermonera
3ac5a32e39 Fixes the occupation screen. 2020-03-15 14:35:59 -04:00
Atermonera
cb8548f5af Fully Implements R_EVENT for Event Managers 2020-03-12 15:01:50 -04:00
Heroman
a7a9080362 Separates PTO being earned into its own var 2020-03-12 11:47:55 +10:00
Leshana
9cbdf184ff Ported Basic Overmap Functionality
- Ports the overmap, ships, sectors, and "landable" ships from baystation.
- Ports necessary computers to control ships and overmap shuttles.
- Shims missing machine and computer functionality pending future enhancements.
- Includes required new sprites and sounds.
2020-03-11 11:11:40 -04:00
Leshana
86c435f4b7 Ports Skybox Parallax
- Port based on Baystation's implementation and customized for our code and usages.
- Switched space icon_state permutation to a "dust" overlay that is permutated the same way. As an overlay, the dust can be *above* the parallax planes. Space turfs are now white to allow skybox to BLEND_MULTIPLY onto them.
- Added skybox hud effect that replaces background space turfs with an image moved to create a parallax effect.
- Added skybox subsystem to generate and manage skybox parallax images, and lots of images for it!
2020-03-11 11:11:40 -04:00
Unknown
b2cd0eade0 Converts off duty system to new system 2020-03-09 15:37:45 -04:00
Novacat
2eae0fdecb Merge branch 'master' into upstream-merge-6762 2020-03-09 01:45:23 -04:00
Arokha Sieyes
32ccb0901a Port Bay's inactivity subsystem 2020-03-09 00:53:31 -04:00
Atermonera
217dabd31c Merge pull request #6789 from VOREStation/pol-busysignal
Moving AI busy check so it's performed less and more centrally
2020-03-05 15:14:36 -05:00
Leshana
c837078105 Replaced "area" shuttles with "landmark" shuttles.
Largely ported from the work done at Baystation in https://github.com/Baystation12/Baystation12/pull/17460 and later commits.

 - Shuttles no longer require a separate area for each location they jump to.
   Instead destinations are indicated by landmark objects, which are not necessarily exclusive to that shuttle.
   This means that more than one shuttle could use the same docking port (not at the same time of course).
 - Enhanced shuttle control computers to use nanoui if they didn't.
 - Organizes shuttle datum code a bit better so there is less re-inventing the wheel in subtypes.
 - Allows the possibility of shuttles (or destinations) that start on late-loaded maps.
 - Deprecate the "extra" shuttle areas that are no longer needed and update shuttle areas in unit tests

This all required a bit of infrastructure improvements.

 - ChangeArea proc, for changing the area of a turf.
 - Fixed lighting overlays actually being able to be destroyed.
 - Added a few utility macros and procs.
 - Added "turf translation" procs which are like move_contents_to but more flexible.
2020-03-05 10:29:08 -05:00
Neerti
0d9345adde Half-Refactors Jobs 2020-03-03 16:28:33 -05:00
Aronai Sieyes
6af54bfec2 NanoUI Subsystem Fixes
Don't do this, the asset subsystem does this for you
2020-03-01 14:14:52 -05:00