View Issue Details

IDProjectCategoryView StatusLast Update
0000361FSSCPOpenGLpublic2005-05-01 22:17
ReporterHippo Assigned Tophreak  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformp4 3.2Mhz 1024 physical ramOSXP HomeOS VersionSP1
Summary0000361: Windowed mode bug and slight request
DescriptionBug 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 InformationC:\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
TagsNo tags attached.

Activities

2005-04-10 15:29

 

window.JPG (238,120 bytes)   
window.JPG (238,120 bytes)   

StratComm

2005-04-12 00:47

reporter   ~0002119

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.

phreak

2005-04-14 15:17

developer   ~0002138

i'll take a look at these

WMCoolmon

2005-04-23 04:40

developer   ~0002199

Windowed mode (IIRC) is intentionally disabled in either movie_play or one of its subfunctions, but seems to work fine under Windows.

taylor

2005-04-23 07:20

administrator   ~0002207

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.

phreak

2005-04-24 02:13

developer   ~0002233

window now centers on the desktop.

WMCoolmon

2005-04-24 05:47

developer   ~0002234

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.

Goober5000

2005-04-24 08:06

administrator   ~0002236

"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.

phreak

2005-04-24 11:22

developer   ~0002237

really? its working for me.

taylor

2005-04-24 11:33

administrator   ~0002238

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.

EVO_Steven

2005-05-01 05:11

reporter   ~0002295

Is it possible to have the window sizable?

phreak

2005-05-01 15:12

developer   ~0002296

Last edited: 2005-05-01 15:12

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

phreak

2005-05-01 22:15

developer   ~0002303

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.

Issue History

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