chiark / gitweb /
giant reorg abolishes TrainNum most of the time; working on making it build
[trains.git] / hostside / record.h
1 /*
2  */
3
4 #ifndef RECORD_H
5 #define RECORD_H
6
7 #include "realtime.h"
8 #include "record-y.h"
9
10 void record_train_at(Train *tra, int backw, Segment *seg, int maxi, int unc);
11 void record_train_is(Train *tra, int addr, int head, int det, int tail);
12 void record_train_step(Train *tra, int step, int speed, int upw, int downw);
13 void record_train_step_count(void);
14 void record_seg_has(Segment *seg, int backw, Train *tra);
15 void record_seg_at(Segment *seg, const char *movposcomb_pname);
16
17 Train *record_pname2train(const char *pname);
18 Segment *record_pname2seg(const char *pname);
19 char *record_tempzone_strdup(const char *s);
20 void record_yyerror(const char *m);
21 void record_tempzone_clear(void);
22
23 int record_yyparse(void);
24 int record_yylex(void);
25 extern int record_yylineno;
26
27 #endif /*RECORD_H*/