Revision 0a4a98e8
Added by danij over 17 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- build
- engine
- api
- portable
- include
- con_start.h
- de_console.h (diff)
- gl_main.h (diff)
- rend_console.h (diff)
- ui_main.h (diff)
- src
- con_busy.c (diff)
- con_main.c (diff)
- con_start.c
- dd_input.c (diff)
- dd_loop.c (diff)
- dd_main.c (diff)
- edit_bias.c (diff)
- gl_draw.c (diff)
- gl_font.c (diff)
- gl_main.c (diff)
- m_misc.c (diff)
- net_main.c (diff)
- p_control.c (diff)
- r_lgrid.c (diff)
- r_main.c (diff)
- rend_console.c (diff)
- rend_main.c (diff)
- rend_model.c (diff)
- s_main.c (diff)
- sys_system.c (diff)
- ui_main.c (diff)
- ui_panel.c (diff)
- include
- unix
- win32
- plugins
Completed removal of the old start up window.
Implemented a wrapper for window management. Currently, only the required system window code has been implemented for win32, on Unix and Mac OSX we should either use a library or implement code which uses X11 directly.
Fixed issues with crosshairs not centered to the view window correctly.
Renamed DD_SCREEN* constants to DD_WINDOW* to avoid confusion with the current video mode.
When changing videomode's in DG_CreateContext() do NOT automatically change the window size/style under win32.
Removed the titlebar drawn in the control panel.
Fixed mouse cursor scaling in the UI to be independent of window aspect ratio and to scale relatively to window dimensions.
Fixed scaling issues in the UI due to inconsistencies in coordinate space usage (some places used 800x600 others 1000x1000). Replaced functions for converting relative to screen space coordinates with versions using equations which better avoid 32bit integer overflow (issues experienced in super hi resolutions).
Parametrized numerous drawing routines to allow them to be reused and to minimize calls to the window management wrappers to determine window properties.
Slight changes to busy mode so that it can be used when we don't have a window to draw in.
Todo: Continue factoring host system window management out of DG_CreateContext() and into our wrapped window code. There is an issue with switching between windowed and fullscreen under win32 with the window position being set back to [0,0]. There seems to be a scaling issue in the control panel/UI; not all objects are scaling relatively (list box scrollbar, button borders and more).