leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

Bump C:DDA to version 0.E-2 (Ellison-2) #92

Closed leycec closed 3 years ago

leycec commented 3 years ago

This is a friendly self-reminder to bump our Cataclysm: Dark Days Ahead (C:DDA) ebuilds to the newest stable 0.E-2 (Ellison-2) release. Thanks to Jefferson Lemos for the e-mail heads-up, complete with a patchset resolving an upstream issue with respect to dealt_dam.bp_hit in the monster.cpp file being uninitialized:

diff --git a/src/damage.h b/src/damage.h
index 2c63574..2c2b08b 100644
--- a/src/damage.h
+++ b/src/damage.h
@@ -8,6 +8,7 @@
 #include <string>

 #include "type_id.h"
+#include "bodypart.h"

 class item;
 class monster;
@@ -15,8 +16,6 @@ class JsonObject;
 class JsonArray;
 class JsonIn;

-enum body_part : int;
-
 enum damage_type : int {
     DT_NULL = 0, // null damage, doesn't exist
     DT_TRUE, // typeless damage, should always go through

Jeff: whoever you are on Github, you rock! This fist bump is for you. :fist_oncoming:

leycec commented 3 years ago

Resolved by adc53aace7de. Although I didn't hit the above issue (and thus omitted the patch kindly provided by Jeff – sorry, bro), I did hit a gnarly clang compilation issue that required me to completely disable clang support for 0.E-2.

Other than that hurdle, 0.E-2 appears to work like a zombified charm. Let's fight the hideous hordes together, all! :zombie: