chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sort arrows on data age table
[ypp-sc-tools.db-live.git]
/
yarrg
/
rscommon.h
diff --git
a/yarrg/rscommon.h
b/yarrg/rscommon.h
index 66e36d905e7b8431acba4bce9b3f50075dd17bcb..45a5b3129e141af8369576e059bb386b497d823f 100644
(file)
--- a/
yarrg/rscommon.h
+++ b/
yarrg/rscommon.h
@@
-14,6
+14,8
@@
DF(tableau) \
DF(lp)
DF(tableau) \
DF(lp)
+//#define debug_flags 0
+
#define debug debug_file
#include "common.h"
#define debug debug_file
#include "common.h"
@@
-121,6
+123,7
@@
void setup_value(void);
typedef struct {
double value[AP];
typedef struct {
double value[AP];
+ int length;
int ports[MAX_ROUTELEN];
} OnePotentialResult;
int ports[MAX_ROUTELEN];
} OnePotentialResult;
@@
-135,7
+138,7
@@
void search(int start_isle, int final_isle /* -1 means any */,
extern double max_mass, max_volu, max_capi;
extern double distance_loss_factor_per_league;
extern double max_mass, max_volu, max_capi;
extern double distance_loss_factor_per_league;
-extern int max_dist;
+extern int max_dist
, min_trade_maxprofit
;
#define LOSS_FACTOR_PER_DELAY_SLOT (1-1e-8)
#define LOSS_FACTOR_PER_DELAY_SLOT (1-1e-8)