forked from github/server
- Kleinkram
This commit is contained in:
parent
55fad1c1bd
commit
b077f57f79
|
@ -57,7 +57,6 @@ const int STANDARD_LUCK = 2;
|
|||
|
||||
extern struct item_type *i_silver;
|
||||
|
||||
#ifdef BAD_NON_ANSI_CODE
|
||||
static void
|
||||
lucky_silver(const unit *u)
|
||||
{
|
||||
|
@ -194,18 +193,15 @@ lucky_event(const faction *f)
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
check_luck(void)
|
||||
{
|
||||
#ifdef BAD_NON_ANSI_CODE
|
||||
faction *f;
|
||||
|
||||
for(f=factions; f; f=f->next) {
|
||||
if(rand()%100 < STANDARD_LUCK+fspecial(f, FS_LUCKY)*8)
|
||||
lucky_event(f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -291,7 +291,6 @@ struct fspecialdata fspecials[MAXFACTIONSPECIALS] = {
|
|||
4
|
||||
},
|
||||
/* TODO: Noch nicht implementiert */
|
||||
/* Einheitenlimit-Senkung sinnlos für alte Parteien. */
|
||||
{
|
||||
"Elite",
|
||||
"Für eine Partei mit dieser Eigenschaft verdoppeln sich alle Boni- und "
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
enum {
|
||||
RM_USED = 1<<0, /* resource has been used */
|
||||
RM_MALLORN = 1<<1, /* this is not wood. it's mallorn */
|
||||
RM_MALLORN = 1<<1 /* this is not wood. it's mallorn */
|
||||
};
|
||||
|
||||
typedef struct rawmaterial {
|
||||
|
|
|
@ -4,7 +4,7 @@ ifndef ERESSEA
|
|||
endif
|
||||
|
||||
# Hier definieren, damit nicht '@gcc'
|
||||
CC = gcc-3.0 -D_GNU_SOURCE
|
||||
CC = gcc-3.0 -D_GNU_SOURCE -ansi -pedantic
|
||||
DEPEND = @gcc-3.0 -MM -MG -r
|
||||
# CC = gcc -D_GNU_SOURCE
|
||||
AR = ar
|
||||
|
|
|
@ -42,6 +42,7 @@ Features:
|
|||
* buildings.xml hat keinen support fuer gebaeude mit mehreren ausbaustufen
|
||||
(castle). nachtragen, und bt_castle aus dem source werfen
|
||||
- eigener messagetype für regions-/einheitenbotschaften (nicht string)
|
||||
* Werform in Reports anzeigen
|
||||
|
||||
Webseiten, Mailinglisten:
|
||||
* mehr logging, vinyambar-accounts
|
||||
|
|
Loading…
Reference in New Issue