diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/win32/makefile | 23 | ||||
-rw-r--r-- | uisimulator/win32/stdbool.h | 19 | ||||
-rw-r--r-- | uisimulator/win32/string-win32.c | 25 | ||||
-rw-r--r-- | uisimulator/win32/uisw32.suo | bin | 12800 -> 12800 bytes |
4 files changed, 59 insertions, 8 deletions
diff --git a/uisimulator/win32/makefile b/uisimulator/win32/makefile index 0e93dcd855..11f16b3006 100644 --- a/uisimulator/win32/makefile +++ b/uisimulator/win32/makefile | |||
@@ -27,11 +27,11 @@ APPDIR = ../../apps/ | |||
27 | RECDIR = $(APPDIR)recorder/ | 27 | RECDIR = $(APPDIR)recorder/ |
28 | RM = del | 28 | RM = del |
29 | 29 | ||
30 | DISPLAY = -DHAVE_LCD_CHARCELLS | 30 | #DISPLAY = -DHAVE_LCD_CHARCELLS |
31 | #DISPLAY = -DHAVE_LCD_BITMAP | 31 | DISPLAY = -DHAVE_LCD_BITMAP |
32 | 32 | ||
33 | KEYPAD = -DHAVE_PLAYER_KEYPAD | 33 | #KEYPAD = -DHAVE_PLAYER_KEYPAD |
34 | #KEYPAD = -DHAVE_RECORDER_KEYPAD | 34 | KEYPAD = -DHAVE_RECORDER_KEYPAD |
35 | 35 | ||
36 | CC = cl | 36 | CC = cl |
37 | DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ | 37 | DEFINES = -DWIN32 -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ |
@@ -46,10 +46,10 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) /MD /Fd"Release/vc70.pdb" | |||
46 | SRCS = lcd-win32.c uisw32.c lcd.c button.c tree.c main.c \ | 46 | SRCS = lcd-win32.c uisw32.c lcd.c button.c tree.c main.c \ |
47 | chartables.c kernel.c uisw32.res dir-win32.c main_menu.c \ | 47 | chartables.c kernel.c uisw32.res dir-win32.c main_menu.c \ |
48 | play.c debug-win32.c menu.c credits.c sound_menu.c mpeg.c \ | 48 | play.c debug-win32.c menu.c credits.c sound_menu.c mpeg.c \ |
49 | id3.c settings.c sprintf.c thread-win32.c playlist.c | 49 | id3.c settings.c sprintf.c thread-win32.c playlist.c string-win32.c |
50 | 50 | ||
51 | !IF ("$(DISPLAY)" == "-DHAVE_LCD_BITMAP") | 51 | !IF ("$(DISPLAY)" == "-DHAVE_LCD_BITMAP") |
52 | SRCS = $(SRCS) tetris.c screensaver.c icons.c bmp.c | 52 | SRCS = $(SRCS) tetris.c boxes.c bounce.c sokoban.c icons.c bmp.c |
53 | !ENDIF | 53 | !ENDIF |
54 | 54 | ||
55 | OBJS = $(SRCS:.c=.obj) | 55 | OBJS = $(SRCS:.c=.obj) |
@@ -81,8 +81,14 @@ play.obj: ../../apps/play.c | |||
81 | bmp.obj: ../../apps/recorder/bmp.c | 81 | bmp.obj: ../../apps/recorder/bmp.c |
82 | $(CC) $(CFLAGS) -c ../../apps/recorder/bmp.c -obmp.obj | 82 | $(CC) $(CFLAGS) -c ../../apps/recorder/bmp.c -obmp.obj |
83 | 83 | ||
84 | screensaver.obj: ../../apps/recorder/screensaver.c | 84 | bounce.obj: ../../apps/recorder/bounce.c |
85 | $(CC) $(CFLAGS) -c ../../apps/recorder/screensaver.c -oscreensaver.obj | 85 | $(CC) $(CFLAGS) -c ../../apps/recorder/bounce.c -obounce.obj |
86 | |||
87 | sokoban.obj: ../../apps/recorder/sokoban.c | ||
88 | $(CC) $(CFLAGS) -c ../../apps/recorder/sokoban.c -osokoban.obj | ||
89 | |||
90 | boxes.obj: ../../apps/recorder/boxes.c | ||
91 | $(CC) $(CFLAGS) -c ../../apps/recorder/boxes.c -oboxes.obj | ||
86 | 92 | ||
87 | menu.obj: ../../apps/menu.c | 93 | menu.obj: ../../apps/menu.c |
88 | $(CC) $(CFLAGS) -c ../../apps/menu.c -omenu.obj | 94 | $(CC) $(CFLAGS) -c ../../apps/menu.c -omenu.obj |
@@ -110,3 +116,4 @@ playlist.obj: ../../apps/playlist.c | |||
110 | 116 | ||
111 | clean: | 117 | clean: |
112 | $(RM) *.obj | 118 | $(RM) *.obj |
119 | |||
diff --git a/uisimulator/win32/stdbool.h b/uisimulator/win32/stdbool.h index a33fc40633..f081b4e4d0 100644 --- a/uisimulator/win32/stdbool.h +++ b/uisimulator/win32/stdbool.h | |||
@@ -1,3 +1,22 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Felix Arends | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
1 | typedef unsigned int bool; | 20 | typedef unsigned int bool; |
2 | #define true 1 | 21 | #define true 1 |
3 | #define false 0 \ No newline at end of file | 22 | #define false 0 \ No newline at end of file |
diff --git a/uisimulator/win32/string-win32.c b/uisimulator/win32/string-win32.c new file mode 100644 index 0000000000..4c24e939cd --- /dev/null +++ b/uisimulator/win32/string-win32.c | |||
@@ -0,0 +1,25 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Felix Arends | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #include <string.h> | ||
21 | |||
22 | int strcasecmp (const char *a, const char *b) | ||
23 | { | ||
24 | return strcmpi (a, b); | ||
25 | } \ No newline at end of file | ||
diff --git a/uisimulator/win32/uisw32.suo b/uisimulator/win32/uisw32.suo index 569c42b853..1193c8e916 100644 --- a/uisimulator/win32/uisw32.suo +++ b/uisimulator/win32/uisw32.suo | |||
Binary files differ | |||