Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 237853 Details for
Bug 326961
new ebuild for games-fps/wolf4sdl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
window mouse patch
windowmouse.patch (text/plain), 1.78 KB, created by
Jared B.
on 2010-07-07 09:34:40 UTC
(
hide
)
Description:
window mouse patch
Filename:
MIME Type:
Creator:
Jared B.
Created:
2010-07-07 09:34:40 UTC
Size:
1.78 KB
patch
obsolete
>--- id_in.cpp.orig 2010-07-03 12:17:12.748542668 -0500 >+++ id_in.cpp 2010-07-03 12:17:12.748542668 -0500 >@@ -33,6 +33,7 @@ > // configuration variables > // > boolean MousePresent; >+boolean windowmouse; > > > // Global variables >@@ -388,7 +389,7 @@ > > SDL_EventState(SDL_MOUSEMOTION, SDL_IGNORE); > >- if(fullscreen) >+ if(fullscreen || windowmouse) > { > GrabInput = true; > SDL_WM_GrabInput(SDL_GRAB_ON); >--- id_in.h.orig 2010-07-03 12:17:29.066570615 -0500 >+++ id_in.h 2010-07-03 12:17:29.066570615 -0500 >@@ -142,6 +142,7 @@ > extern volatile char LastASCII; > extern volatile ScanCode LastScan; > extern int JoyNumButtons; >+extern boolean windowmouse; > > > // Function prototypes >--- wl_main.cpp.orig 2010-07-03 12:18:05.223561701 -0500 >+++ wl_main.cpp 2010-07-03 12:18:05.223561701 -0500 >@@ -1699,6 +1699,11 @@ > } > else IFARG("--windowed") > fullscreen = false; >+ else IFARG("--windowed-mouse") >+ { >+ fullscreen = false; >+ windowmouse = true; >+ } > else IFARG("--res") > { > if(i + 2 >= argc) >@@ -1828,7 +1833,7 @@ > " --normal Sets the difficulty to normal for tedlevel\n" > " --hard Sets the difficulty to hard for tedlevel\n" > " --nowait Skips intro screens\n" >- " --windowed Starts the game in a window\n" >+ " --windowed[-mouse] Starts the game in a window [and grabs mouse]\n" > " --res <width> <height> Sets the screen resolution\n" > " (must be multiple of 320x200 or 320x240)\n" > " --resf <w> <h> Sets any screen resolution >= 320x200\n"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 326961
:
237553
|
237555
|
237557
|
237559
|
237561
|
237565
|
237819
|
237821
|
237823
|
237825
|
237833
|
237849
|
237851
| 237853 |
237855
|
237857
|
237859
|
241169
|
288299