Commit graph

1306 commits

Author SHA1 Message Date
dfighter1985
938c36027d Editbox selection should be stopped when the mouse button goes up, even if it happens outside of the box.
--HG--
branch : develop
2014-09-26 23:29:38 +02:00
dfighter1985
006f87278b Refactored IWidgetAdditionWatcher, now it's called IWidgetWatcher and it also reports widget moves.
--HG--
branch : dfighter-tools
2014-09-24 23:32:24 +02:00
dfighter1985
a658be39b7 No need for free floating elements when we can simply reparent to the top window...
--HG--
branch : dfighter-tools
2014-09-24 22:59:40 +02:00
dfighter1985
e7ab56beea Orphaned widgets won't get stuck.
--HG--
branch : dfighter-tools
2014-09-24 20:40:37 +02:00
dfighter1985
bd7cb1eea3 Add widget to a new parent when the widget being dragged is dropped, otherwise add it to the orphanlist so that it's drawn anyways. NOTE: The dropped widget can be clipped. If it is clipped, it never shows up even tho it's there.
--HG--
branch : dfighter-tools
2014-09-24 18:45:52 +02:00
dfighter1985
f9dbef7df7 Set dragged widgets' coordinates based on the move rather than the mouse pointer's coords.
--HG--
branch : dfighter-tools
2014-09-24 16:31:26 +02:00
dfighter1985
62744db86d Dragged elements will no longer disappear.
--HG--
branch : dfighter-tools
2014-09-24 16:20:25 +02:00
kaetemi
6551881171 Handle GUI event only once
--HG--
branch : develop
2014-09-23 19:47:06 +02:00
dfighter1985
f61438d7d9 Studio should no longer crash when multiple plugins that use LIGO are loaded. LIGO classes are now guarded against multiple registrations. If it's tried log messages are generated. Mission Compiler and World Editor will now apply their own LIGO configs when the user switches to their tab.
--HG--
branch : dfighter-tools
2014-09-22 23:24:48 +02:00
dfighter1985
447aac5821 Merged develop
--HG--
branch : dfighter-tools
2014-09-19 20:10:00 +02:00
kaetemi
c1b8ea9bd0 Backed out incomplete changes to GL driver
--HG--
branch : develop
2014-09-18 11:31:19 +02:00
dfighter1985
7a4d9e2cdc Merged the gui-editor branch.
--HG--
branch : dfighter-tools
2014-09-17 21:12:14 +02:00
kaetemi
d12ccf194e Merge with develop
--HG--
branch : multipass-stereo
2014-09-12 15:19:12 +02:00
kaetemi
0d7c9fd4bf When in Rome, do as the Romans do 2014-09-11 10:36:41 +02:00
dfighter1985
46e3242557 Merged default.
--HG--
branch : dfighter-tools
2014-09-05 22:28:11 +02:00
dfighter1985
ff0df2bf50 Added support for manipulating atoms.
--HG--
branch : dfighter-tools
2014-09-05 20:28:43 +02:00
kervala
ff370bb49f Changed: Code formatting 2014-09-05 15:42:53 +02:00
dfighter1985
c51b519845 Implemented add and remove buttons.
--HG--
branch : dfighter-tools
2014-09-02 19:26:02 +02:00
dfighter1985
f1a6a8d9cd Apply changes.
--HG--
branch : dfighter-tools
2014-09-02 14:54:07 +02:00
kervala
bb324e80b4 Fixed: Use ...ARBPROC declarations for ARB_occlusion_query (to fix a conflict with official OpenGL headers under Mac OS X) 2014-08-27 11:19:20 +02:00
kaetemi
573fb44088 Link group_wheel.cpp, ref #176 2014-08-25 14:56:29 +02:00
kaetemi
da5558d50a Merge with default
--HG--
branch : multipass-stereo
2014-08-19 15:43:49 +02:00
dfighter1985
a810b29ec7 Merged default.
--HG--
branch : gsoc2014-dfighter
2014-08-19 00:33:03 +02:00
kaetemi
d4b7a3cf8a Crashfix in case pacs_prim are exported into .ig 2014-08-17 16:48:51 +02:00
kervala
31e9934ba7 Changed #172 XML floating point serialization not using neutral culture 2014-08-17 16:05:51 +02:00
kervala
41f6e70dc9 Fixed #172 XML floating point serialization not using neutral culture 2014-08-17 15:39:30 +02:00
kaetemi
38abf2193f Project client loading screens into 3D space for HMD
--HG--
branch : multipass-stereo
2014-08-07 18:49:05 +02:00
kaetemi
38a418503d Non-functional direct to rift
--HG--
branch : multipass-stereo
2014-08-07 05:09:11 +02:00
kaetemi
aff0cab54e GL: Fix switch from different resolution fullscreen to borderless display
--HG--
branch : multipass-stereo
2014-08-07 04:45:14 +02:00
kaetemi
e2bfb5d542 Clean handling of display mode switching in client
--HG--
branch : multipass-stereo
2014-08-07 04:36:51 +02:00
kaetemi
400f479fe1 GL: Handle borderless fullscreen to specified monitor internally
--HG--
branch : multipass-stereo
2014-08-07 04:18:17 +02:00
kaetemi
7c39f7d33b Specify monitor when changing display mode
--HG--
branch : multipass-stereo
2014-08-07 01:04:58 +02:00
dfighter1985
0f7e1c022a Merge default
--HG--
branch : gsoc2014-dfighter
2014-08-07 00:03:09 +02:00
kaetemi
4e33e5cf2f Process some scene traversals only once when rendering in stereo
--HG--
branch : multipass-stereo
2014-08-06 14:36:09 +02:00
kaetemi
e8a245a133 OVR: Chroma factor
--HG--
branch : multipass-stereo
2014-08-05 20:14:58 +02:00
kaetemi
e61eb57fd9 OVR: Fix for debug devices
--HG--
branch : multipass-stereo
2014-08-05 04:03:27 +02:00
kaetemi
3fd358d69d OVR: Convert texture coordinates and setup rendering material
--HG--
branch : multipass-stereo
2014-08-05 03:54:19 +02:00
kaetemi
102d3653d7 3D: Ensure correct fog handling for effects
--HG--
branch : multipass-stereo
2014-08-05 02:58:55 +02:00
kaetemi
6ad1d14617 OVR: Test distortion mesh
--HG--
branch : multipass-stereo
2014-08-05 02:55:26 +02:00
kaetemi
65578ce498 OVR: Test large render target
--HG--
branch : multipass-stereo
2014-08-05 02:25:14 +02:00
kaetemi
2fbf1cb06d 3D: Set matrix modes after changing render target in effect
--HG--
branch : multipass-stereo
2014-08-05 02:24:11 +02:00
kaetemi
339c8b8dfa 3D: Render target matrix context fix
--HG--
branch : multipass-stereo
2014-08-05 02:21:30 +02:00
kaetemi
33235bdf6c OVR: Testing
--HG--
branch : multipass-stereo
2014-08-05 01:49:45 +02:00
kaetemi
2e6893fd48 OVR: Translate camera
--HG--
branch : multipass-stereo
2014-08-05 00:51:53 +02:00
kaetemi
9b79a44f8a OVR: Get orientation
--HG--
branch : multipass-stereo
2014-08-05 00:46:04 +02:00
kaetemi
262c1f84a9 OVR: Generate distortion mesh
--HG--
branch : multipass-stereo
2014-08-05 00:20:21 +02:00
kaetemi
99ea2c685c OVR: Read device descriptions
--HG--
branch : multipass-stereo
2014-08-04 20:32:31 +02:00
kaetemi
f2274d2378 OVR: Iterate devices
--HG--
branch : multipass-stereo
2014-08-04 19:19:15 +02:00
kaetemi
b9e10fca72 Cleanup
--HG--
branch : multipass-stereo
2014-08-04 18:31:31 +02:00
kaetemi
0488b706b2 Add placeholders for LibOVR 0.4.0 support
--HG--
branch : multipass-stereo
2014-08-04 18:30:25 +02:00
kaetemi
96bd17ae63 3D: Fix texture coords for FXAA on D3D
--HG--
branch : multipass-stereo
2014-08-04 07:38:40 +02:00
kaetemi
d56047bde6 Remove debug
--HG--
branch : multipass-stereo
2014-08-04 06:19:03 +02:00
kaetemi
8a283ea518 3D: User higher quality FXAA version
--HG--
branch : multipass-stereo
2014-08-04 06:11:47 +02:00
kaetemi
ec4762f669 3D: Add FXAA
--HG--
branch : multipass-stereo
2014-08-04 04:44:27 +02:00
kaetemi
f59de199cf Fix crash on AMD with legacy clouds
--HG--
branch : multipass-stereo
2014-08-04 01:05:53 +02:00
kaetemi
d98f1ede47 Move default render target handling to CDriverUser
--HG--
branch : multipass-stereo
2014-08-04 00:57:43 +02:00
kaetemi
e88dedf00c Adjust render target handling for effects
--HG--
branch : multipass-stereo
2014-08-03 22:15:44 +02:00
kaetemi
6c3bcc2439 Merge with default
--HG--
branch : multipass-stereo
2014-08-03 22:15:39 +02:00
kaetemi
1c67d6ec0f GL: Occlusion query bugfix 2014-08-03 22:15:12 +02:00
kaetemi
6a21d0503c 3D: Cleanup bloom effect
--HG--
branch : multipass-stereo
2014-08-03 21:09:55 +02:00
kaetemi
8af686f7ef 3D: Cleanup bloom effect
--HG--
branch : multipass-stereo
2014-08-03 20:35:05 +02:00
kaetemi
78ce8f4f25 GL: Share depth and stencil to get similar behaviour to D3D driver
--HG--
branch : multipass-stereo
2014-08-03 18:59:19 +02:00
kaetemi
503292065c Simplify GUI projection settings
--HG--
branch : multipass-stereo
2014-08-03 00:56:26 +02:00
kaetemi
1965d46dce Off-center GUI cylinder
--HG--
branch : multipass-stereo
2014-08-02 20:11:28 +02:00
kaetemi
f2dd6083fa Cylindrical GUI
--HG--
branch : multipass-stereo
2014-08-02 19:50:26 +02:00
kervala
7aedffce9a Changed: #172 XML floating point serialization not using neutral culture (for VC++ 2005 and up) 2014-08-02 11:18:24 +02:00
kaetemi
c11706feb8 Project GUI into space
--HG--
branch : multipass-stereo
2014-08-01 15:44:12 +02:00
kaetemi
f32c3bf6b0 Temporary crashfix, ref #68
--HG--
branch : multipass-stereo
2014-08-01 15:23:13 +02:00
kaetemi
caefb04928 Restore camera and scene viewport after disabling VR
--HG--
branch : multipass-stereo
2014-08-01 13:20:55 +02:00
kaetemi
c70d8597b2 Merge with default
--HG--
branch : multipass-stereo
2014-08-01 11:50:40 +02:00
kaetemi
79c6f50054 Render target format (for alpha)
--HG--
branch : multipass-stereo
2014-07-31 18:25:50 +02:00
kaetemi
61f97fae40 Fix issue with render target in OpenGL when size not specified
--HG--
branch : multipass-stereo
2014-07-31 17:41:56 +02:00
kaetemi
22d03c5f79 Mode2D selection
--HG--
branch : multipass-stereo
2014-07-31 03:53:38 +02:00
kaetemi
dac5b2d274 Merge with game-device
--HG--
branch : multipass-stereo
2014-07-31 02:07:20 +02:00
kaetemi
b1e2b60381 Add render target manager, issue #47
--HG--
branch : multipass-stereo
2014-07-31 00:46:00 +02:00
kaetemi
c461502dc7 Crash workaround in IG loading, ref #171 2014-07-31 19:50:25 +02:00
kaetemi
6b0d468240 Remove a debug assert 2014-07-29 14:39:07 +02:00
dfighter1985
8373118c7e Merged default.
--HG--
branch : gsoc2014-dfighter
2014-07-22 00:15:50 +02:00
kervala
4b39f9640d Changed: Minor optimization and warning 2014-07-19 14:01:44 +02:00
kervala
0bb464411b Changed: Replaced tests with .size() by .empty() because faster 2014-07-19 14:01:03 +02:00
kervala
c1ea3820d5 Fixed: Warning 2014-07-19 11:16:43 +02:00
Laszlo Kis-Adam
03af2ed463 Merged in dfighter1985/ryzomcore/dfighter-tools (pull request #94)
Just too lazy to push directly

--HG--
branch : develop
2014-10-15 19:48:23 +02:00
dfighter1985
f91846c970 Fix parent pos and size parsing.
--HG--
branch : dfighter-tools
2014-10-15 19:46:43 +02:00
kaetemi
b010f224e4 Don't use I18N when the required ui prefix is not in the tooltip text (convention actually dictates uitt as tooltip prefix)
--HG--
branch : develop
2014-10-14 23:45:08 +02:00
kaetemi
07a57f81f8 Shadow should not be taken into account for font height, breaks vertical centering
--HG--
branch : develop
2014-10-14 23:45:08 +02:00
dfighter1985
c5cd6990fe When creating a new GUI set the base color to white.
--HG--
branch : dfighter-tools
2014-10-13 17:47:42 +02:00
dfighter1985
8066717aa2 Pos and Size parent setters should now use the widget directly as well.
--HG--
branch : dfighter-tools
2014-10-13 15:43:10 +02:00
dfighter1985
2dd6278771 Size parent is now queried directly from the widget.
--HG--
branch : dfighter-tools
2014-10-13 15:26:47 +02:00
dfighter1985
487c6a3440 GUI Editor should show the right parent position.
--HG--
branch : dfighter-tools
2014-10-12 23:07:08 +02:00
dfighter1985
b3dd26e01c Parent positions should now be saved right again.
--HG--
branch : dfighter-tools
2014-10-12 23:05:22 +02:00
dfighter1985
ded18b266c Implemented new action.
--HG--
branch : dfighter-tools
2014-10-11 21:43:28 +02:00
dfighter1985
e5d2e9293d Moved CRootGroup out of CInterfaceParser.
--HG--
branch : dfighter-tools
2014-10-11 19:30:30 +02:00
dfighter1985
7e16e95c35 CInterfaceParser in editor mode should look for files in the working directory first.
--HG--
branch : dfighter-tools
2014-10-11 16:26:38 +02:00
kaetemi
496f7f268c Trash DirectInput
--HG--
branch : game-device
2014-07-12 17:17:24 +02:00
dfighter1985
012ad96806 Texture chooser now supports atlas textures as well.
--HG--
branch : gsoc2014-dfighter
2014-07-09 21:07:12 +02:00
kaetemi
e729a9d035 Fix #162: Center ingame mouse cursor after login 2014-07-09 12:31:22 +02:00
kaetemi
246d931bee Formatting: Use tabs 2014-07-09 16:59:55 +02:00
KISHAN GRIMOUT
107646d95d fix windows 64bit build in mem_displayer.cpp 2014-07-09 13:41:43 +02:00
kaetemi
f281622d47 Trash DirectInput
--HG--
branch : game-device
2014-07-08 22:21:11 +02:00
dfighter1985
fe58435bb5 CPath can now return the file list with a path filter.
--HG--
branch : gsoc2014-dfighter
2014-07-06 23:21:25 +02:00