6 #include "wellobject.h"
7 #include "wellimagefont.h"
13 char player
[PLAYER_NAME_LEN
+1];
14 char date_time
[L_DATE
];
28 void set_current_time();
29 char* get_next_token(char* from
, char* to
);
30 void calc_play_time();
31 void set_player(char* pl
);
32 void set_params(int iscore
, int ilines
, int ilevel
)
34 score
=iscore
; lines
=ilines
; level
=ilevel
;
40 Score
*table
[TOP_NINE
];
47 void set_squares(int isquares
);
48 Score
* set_and_get(int idx
, Score
*toset
);
51 class WellTopNine
: public WellObject
54 ScoreTable tables
[MAX_SQUARES
];
55 WellImageFont
* text_lines
[TOP_NINE
];
56 ObjectCaller object_on_exit
;
66 virtual bool process_event(wEvent
);
69 virtual void redraw_table();
72 Score
* try_add_to_table(Score
* new_one
);
73 Score
* find_challenger(Score
* me
);
74 void set_object_on_exit(ObjectCaller o
)
78 void set_page(int pg
) { page
=pg
;};
81 extern WellTopNine
*default_top_nine
;