BasicBot 0.3.1: Removed code-length limit (rather drastic change). Improved the GUI and added stuff for future features.

This commit is contained in:
qfox 2006-09-10 14:11:26 +00:00
parent 5e04ada196
commit 5558cca57f
4 changed files with 505 additions and 311 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,9 @@
static void BotSyntaxError(int errorcode);
static void StopBasicBot();
static void StartBasicBot();
static void debug(int n);
static void error(int n);
static int debug(int n);
static char * debugS(char * s);
static int error(int n);
static void FromGUI();
static void UpdateStatics();
void UpdateExternalButton();

Binary file not shown.

View File

@ -6,7 +6,17 @@
#define GUI_BOT_VALUES 2
#define IDI_ICON1 101
#define IDI_ICON2 102
#define GUI_BOT_A_1 1000
#define GUI_BOT_B_1 1001
#define GUI_BOT_SELECT_1 1002
#define GUI_BOT_START_1 1003
#define GUI_BOT_UP_1 1004
#define GUI_BOT_DOWN_1 1005
#define GUI_BOT_LEFT_1 1006
#define GUI_BOT_RIGHT_1 1007
#define GUI_BOT_A_2 1008
#define GUI_BOT_END 1009
#define GUI_BOT_INVALID 1009
#define GUI_BOT_X 1010
#define GUI_BOT_TIE1 1011
#define GUI_BOT_TIE2 1012
@ -15,6 +25,7 @@
#define GUI_BOT_LOAD 1015
#define GUI_BOT_RUN 1016
#define GUI_BOT_MAX 1017
#define GUI_BOT_SCORE 1017
#define GUI_BOT_Y 1018
#define GUI_BOT_KEYS 1019
#define GUI_BOT_EXTRA 1020
@ -28,10 +39,25 @@
#define GUI_BOT_Q 1027
#define GUI_BOT_TEST 1028
#define GUI_BOT_RESET 1029
#define GUI_BOT_ROLLBACK 1030
#define GUI_BOT_MAXFRAMES 1031
#define GUI_BOT_MAXATTEMPTS 1032
#define GUI_BOT_MAXPARTS 1033
#define GUI_BOT_B_2 1034
#define GUI_BOT_P1 1035
#define GUI_BOT_INTERNAL 1035
#define GUI_BOT_CLEAR 1036
#define GUI_BOT_ATTEMPTS 1037
#define GUI_BOT_SELECT_2 1038
#define GUI_BOT_START_2 1039
#define GUI_BOT_P2 1040
#define GUI_BOT_EXTERNAL 1040
#define GUI_BOT_UP_2 1041
#define GUI_BOT_DOWN_2 1042
#define GUI_BOT_LEFT_2 1043
#define GUI_BOT_RIGHT_2 1044
#define GUI_BOT_TIE4 1045
#define GUI_BOT_TIE5 1046
#define GUI_BOT_FRAMES 1049
#define GUI_BOT_BESTRESULT 1050
#define GUI_BOT_LAST 1051
@ -40,6 +66,27 @@
#define GUI_BOT_AVGTIE1 1054
#define GUI_BOT_AVGTIE2 1056
#define GUI_BOT_AVGTIE3 1057
#define GUI_BOT_OK 1061
#define GUI_BOT_ATTEMPT_LAST 1062
#define GUI_BOT_ATTEMPT_BEST 1063
#define GUI_BOT_SCORE_LAST 1064
#define GUI_BOT_SCORE_BEST 1065
#define GUI_BOT_TIE1_LAST 1066
#define GUI_BOT_TIE1_BEST 1067
#define GUI_BOT_TIE2_BEST 1068
#define GUI_BOT_TIE3_BEST 1069
#define GUI_BOT_TIE4_BEST 1070
#define GUI_BOT_TIE5_BEST 1071
#define GUI_BOT_TIE2_LAST 1072
#define GUI_BOT_TIE3_LAST 1073
#define GUI_BOT_TIE4_LAST 1074
#define GUI_BOT_TIE5_LAST 1075
#define GUI_BOT_ATTEMPT_LAST2 1076
#define GUI_BOT_ATTEMPT_LAST3 1077
#define GUI_BOT_FRAMES_LAST 1078
#define GUI_BOT_FRAMES_BEST 1079
#define GUI_BOT_OKS 1080
#define GUI_BOT_INVALIDS 1082
#define ID_DEBUG_DEBUGGER 40053
#define ID_DEBUG_PPUVIEWER 40054
#define ID_DEBUG_NAMETABLEVIEWER 40055
@ -56,7 +103,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40013
#define _APS_NEXT_CONTROL_VALUE 1059
#define _APS_NEXT_CONTROL_VALUE 1077
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif