00001 #include "white_interface.h"
00002 #include "e:\AndrewWorkspace\Stratego\input.h"
00003
00028 int player_no;
00029
00030
00031 void poin_entry_Init()
00032 {
00033 }
00034
00035
00036 void poin_entry_Run()
00037 {
00038 int input;
00039 button output;
00040
00041
00042
00043
00044 if (player_Enabled())
00045 {
00046 player_no = player_Value();
00047 output.player = player_no;
00048 output.button_no = 0;
00049 out_Post(&output);
00050 }
00051
00052
00053
00054
00055
00056 if (in_Enabled())
00057 {
00058 input = in_Value();
00059
00060 output.player = player_no;
00061 output.button_no = input;
00062 out_Post(&output);
00063 }
00064 }
00065