-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scale hp autoseed #1029
base: develop
Are you sure you want to change the base?
Scale hp autoseed #1029
Conversation
fix resistance tests
fix null-pointer crash
some mild refactoring, but no real changes.
https://bugs.eressea.de/view.php?id=2980 Ausserdem: Flammenschwerter vor Laenschwertern bevorzugen.
Co-authored-by: Enno Rehling <enno@eressea.de>
Co-authored-by: Enno Rehling <enno@eressea.de>
Sehr schön, sogar mit Tests!
* narrow down failing test' * on failure, print the filename
let install script use cmake --install
this resolves issue eressea#1026
Co-authored-by: Enno Rehling <enno@eressea.de>
* upgrade to python3 * get rid of python2 compatibility --------- Co-authored-by: Enno Rehling <enno@eressea.de>
Dafür konnte man keinen Test schreiben? |
Wie sich herausstellt konnte man. Gute Sache. |
src/races/races.test.c
Outdated
|
||
#include <CuTest.h> | ||
|
||
#include <stb_ds.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dieser header wird glaube ich nicht gebraucht.
src/races/races.test.c
Outdated
|
||
#include <stb_ds.h> | ||
|
||
#include <stdbool.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto - dein Test benutzt keine booleans.
@@ -124,31 +124,41 @@ local mysets = { | |||
}, | |||
} | |||
|
|||
EQUIP_SKILLS = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Es wäre besser, wir würden solche Konstanten aus C exportieren - die könnten sich ja mal ändern, und zwei Definitionien synchronisiert zu behalten, ist immer doof.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich weiß nur nicht wie. Mache ich das in bindings, so wie du es für directions gemacht hast oder definiere ich dafür irgendwie was eigenes??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, was in bindings.c mit den directions gemacht wird, ist ein gutes Beispiel, glaube ich.
HP of seeded units where not scaled rendering them wounded