View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000361 | FSSCP | OpenGL | public | 2005-04-10 15:29 | 2005-05-01 22:17 |
| Reporter | Hippo | Assigned To | phreak | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | p4 3.2Mhz 1024 physical ram | OS | XP Home | OS Version | SP1 |
| Summary | 0000361: Windowed mode bug and slight request | ||||
| Description | Bug first: AVI cutscenes will not play if th game is set to run in windowed mode (though it does run in full screen mode). Windowed mode is a nescessity for some people, as their graphics controllers cannot recover from a crash in full screen mode... Possibly make it run the AVI in full screen, and then go back to windowed? And the minor window mode request: Can the window be set to center itself on the screen? See attatched picture for an example of the problem... | ||||
| Additional Information | C:\TheSCP\fs2_open_C20050318.exe -spec -glow -pcx32 -jpgtga -d3dmipmap -nomotiondebris -2d_poof -cell -rlm -d3d_no_vsync -dualscanlines -ship_choice_3d -targetinfo -orbradar -ballistic_gauge -snd_preload -env -decals -fps -pos -window -stats -show_mem_usage -ALLSLEV -FOV 0.39 | ||||
| Tags | No tags attached. | ||||
|
2005-04-10 15:29
|
|
|
|
Yeah I have issues with the placement of windowed mode too. I run with the taskbar on the left instead of the bottom, and windowed mode brings the thing up behind it all the time. I used to be able to move it somewhat successfully, but have not been since the alt-tab bug was resolved. |
|
|
i'll take a look at these |
|
|
Windowed mode (IIRC) is intentionally disabled in either movie_play or one of its subfunctions, but seems to work fine under Windows. |
|
|
Yeah windowed mode is disabled in movie_play(). It does work if it's not disabled but I've experienced some strange window/image overlaps with some movies playing that way. |
|
|
window now centers on the desktop. |
|
|
I've updated CVS so movie playback is allowed in windowed mode. Note that if this crashes FS2, you can use -dnoshowvid to disable movies. |
|
|
"window now centers on the desktop." Um, you might want to take another look at this, Phreak. The window may be centered, but the mouse movement is still constrained to the upper-left portion of the screen. |
|
|
really? its working for me. |
|
|
The mouse is constrained in D3D but not OGL when windowed so you have to check both. I'd like to have the mousegrab stuff from the Linux version working in windows but I don't know how to do something similar. With the current code though, in D3D, the cursor is constrained in the top-left quad. How much depends on window size of desktop res but it's definitely a problem. Oh and since I remember now, when movies play in a window the window can/will resize and never go back to it's original dimensions. This will leave you with the window being smaller/larger than the game and the graphics will get cut off or artifacts will show up. Just checked to make sure that's what happens and about a 1/4 inch of the display went away when the window resized too small. |
|
|
Is it possible to have the window sizable? |
|
|
no that would screw with anything graphics related. i think all we need for the d3d issue is to call GetWindowRect(&D3D_cursor_clip_rect) instead of setting each value for it separately. Why does d3d limit the cursor area anyways? edited on: 05-01-05 11:12 |
|
|
i just disabled the clipping issue for d3d windowed, since if the window was moved, the clip would be disabled. hopefully this doens't break anything. otherwise it fixed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2005-04-10 15:29 | Hippo | New Issue | |
| 2005-04-10 15:29 | Hippo | File Added: window.JPG | |
| 2005-04-12 00:47 | StratComm | Note Added: 0002119 | |
| 2005-04-14 15:17 | phreak | Note Added: 0002138 | |
| 2005-04-14 15:17 | phreak | Status | new => assigned |
| 2005-04-14 15:17 | phreak | Assigned To | => phreak |
| 2005-04-23 04:40 | WMCoolmon | Note Added: 0002199 | |
| 2005-04-23 07:20 | taylor | Note Added: 0002207 | |
| 2005-04-24 02:13 | phreak | Note Added: 0002233 | |
| 2005-04-24 05:47 | WMCoolmon | Note Added: 0002234 | |
| 2005-04-24 08:06 | Goober5000 | Note Added: 0002236 | |
| 2005-04-24 11:22 | phreak | Note Added: 0002237 | |
| 2005-04-24 11:33 | taylor | Note Added: 0002238 | |
| 2005-05-01 05:11 | EVO_Steven | Note Added: 0002295 | |
| 2005-05-01 15:12 | phreak | Note Added: 0002296 | |
| 2005-05-01 15:12 | phreak | Note Edited: 0002296 | |
| 2005-05-01 22:15 | phreak | Note Added: 0002303 | |
| 2005-05-01 22:17 | phreak | Status | assigned => resolved |
| 2005-05-01 22:17 | phreak | Resolution | open => fixed |