comparison test/testalpha.c @ 2710:44e49d3fa6cf

Final merge of Google Summer of Code 2008 work... Many-mouse and tablet support by Szymon Wilczek, mentored by Ryan C. Gordon Everything concerning the project is noted on the wiki: http://wilku.ravenlord.ws/doku.php?id=start
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Aug 2008 06:33:00 +0000
parents c785543d1843
children c81150fedf6f
comparison
equal deleted inserted replaced
2709:fd3f0f1147e7 2710:44e49d3fa6cf
271 without being overwritten by the saved area behind the sprite. 271 without being overwritten by the saved area behind the sprite.
272 */ 272 */
273 if (light != NULL) { 273 if (light != NULL) {
274 int x, y; 274 int x, y;
275 275
276 SDL_GetMouseState(&x, &y); 276 SDL_GetMouseState(0, &x, &y);
277 FlashLight(screen, light, x, y); 277 FlashLight(screen, light, x, y);
278 } 278 }
279 279
280 /* Move the sprite, bounce at the wall */ 280 /* Move the sprite, bounce at the wall */
281 position.x += x_vel; 281 position.x += x_vel;