Dedmen Miller
6bd8542eed
Move #includes before function headers ( #6484 )
2018-07-30 10:22:14 +01:00
Thomas Kooi
36f2c5fcc9
Minor code clean up ( #6474 )
...
* Minor code clean up
* refactor(medical): shorten some code
* refactor(medical): use macros for tourniquets
* refactor(medical): pull cache expiry values into script_macros_medical
2018-07-29 22:43:14 +01:00
Thomas Kooi
9e26833b94
fix(medical): make sure vitals handling works properly again ( #6481 )
2018-07-29 23:16:06 +02:00
SilentSpike
873ed90cc1
Introduce bleedout condition and fix IV hemorrhage ( #6470 )
...
* Introduce bleedout condition and fix IV hemorrhage
* Update patient info display hemorrhage values
* Update UI info hemorrhage values
2018-07-25 11:40:37 +01:00
TheMagnetar
b8cd85135e
Changes unit vitals rw ( #6449 )
...
* Some changes to UnitVitals
* increase to 40% chance
* Added bloodpressure L above limits cardiac arrest
2018-07-20 22:49:55 +02:00
TheMagnetar
5c768f7784
Fix duplicate entry ( #6448 )
2018-07-18 21:53:54 +02:00
TheMagnetar
3054803e44
Improvements to vitals and display ( #6444 )
...
- Improvements to vitals and display
- Fixes some undeclared variables
- Adds advanced diagnose: hemorrhage classes.
- Original idea for displaying hemorrhage classes belongs to @Arcanum417
2018-07-18 21:38:00 +02:00
Thomas Kooi
c9c8d25017
Move vitals loop statemachine events into switch statement ( #6443 )
...
- Induce cardiac arrest if unit blood volume drops below half
2018-07-18 11:09:09 +01:00
Glowbal
f552acd7da
Fix incorrect macro usages with whitespace
2018-07-15 16:25:14 +02:00
Thomas Kooi
14db38e0f0
Fix various namespace issues with medical
2018-07-15 15:00:16 +02:00
Thomas Kooi
78d91edae2
Fix statemachine not running
2018-07-15 14:21:41 +02:00
SilentSpike
54c398a007
Use macros for peripheral resistance
2018-05-23 10:52:47 +01:00
SilentSpike
de2d7f2fb8
Use macros for hemorrhage class tracking
2018-05-22 18:25:50 +01:00
SilentSpike
c9e11e62a1
Use macros for status state variables
2018-05-22 18:06:28 +01:00
SilentSpike
563742bdd8
Fix heart rate and pain suppression adjustments
2018-05-11 16:11:01 +01:00
SilentSpike
1dc934e1b1
Use macros for unit variables
...
Improves the way medical is storing variables in object space by having
a common list of variables names as macros. Makes the code a bit cleaner
and ensured consistency across components. Also a handy reference for
when working on medical to see what values are all stored.
2018-05-11 15:28:25 +01:00
SilentSpike
e0503129f0
Use blood bolume status macros
2018-05-10 17:44:02 +01:00
SilentSpike
267c0b5c3c
Fix some moved function calls
2018-05-09 16:52:26 +01:00
SilentSpike
dbb538dc56
Fix GVARs moved out of medical
2018-05-09 13:37:07 +01:00
SilentSpike
697aa5dc08
Fix medical status function calls
2018-05-08 10:45:30 +01:00
SilentSpike
65f57361a4
Add blood pressure status macro
2018-05-08 09:28:16 +01:00
SilentSpike
6eb9c7e940
Fix medical vitals function calls
2018-05-08 09:17:47 +01:00
SilentSpike
c92fd89c7a
Fix pain percieved function calls
2018-05-08 08:47:03 +01:00
SilentSpike
6559665b8b
Use more status macros
2018-04-27 16:03:55 +01:00
SilentSpike
d08cf4bdb7
Fix preprocessor includes
2018-04-27 15:21:49 +01:00
SilentSpike
e065ee239e
Merge branch 'medical-rewrite' into medical-rewrite-restructure
2018-04-24 20:07:05 +01:00
PabstMirror
a31037bd45
Merge branch 'medical-rewrite' into medical-rewrite-restructure
2017-05-23 13:46:15 -05:00
BaerMitUmlaut
b89bc86e00
Added seperate vitals component
2017-04-02 00:27:50 +02:00