-
Notifications
You must be signed in to change notification settings - Fork 7
/
dclass.c
22 lines (18 loc) · 1.39 KB
/
dclass.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
harris - a strategy game
Copyright (C) 2012-2015 Edward Cree
licensed under GPLv3+ - see top of harris.c for details
dclass: difficulty class definitions
*/
#include "types.h"
dclass dclasses[DIFFICULTY_CLASSES]={
[DCLASS_ALL] = {.name="All", .desc="Set all categories to the same difficulty"},
[DCLASS_RCITY] = {.name="Resilience (cities)", .desc="How much damage it takes to destroy a city", .values={10, 20, 50}},
[DCLASS_RINDUS]= {.name="Resilience (industry)",.desc="How much damage it takes to destroy an industrial target",.values={12, 20, 36}},
[DCLASS_RSHIP] = {.name="Resilience (shipping)",.desc="How hard it is to sink a ship", .values={3, 5, 8}},
[DCLASS_RLEAF] = {.name="Resilience (morale)", .desc="How hard it is to weaken morale by dropping leaflets", .values={12, 20, 36}},
[DCLASS_ROTHER]= {.name="Resilience (other)", .desc="How much damage it takes to destroy other targets", .values={12, 20, 36}},
[DCLASS_FLAK] = {.name="Flak strength", .desc="Strength of target flak defences and sited flak", .values={50, 25, 15}},
[DCLASS_FSR] = {.name="Fighter strength", .desc="Effectiveness of enemy fighters", .values={8, 10, 12}},
[DCLASS_TPOOL] = {.name="Training pool size", .desc="Ratio of instructors to students in crew training", .values={1, 2, 3}},
};