Commit Graph

7 Commits

Author SHA1 Message Date
Tigercat2000
206f7079df Clean up mob code a bit
Does the following:
 - Cleans up how gravity works, a little bit
 - Pushes duplicated procs for slimes/xenos/humans up to carbon/Life()
 - carbon/Life() is now a thing, it handles the non-special stuff for all
   carbons
 - Mob controller no longer ticks a seperate entity, mob_master is now
   just a reference to the mob process, which ticks.
2015-10-27 06:19:24 -07:00
Markolie
4a0e02c4a8 Update start of game logging 2015-08-20 19:54:13 +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
c520ebd8a5 Process and Process Scheduler Tweaks 2015-07-18 13:14:32 -04:00
Tigercat2000
d46e172700 FIX: Mob ticker is now in \red \b.
The mob ticker was not in \red \b format, when every other
round-start-initializing ticker is in said format. This is no longer the
case.
2015-05-15 17:21:16 -07:00
Tigercat2000
173bdc4c27 Mob life fix, firedoors
This commit does the following;
 - Repairs mob breathing by adding a new ticker process, mob_master, as
   air_master is an unreliable ticker with it's customizable speed
 - Restore firedoor attack_hand access
  - You can now open and close firedoors by using no item, provided you
    have access to them and they aren't locked.
2015-04-29 12:47:23 -07:00
ZomgPonies
2c50a42ba7 Goon process scheduler 2015-02-22 15:24:46 -05:00