Glenn Maynard
50b0f360f4
CreateGraphicsWindow is done by ConfigureGraphicsWindow
2006-01-15 00:59:32 +00:00
Steve Checkoway
d2f8a2efdf
Update.
2006-01-15 00:59:22 +00:00
Steve Checkoway
1a00f1f4d7
Remove SDL completely.
2006-01-15 00:58:54 +00:00
Glenn Maynard
76dca9fb6f
add bForceRecreateWindow
2006-01-15 00:55:27 +00:00
Glenn Maynard
989fe982b7
call CreateGraphicsWindow when needed
2006-01-15 00:51:45 +00:00
Glenn Maynard
58a5e76ccd
don't expose
2006-01-15 00:44:37 +00:00
Glenn Maynard
d52b52386b
remove RecreateGraphicsWindow
2006-01-15 00:39:20 +00:00
Glenn Maynard
7c2f1fc48b
RecreateGraphicsWindow -> CreateGraphicsWindow
2006-01-15 00:38:43 +00:00
Glenn Maynard
72036009b3
merge CreateGraphicsWindow and RecreateGraphicsWindow
2006-01-15 00:37:03 +00:00
Glenn Maynard
5e2a79e1d3
nudge CreateGraphicsWindow and RecreateGraphicsWindow together
2006-01-15 00:34:21 +00:00
Glenn Maynard
60e0bccef0
nudge CreateGraphicsWindow and RecreateGraphicsWindow together
2006-01-15 00:29:34 +00:00
Glenn Maynard
c78cbd62f4
Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going
...
windowed to windowed, too. (This g_CurrentParams use is confusing;
trying to reduce it ...)
2006-01-15 00:14:25 +00:00
Glenn Maynard
1fdb63a26d
clarify
2006-01-15 00:12:52 +00:00
Glenn Maynard
4a09761d19
fix crash
2006-01-15 00:05:22 +00:00
Glenn Maynard
2c6e28f46d
fix stack imbalances
2006-01-15 00:04:51 +00:00
Steve Checkoway
e21934cbdf
Cleanup.
2006-01-15 00:00:49 +00:00
Steve Checkoway
ec5ed59eb3
Fix warnings.
2006-01-14 23:51:27 +00:00
Glenn Maynard
a1592e71e7
VideoModeParams has a bunch of settings. It's confusing to
...
pass the whole thing around, since it's not clear what data
is actually used. For simple functions, just pass the needed
data.
2006-01-14 23:44:31 +00:00
Steve Checkoway
3b45f4347d
Remove hack.
2006-01-14 23:44:21 +00:00
Steve Checkoway
3673740438
Cleanup.
2006-01-14 23:39:04 +00:00
Steve Checkoway
a0ed014d57
Remove hack for SDL.
2006-01-14 23:24:30 +00:00
Glenn Maynard
ebb91dc6e1
cleanup
2006-01-14 23:22:34 +00:00
Steve Checkoway
08173c6510
Handle swap interval in LLW_Cocoa itself.
2006-01-14 23:22:18 +00:00
Steve Checkoway
ca85424ec5
Fix memory leak, set OGL parameters.
2006-01-14 22:56:23 +00:00
Glenn Maynard
8bdd24cb8a
blank Exit title in metrics, not with a special case
2006-01-14 19:01:23 +00:00
Glenn Maynard
8eff6bb0c2
clarify
2006-01-14 18:52:54 +00:00
Glenn Maynard
7530be4e23
make these conditionals look the same
2006-01-14 18:52:00 +00:00
Glenn Maynard
897c74a40e
Remove unused "ShowMore", "HideMore".
2006-01-14 18:14:46 +00:00
Glenn Maynard
b50e09f5d6
simplify
2006-01-14 18:11:12 +00:00
Glenn Maynard
445d92410c
simplify
2006-01-14 18:10:41 +00:00
Glenn Maynard
029f9343f6
revert
2006-01-14 18:02:54 +00:00
Jason Felds
fb8dfc6309
Use proper relative paths to include the headers.
2006-01-14 17:59:19 +00:00
Steve Checkoway
bb2a53fd6a
Fix double toggling of full screen and fix potential issue if 'q' was bound to do something and the user was really trying to quit without doing whatever that was. Both of these were OS X specific issues due to the fact that Quit and Enter Full Screen are two menu options and handled as such.
2006-01-14 11:04:05 +00:00
Steve Checkoway
07168018d1
Closing the window quits the program. Fix focus issues.
2006-01-14 10:40:09 +00:00
Steve Checkoway
713ecb81ce
Full screen works. Mouse hiding works. A few GUI issues remain. For example, closing the window does nothing more than close the window.
2006-01-14 10:08:42 +00:00
Glenn Maynard
9eb0fcb944
style
2006-01-14 09:15:09 +00:00
Glenn Maynard
0f33586397
We always handle the case where m_Underline[pn] is empty, since SHOW_UNDERLINES may be false. So, don't add the underline, hide it and then special case not un-hiding it; just don't add it.
2006-01-14 09:12:55 +00:00
Glenn Maynard
afaf56c160
cleanup
2006-01-14 09:09:49 +00:00
Glenn Maynard
3beae6e2bc
simplify
2006-01-14 08:56:22 +00:00
Glenn Maynard
2d00aaf5d5
update comment
2006-01-14 08:55:27 +00:00
Glenn Maynard
b4691c560f
simplify: "more" makes as much sense when the last entry isn't "exit"
2006-01-14 08:03:46 +00:00
Glenn Maynard
04ec901671
style
2006-01-14 08:01:34 +00:00
Glenn Maynard
201c4f42a8
generalize special case
2006-01-14 08:00:09 +00:00
Glenn Maynard
d5a47f9af1
unneeded special case
2006-01-14 07:56:04 +00:00
Glenn Maynard
8374d2193b
unneeded special case (m_OptionIcons[p] == NULL case below handles this too)
2006-01-14 07:53:39 +00:00
Glenn Maynard
f4a634034c
lua stack check
2006-01-14 06:53:09 +00:00
Glenn Maynard
d8ae5df6ef
fix leak
2006-01-14 06:46:15 +00:00
Glenn Maynard
87b25c0752
fix crash
2006-01-14 06:02:59 +00:00
Steve Checkoway
7aa6310339
Make this usable. Some issues still exist. E.g., full screen does not work yet.
2006-01-14 05:49:26 +00:00
Glenn Maynard
3a63f5b7ef
as well as during load, set LoadingScreen during BeginScreen.
...
Scripts can already use GetTopScreen to get this. However, that function
also returns data that may not be what's wanted. For example, commands
can be run on screens that aren't on top (eg. via broadcasts). So, using
GetTopScreen as a fallback for LoadingScreen may cause latent bugs;
screens should behave properly even when they're not on top, even if
they're using queued broadcasts to kick off animations, etc.
2006-01-14 05:32:54 +00:00