Ticket #9060: 20090801-trunk.patch
File 20090801-trunk.patch, 4.5 KB (added by , 15 years ago) |
---|
-
configure
1333 1333 type_2_byte='short' 1334 1334 type_4_byte='int' 1335 1335 add_line_to_config_mk 'USE_TREMOLO = 1' 1336 add_line_to_config_mk 'USE_MAD = 1'1337 add_line_to_config_mk 'USE_MPEG2 = 1'1338 add_line_to_config_mk 'USE_FLAC = 1'1339 add_line_to_config_mk 'USE_ZLIB = 1'1340 1336 add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1' 1341 1337 add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1' 1342 1338 add_line_to_config_mk 'USE_ARM_GFX_ASM = 1' … … 2053 2049 LIBS="$LIBS -lobjc -framework UIKit -framework CoreGraphics -framework OpenGLES -framework QuartzCore -framework GraphicsServices -framework CoreFoundation -framework Foundation -framework AudioToolbox -framework CoreAudio" 2054 2050 ;; 2055 2051 wince) 2056 INCLUDES="$INCLUDES "'-I$(srcdir) -I$(srcdir)/backends/platform/wince -I$(srcdir)/engines -I$(srcdir)/backends/platform/wince/missing/gcc -I$(srcdir)/backends/platform/wince/libs/include -I$(srcdir)/backends/platform/wince/libs/include/sdl -I$(srcdir)/backends/platform/wince/CEgui -I$(srcdir)/backends/platform/wince/CEkeys' 2057 LDFLAGS="$LDFLAGS "'-L$(srcdir)/backends/platform/wince/libs/lib' 2052 INCLUDES="$INCLUDES "'-I$(srcdir) -I$(srcdir)/backends/platform/wince -I$(srcdir)/engines -I$(srcdir)/backends/platform/wince/missing/gcc -I$(srcdir)/backends/platform/wince/CEgui -I$(srcdir)/backends/platform/wince/CEkeys' 2058 2053 LIBS="$LIBS -static -lSDL" 2059 2054 ;; 2060 2055 dc) -
backends/platform/wince/module.mk
1 MODULE := backends/platform/wince 2 3 MODULE_OBJS := \ 4 CEActionsPocket.o CEDevice.o CEScaler.o \ 5 CEActionsSmartphone.o CELauncherDialog.o wince-sdl.o \ 6 CEgui/GUIElement.o CEgui/Panel.o CEgui/SDL_ImageResource.o \ 7 CEgui/ItemAction.o CEgui/PanelItem.o CEgui/Toolbar.o \ 8 CEgui/ItemSwitch.o CEgui/PanelKeyboard.o CEgui/ToolbarHandler.o \ 9 CEkeys/EventsBuffer.o \ 10 ../../../gui/Actions.o ../../../gui/Key.o ../../../gui/KeysDialog.o \ 11 ../sdl/sdl.o ../sdl/graphics.o ../sdl/events.o ../sdl/hardwarekeys.o \ 12 missing/missing.o \ 13 PocketSCUMM.o \ 14 ARMscaler.o \ 15 smartLandScale.o 16 17 MODULE_DIRS += \ 18 backends/platform/wince/ 19 20 # We don't use the rules.mk here on purpose 21 OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS)) $(OBJS) -
backends/platform/wince/CEgui/SDL_ImageResource.cpp
60 60 _surface = SDL_LoadBMP_RW(surfaceData, 1); 61 61 62 62 return _surface; 63 } ;63 } 64 64 65 65 SDL_Surface* SDL_ImageResource::get() { 66 66 return _surface; -
backends/platform/wince/missing/missing.cpp
135 135 #endif 136 136 EXT_C void GetCurrentDirectory(int len, char *buf) { 137 137 getcwd(buf,len); 138 } ;138 } 139 139 140 140 141 /* 141 142 Windows CE fopen has non-standard behavior -- not 142 143 fully qualified paths refer to root folder rather -
backends/platform/wince/wince.mk
1 all: PocketSCUMM.o 2 3 PocketSCUMM.o: $(srcdir)/backends/platform/wince/PocketSCUMM.rc 4 mkdir -p backends/platform/wince 5 $(WINDRES) -I$(srcdir)/backends/platform/wince $(srcdir)/backends/platform/wince/PocketSCUMM.rc backends/platform/wince/PocketSCUMM.o -
ports.mk
205 205 $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip wiidist/scummvm/ 206 206 207 207 .PHONY: deb bundle osxsnap win32dist wiidist install uninstall 208 209 # 210 # ARM specific 211 # 212 ifdef USE_TREMOLO 213 DEFINES += -DUSE_TREMOR -DUSE_VORBIS -DUSE_TREMOLO 214 LIBS += -ltremolo 215 endif 216 217 ifdef USE_ARM_SMUSH_ASM 218 DEFINES += -DUSE_ARM_SMUSH_ASM 219 endif 220 221 ifdef USE_ARM_SOUND_ASM 222 DEFINES += -DUSE_ARM_SOUND_ASM 223 endif 224 225 ifdef USE_ARM_GFX_ASM 226 DEFINES += -DUSE_ARM_GFX_ASM 227 endif 228 229 ifdef USE_ARM_COSTUME_ASM 230 DEFINES += -DUSE_ARM_COSTUME_ASM 231 endif 232 233 ifdef USE_ARM_SCALER_ASM 234 DEFINES += -DUSE_ARM_SCALER_ASM 235 endif