#69 closed defect
patch for backward-compatbiliity with sdl 1.0.x
| Reported by: | SF/grigorig | Owned by: | SF/ender |
|---|---|---|---|
| Priority: | normal | Component: | Ports |
| Version: | Keywords: | ||
| Cc: | Game: |
Description
this small patch against sdl.cpp should give backwards compatibility for sdl 1.0.x
----------schnipp---------------------------- 139c139 < if (event.button.button==SDL_BUTTON(1)) --- > if (event.button.button==SDL_BUTTON_LEFT) 141c141 < else if (event.button.button==SDL_BUTTON(3)) --- > else if (event.button.button==SDL_BUTTON_RIGHT) 145c145 < if (event.button.button==SDL_BUTTON(1)) --- > if (event.button.button==SDL_BUTTON_LEFT) 147c147 < else if (event.button.button==SDL_BUTTON(3)) --- > else if (event.button.button==SDL_BUTTON_RIGHT) 509c509 < SDL_ShowCursor(0); --- > SDL_ShowCursor(SDL_DISABLE); --------------------schnapp------------------
works nicely for me under freebsd 4.5
Ticket imported from: #514390. Ticket imported from: bugs/69.
Change History (7)
comment:1 by , 24 years ago
| Summary: | problems with libsdl 1.2.3 → patch for backward-compatbiliity with sdl 1.0.x |
|---|
comment:2 by , 24 years ago
comment:3 by , 24 years ago
| Owner: | set to |
|---|
comment:4 by , 24 years ago
very simple reason :)
i didn't have sdl 1.2.x installed and didn't want to upgrade :)
scummvm works ok so far. I successfully played through monkey island2 (german).
comment:5 by , 24 years ago
| Status: | new → closed |
|---|
comment:6 by , 24 years ago
Patch not applied on advice of #sdl. Thanks for submitting it anyway, grigorig :)
comment:7 by , 7 years ago
| Component: | → Ports |
|---|

Ick. Please attach a unified diff to the report - do not paste diffs!
Also why do you want this backwards compatability with such an old SDL version? There is a fair chance we'll use new SDL commands sometime soon, so I'm loath to apply something like this without good reason ;)