Mercurial > sdl-ios-xcode
comparison src/video/riscos/SDL_riscosevents.c @ 955:d74fbf56f2f6
Date: Fri, 25 Jun 2004 13:29:15 +0100
From: "alan buckley"
Subject: Modification for RISC OS version of SDL
Ive attached a zip file with the changes to this email, it contains the
following:
The file sdldiff.txt is the output from cvs diff u. .
The directory thread/riscos contains all the new files to support threading.
Readme.riscos is a new readme file to add.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Sep 2004 13:20:10 +0000 |
parents | b8d311d90021 |
children | 974ba6ae0fa3 |
comparison
equal
deleted
inserted
replaced
954:3acd16ea0180 | 955:d74fbf56f2f6 |
---|---|
74 void RISCOS_PollMouse(_THIS); | 74 void RISCOS_PollMouse(_THIS); |
75 void RISCOS_PollKeyboard(); | 75 void RISCOS_PollKeyboard(); |
76 | 76 |
77 void RISCOS_PollMouseHelper(_THIS, int fullscreen); | 77 void RISCOS_PollMouseHelper(_THIS, int fullscreen); |
78 | 78 |
79 #ifdef DISABLE_THREADS | |
79 extern void DRenderer_FillBuffers(); | 80 extern void DRenderer_FillBuffers(); |
80 | 81 |
81 /* Timer running function */ | 82 /* Timer running function */ |
82 extern void RISCOS_CheckTimer(); | 83 extern void RISCOS_CheckTimer(); |
84 | |
85 #endif | |
83 | 86 |
84 void FULLSCREEN_PumpEvents(_THIS) | 87 void FULLSCREEN_PumpEvents(_THIS) |
85 { | 88 { |
86 /* Current implementation requires keyboard and mouse polling */ | 89 /* Current implementation requires keyboard and mouse polling */ |
87 RISCOS_PollKeyboard(); | 90 RISCOS_PollKeyboard(); |
88 RISCOS_PollMouse(this); | 91 RISCOS_PollMouse(this); |
92 #ifdef DISABLE_THREADS | |
89 DRenderer_FillBuffers(); | 93 DRenderer_FillBuffers(); |
90 if (SDL_timer_running) RISCOS_CheckTimer(); | 94 if (SDL_timer_running) RISCOS_CheckTimer(); |
95 #endif | |
91 } | 96 } |
92 | 97 |
93 | 98 |
94 void RISCOS_InitOSKeymap(_THIS) | 99 void RISCOS_InitOSKeymap(_THIS) |
95 { | 100 { |
536 } | 541 } |
537 return(keysym); | 542 return(keysym); |
538 } | 543 } |
539 | 544 |
540 /* end of SDL_riscosevents.c ... */ | 545 /* end of SDL_riscosevents.c ... */ |
546 |