[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince.cpp,1.5,1.6 wince.h,1.2,1.3
Max Horn
fingolfin at users.sourceforge.net
Thu May 29 14:46:16 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv4964/backends/wince
Modified Files:
wince.cpp wince.h
Log Message:
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
Index: wince.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- wince.cpp 11 May 2003 14:05:00 -0000 1.5
+++ wince.cpp 29 May 2003 21:45:23 -0000 1.6
@@ -71,7 +71,7 @@
/*
// Dynamically linked SDLAudio
-typedef void (*tSDL_AudioQuit)(void);
+typedef void (*tSDL_AudioQuit)();
typedef int (*tSDL_Init)(Uint32);
typedef void (*tSDL_PauseAudio)(int);
typedef int (*tSDL_OpenAudio)(SDL_AudioSpec*, SDL_AudioSpec*);
@@ -439,7 +439,7 @@
extern void startFindGame();
extern void displayGameInfo();
-extern bool loadGameSettings(void);
+extern bool loadGameSettings();
extern void setFindGameDlgHandle(HWND);
extern void getSelectedGame(int, char*, TCHAR*, char*);
extern void runGame(char*);
@@ -448,7 +448,7 @@
extern void own_soundProc(void *buffer, byte *samples, int len);
-extern int chooseGame(void);
+extern int chooseGame();
//#define SHMenuBar_GetMenu(hWndMB,ID_MENU) (HMENU)SendMessage((hWndMB), SHCMBM_GETSUBMENU, (WPARAM)0, (LPARAM)ID_MENU)
@@ -1623,12 +1623,11 @@
Sleep(msecs);
}
-void *OSystem_WINCE3::create_thread(ThreadProc *proc, void *param) {
+void OSystem_WINCE3::create_thread(ThreadProc *proc, void *param) {
// needed for emulated MIDI support (Sam'n'Max)
HANDLE handle;
handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)proc, param, 0, NULL);
SetThreadPriority(handle, THREAD_PRIORITY_NORMAL);
- return handle;
}
int mapKey(int key, byte mod)
Index: wince.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- wince.h 5 May 2003 07:23:45 -0000 1.2
+++ wince.h 29 May 2003 21:45:23 -0000 1.3
@@ -109,7 +109,7 @@
void delay_msecs(uint msecs);
// Create a thread
- void *create_thread(ThreadProc *proc, void *param);
+ void create_thread(ThreadProc *proc, void *param);
// Get the next event.
// Returns true if an event was retrieved.
More information about the Scummvm-git-logs
mailing list