Commit Graph

32 Commits

Author SHA1 Message Date
Crazylemon64 1745c71474 Fixes a bug involving a map template resetting the map loader's
progress
2016-07-06 22:51:48 -07:00
Tigercat2000 9854f48ca9 Assault Pods & Fixes
Fixes:
 - Lighting system bandaid: Lighting overlays can't go below 0 lum ever
 - -tg- shuttles now use changeTurf() and forceMove() appropriately
 - forceMove() actually bothers to update lighting now
 - Fixed teleportlocs including prohibited areas. Sorry wizards, no more
   area teleporting to Central Command.

Misc changes:
 - Moved the emergency shuttle stuff to the modules/shuttles/ folder
 - Moved the cargo shuttle stuff to the modules/shuttles/ folder

Features:
 - Added nukeops assault-pod. Nuke ops may purchase a destination setter
   for 30 telecrystals.
   The assault pod is a shuttle, equipped with 8 turrets that use
   weakbullet3. When an area is selected, a destination will be randomly
   placed in one of the turfs in that area. The pod will gib anyone
   standing in the area where it lands, and overwrite any turfs.
2016-03-19 14:45:45 -07:00
Tigercat2000 e60799474b tgshuttles unfinished 2015-12-03 10:59:06 -08:00
Tastyfish 3f264936a1 Make placing floor plating on space actually update lighting correctly 2015-11-12 22:42:16 -05:00
PJB3005 89ead58167 Fixes light sources getting destroyed after their colour changes (no updates in between) leaving artifacts. 2015-09-12 22:51:10 +02:00
Krausus 61edb3eb95 Further process tweaks
- Integrates Volundr's btime library and associated process scheduler
changes.
- btime is implemented separately from the process scheduler, as precise
time measurement is also useful elsewhere.
- `TimeOfHour` is no longer internally throttled; throttling is instead
done by `SCHECK`.
- If btime's `gettime` cannot be called at world startup, an error will
be output and the world will stop.
- Retains the change to schedule processes according to game time,
rather than real time.
- Removes the (now unused) update queue files.
- Removes the process scheduler testing files.
- These are standalone tests for the process scheduler, completely
unrelated to its use in the full codebase. We never used them.
- Moves the process scheduler defines into __DEFINES.
- Makes the lighting process run once before the round starts.
- Renames `scheck` to `sleepCheck`, to ensure any code that tries to use
`scheck` will fail to compile.
- Adds `SCHECK` and `SCHECK_EVERY` macros that skip calling `sleepCheck`
entirely until a specified number of `SCHECK`s (50 by default) have been
called.
- Makes most processes iterate using their `last_object` variable,
allowing hang recovery to show the type that caused the hang.
- Makes processes output an error when they filter out a type they
refuse to process.
- Rolls the recently-added alarm subsystem into the alarm process.
- Removes the now unused subsystems code.
2015-08-08 09:07:26 -04:00
Krausus 60fed2cf71 Resolves further merge conflicts 2015-08-03 23:40:28 -04:00
Fox-McCloud aaa6170fe4 Lighting Runtime Fix 2015-08-02 16:57:14 -04:00
Fox-McCloud 1344de844b DVIEW Fixes 2015-08-01 15:20:44 -04:00
Krausus 6d46132b06 Resolves merge conflicts 2015-07-26 06:56:24 -04:00
Fox-McCloud 20099b254f More Lighting Tweaks and Optimizations 2015-07-22 18:20:21 -04:00
PJB3005 d99ab0d2ac I think I just managed to fix all lighting lag. 2015-07-21 15:36:12 +02:00
Krausus c520ebd8a5 Process and Process Scheduler Tweaks 2015-07-18 13:14:32 -04:00
PJB3005 2b0ea0524f gotta go fast! 2015-07-15 17:22:56 +02:00
Fox-McCloud 545aaf4003 Adds in Lighting Controller Debugability 2015-07-14 04:40:56 -04:00
PJB3005 c860c76e4a Should fix #1401 2015-07-04 17:33:31 +02:00
PJB3005 5540a50ed7 Fixes an unreported issue that caused lights to get stuck 2015-06-26 10:56:33 +02:00
Tigercat2000 d20298e996 -tg- atom pooling system, qdel changes
This commit first and foremost ports the -tg- atom pooling system, and
removes the old experimental system entirely.

Secondly, this PR modifies the qdel system to use a -tg- lookalike
"destroy hint" system, which means that individual objects can tell qdel
what to do with them beyond taking care of things they need to delete.
This ties into the atom pooling system via a new hint define,
QDEL_HINT_PUTINPOOL, which will place the atom in the pool instead of
deleting it as per standard.

Emitter beams are now fully pooled.

Qdel now has semi-compatibility with all datum types, however it is not
the same as -tg-'s "Queue everything!" system. It simply passes it through
the GC immediately and adds it to the "hard del" lists. This means that
reagents can be qdel'ed, but there is no purpose as of yet, as it is more
or less the same as just deleting them, with the added effect of adding
logs of them being deleted to the garbage collector.
2015-06-21 15:47:57 -07:00
PJB3005 d0f32728cd Whatever the hell an underf is, it's gone now 2015-06-20 16:32:31 +02:00
PJB3005 320e481677 Alright 2015-06-20 16:22:51 +02:00
PJB3005 8ad74ebb6e Fixes all your problems...
Except the fact that 75% of paradise is still using del, and you have no pooling.

Or defer_powernet_rebuild, do you guys have that yet?
2015-06-20 14:47:45 +02:00
Fox-McCloud 2ad1c74457 Singularity Refactor 2015-06-10 20:04:28 -04:00
ZomgPonies 6a84ea02a8 Add ALL the sanity 2015-05-15 23:09:09 -04:00
ZomgPonies b58b31e7cd Fix space cleaner 'cleaning' lighting 2015-05-15 22:59:38 -04:00
Fox-McCloud 05a58fa2f2 Merge pull request #1066 from ZomgPonies/master
Lighting runtime fix
2015-05-15 14:18:16 -04:00
ZomgPonies ff929c3b59 Lighting runtime fix 2015-05-15 13:42:08 -04:00
Krausus f5f15881c2 Fixes luminosity checks
They should now be more in-line with how they worked under the old
lighting system.
2015-05-15 01:07:08 -04:00
ZomgPonies 6178fbb32e Fix 2015-05-14 06:01:49 -04:00
ZomgPonies 06a1510766 Optimizes stuffs 2015-05-14 05:36:13 -04:00
Tigercat2000 741da037fb Prevent divide by 0 runtime, fix supply shuttle
This commit adds a small sanity check to the falloff calculations of
lights, to prevent them from dividing by 0. This may cause undiscovered
strangeness, but strangeness is better than filling the runtime log.

This commit also fixes the supply shuttle, which was not spawning any
ordered items. It did this because it had a very basic contents.len check
which the lighting overlays triggered. The sanity check to not spawn stuff
on top of other stuff is now a for(atom) loop on the turfs, which has
snowflake checks for lights and lighting overlays.
2015-05-11 19:37:15 -07:00
Tigercat2000 4642f76d33 Colored Fire
This commit adds a colored fire system based on baystation12's system.
2015-05-10 13:12:22 -07:00
Tigercat2000 e1249fc640 Lighting overhaul.
This commit overhauls the lighting system to Bay12 standards. It is better
in pretty much every way.
2015-05-10 12:03:27 -07:00