Commit graph

1408 commits

Author SHA1 Message Date
dfighter1985
b524c9fec1 Don't try to handle the right mouse button actions in editor mode. 2014-10-08 17:59:39 +02:00
dfighter1985
1111a022af When moving a group draw it's children too. 2014-10-08 17:52:56 +02:00
dfighter1985
4d06c3c278 Select groups first. 2014-10-08 17:37:05 +02:00
kaetemi
6ec644e2ba Fix rendering of specially sized window highlights 2014-10-08 09:31:13 +02:00
kaetemi
d2e9352d4c Fix when tx_b and tx_b_open have different heights 2014-10-08 09:30:59 +02:00
kaetemi
cbe5cb66f7 Add inset_t parameter to layer options, allows putting header graphics in top texture 2014-10-04 01:43:27 +02:00
kaetemi
96ea88ac07 Fix a bad copy paste in NLGUI 2014-10-04 01:43:13 +02:00
kaetemi
0eed48b902 Fix #207, FXAA orientation under D3D 2014-10-01 23:24:56 +02:00
Jan Boon
2935767d60 Merged in nimetu/ryzomcore/html-maxlength-attr (pull request #84)
Add maxlength attribute to input and textarea tags
2014-10-01 23:18:33 +02:00
dfighter1985
7504dc1238 From now on dragged widgets will be re-aligned on drop. They will find the nearest hotspot of the group they are dropped into, and calculate an offset so they will align to the hotspot and yet remain where they were dropped. 2014-09-29 20:29:04 +02:00
dfighter1985
4d5d67fac7 Update CCtrlTextButton's CViewText's coords after updating it's own coords. 2014-09-29 17:38:24 +02:00
dfighter1985
2383e19561 Posref changes in the editor should apply... 2014-09-29 17:23:22 +02:00
dfighter1985
e87d83bccc Refactoring. Added CInterfaceFactory. 2014-09-27 21:48:51 +02:00
dfighter1985
fada6e7dcc A little refactoring. 2014-09-27 20:15:46 +02:00
dfighter1985
75047b71b4 Move the text too with the text button. 2014-09-27 19:54:19 +02:00
dfighter1985
3ca518dca2 Merged develop 2014-09-27 18:22:44 +02:00
dfighter1985
039e8a83a4 Initialize struct member before use... 2014-09-27 18:20:29 +02:00
Nimetu
2b02fd2c37 Add maxlength attribute to input and textarea tags 2014-09-27 15:55:57 +03:00
dfighter1985
3fbe51185f Merged develop. 2014-09-27 00:08:06 +02:00
dfighter1985
161c8e5edc Editbox selection should be stopped when the mouse button goes up, even if it happens outside of the box. 2014-09-26 23:29:38 +02:00
dfighter1985
e6f4801129 Refactored IWidgetAdditionWatcher, now it's called IWidgetWatcher and it also reports widget moves. 2014-09-24 23:32:24 +02:00
dfighter1985
f7825fc8b3 No need for free floating elements when we can simply reparent to the top window... 2014-09-24 22:59:40 +02:00
dfighter1985
c5b8f30bb9 Orphaned widgets won't get stuck. 2014-09-24 20:40:37 +02:00
dfighter1985
f30054a26c 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. 2014-09-24 18:45:52 +02:00
dfighter1985
49d023d273 Set dragged widgets' coordinates based on the move rather than the mouse pointer's coords. 2014-09-24 16:31:26 +02:00
dfighter1985
574d24e5e3 Dragged elements will no longer disappear. 2014-09-24 16:20:25 +02:00
kaetemi
3158f6d90e Handle GUI event only once 2014-09-23 19:47:06 +02:00
dfighter1985
d19e4ecaab 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. 2014-09-22 23:24:48 +02:00
dfighter1985
2666f19500 Merged develop 2014-09-19 20:10:00 +02:00
kaetemi
3731f28892 Backed out incomplete changes to GL driver 2014-09-18 11:31:19 +02:00
dfighter1985
e40ecbda00 Merged the gui-editor branch. 2014-09-17 21:12:14 +02:00
kaetemi
302c478af6 Merge with develop 2014-09-12 15:19:12 +02:00
kaetemi
b34c7cf12a When in Rome, do as the Romans do 2014-09-11 10:36:41 +02:00
dfighter1985
15f6ed3c37 Merged default. 2014-09-05 22:28:11 +02:00
dfighter1985
ca910cf17a Added support for manipulating atoms. 2014-09-05 20:28:43 +02:00
kervala
ad5cc68107 Changed: Code formatting 2014-09-05 15:42:53 +02:00
dfighter1985
a875e66696 Implemented add and remove buttons. 2014-09-02 19:26:02 +02:00
dfighter1985
2292fc96c4 Apply changes. 2014-09-02 14:54:07 +02:00
kervala
891e0d1bd7 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
119c931738 Link group_wheel.cpp, ref #176 2014-08-25 14:56:29 +02:00
kaetemi
0f236b800f Merge with default 2014-08-19 15:43:49 +02:00
dfighter1985
e59fb841bc Merged default. 2014-08-19 00:33:03 +02:00
kaetemi
45db7f57eb Crashfix in case pacs_prim are exported into .ig 2014-08-17 16:48:51 +02:00
kervala
74a30afcc4 Changed #172 XML floating point serialization not using neutral culture 2014-08-17 16:05:51 +02:00
kervala
4f4a3469d3 Fixed #172 XML floating point serialization not using neutral culture 2014-08-17 15:39:30 +02:00
kaetemi
f731d220d7 Project client loading screens into 3D space for HMD 2014-08-07 18:49:05 +02:00
kaetemi
b31f939f9e Non-functional direct to rift 2014-08-07 05:09:11 +02:00
kaetemi
338b9b8a7f GL: Fix switch from different resolution fullscreen to borderless display 2014-08-07 04:45:14 +02:00
kaetemi
60c4e36fec Clean handling of display mode switching in client 2014-08-07 04:36:51 +02:00
kaetemi
c2d39e8bdf GL: Handle borderless fullscreen to specified monitor internally 2014-08-07 04:18:17 +02:00
kaetemi
7bd9216a6f Specify monitor when changing display mode 2014-08-07 01:04:58 +02:00
dfighter1985
04095561cb Merge default 2014-08-07 00:03:09 +02:00
kaetemi
7db83ce7da Process some scene traversals only once when rendering in stereo 2014-08-06 14:36:09 +02:00
kaetemi
758e87e115 OVR: Chroma factor 2014-08-05 20:14:58 +02:00
kaetemi
0c7bc1240f OVR: Fix for debug devices 2014-08-05 04:03:27 +02:00
kaetemi
031f1cdcbd OVR: Convert texture coordinates and setup rendering material 2014-08-05 03:54:19 +02:00
kaetemi
c9762fbef5 3D: Ensure correct fog handling for effects 2014-08-05 02:58:55 +02:00
kaetemi
19209b8028 OVR: Test distortion mesh 2014-08-05 02:55:26 +02:00
kaetemi
537a7e7395 OVR: Test large render target 2014-08-05 02:25:14 +02:00
kaetemi
32540add2a 3D: Set matrix modes after changing render target in effect 2014-08-05 02:24:11 +02:00
kaetemi
240889b03d 3D: Render target matrix context fix 2014-08-05 02:21:30 +02:00
kaetemi
fb16438a49 OVR: Testing 2014-08-05 01:49:45 +02:00
kaetemi
4a8d07b889 OVR: Translate camera 2014-08-05 00:51:53 +02:00
kaetemi
30f98c4b62 OVR: Get orientation 2014-08-05 00:46:04 +02:00
kaetemi
2dda6cc5f0 OVR: Generate distortion mesh 2014-08-05 00:20:21 +02:00
kaetemi
c99cfed0dd OVR: Read device descriptions 2014-08-04 20:32:31 +02:00
kaetemi
05a2f91711 OVR: Iterate devices 2014-08-04 19:19:15 +02:00
kaetemi
0baada5110 Cleanup 2014-08-04 18:31:31 +02:00
kaetemi
ca165de62c Add placeholders for LibOVR 0.4.0 support 2014-08-04 18:30:25 +02:00
kaetemi
b24fa74936 3D: Fix texture coords for FXAA on D3D 2014-08-04 07:38:40 +02:00
kaetemi
925aa9c715 Remove debug 2014-08-04 06:19:03 +02:00
kaetemi
946128cdca 3D: User higher quality FXAA version 2014-08-04 06:11:47 +02:00
kaetemi
650e634e68 3D: Add FXAA 2014-08-04 04:44:27 +02:00
kaetemi
a72b200fe8 Fix crash on AMD with legacy clouds 2014-08-04 01:05:53 +02:00
kaetemi
5e9fc17402 Move default render target handling to CDriverUser 2014-08-04 00:57:43 +02:00
kaetemi
8c6d46bed0 Adjust render target handling for effects 2014-08-03 22:15:44 +02:00
kaetemi
996dd9aa16 Merge with default 2014-08-03 22:15:39 +02:00
kaetemi
2ad030f5f9 GL: Occlusion query bugfix 2014-08-03 22:15:12 +02:00
kaetemi
f03f73e5c8 3D: Cleanup bloom effect 2014-08-03 21:09:55 +02:00
kaetemi
2bccba1ddc 3D: Cleanup bloom effect 2014-08-03 20:35:05 +02:00
kaetemi
f9aa0bf7cc GL: Share depth and stencil to get similar behaviour to D3D driver 2014-08-03 18:59:19 +02:00
kaetemi
54f4d5bac3 Simplify GUI projection settings 2014-08-03 00:56:26 +02:00
kaetemi
9d883e227c Off-center GUI cylinder 2014-08-02 20:11:28 +02:00
kaetemi
5580d0b761 Cylindrical GUI 2014-08-02 19:50:26 +02:00
kervala
5f5f0dd76c Changed: #172 XML floating point serialization not using neutral culture (for VC++ 2005 and up) 2014-08-02 11:18:24 +02:00
kaetemi
9e23a689ae Project GUI into space 2014-08-01 15:44:12 +02:00
kaetemi
6de844b43c Temporary crashfix, ref #68 2014-08-01 15:23:13 +02:00
kaetemi
0adb5be855 Restore camera and scene viewport after disabling VR 2014-08-01 13:20:55 +02:00
kaetemi
03e367be86 Merge with default 2014-08-01 11:50:40 +02:00
kaetemi
655d709ceb Render target format (for alpha) 2014-07-31 18:25:50 +02:00
kaetemi
74c4c09211 Fix issue with render target in OpenGL when size not specified 2014-07-31 17:41:56 +02:00
kaetemi
029d9bddfe Mode2D selection 2014-07-31 03:53:38 +02:00
kaetemi
a6812f5844 Merge with game-device 2014-07-31 02:07:20 +02:00
kaetemi
64666c302a Add render target manager, issue #47 2014-07-31 00:46:00 +02:00
kaetemi
7d835464f0 Crash workaround in IG loading, ref #171 2014-07-31 19:50:25 +02:00
kaetemi
b74a24a312 Remove a debug assert 2014-07-29 14:39:07 +02:00
dfighter1985
8971f98722 Merged default. 2014-07-22 00:15:50 +02:00
kervala
875ab80728 Changed: Minor optimization and warning 2014-07-19 14:01:44 +02:00
kervala
853b6aba0b Changed: Replaced tests with .size() by .empty() because faster 2014-07-19 14:01:03 +02:00
kervala
0d83dd9162 Fixed: Warning 2014-07-19 11:16:43 +02:00
Laszlo Kis-Adam
606f0f483f Merged in dfighter1985/ryzomcore/dfighter-tools (pull request #94)
Just too lazy to push directly
2014-10-15 19:48:23 +02:00
kaetemi
de026fe48c Don't use I18N when the required ui prefix is not in the tooltip text (convention actually dictates uitt as tooltip prefix) 2014-10-14 23:45:08 +02:00
kaetemi
32a144a282 Shadow should not be taken into account for font height, breaks vertical centering 2014-10-14 23:45:08 +02:00
kaetemi
18ade6cbd4 Trash DirectInput 2014-07-12 17:17:24 +02:00
dfighter1985
2ca6c73d09 Texture chooser now supports atlas textures as well. 2014-07-09 21:07:12 +02:00
kaetemi
3650ef83b7 Fix #162: Center ingame mouse cursor after login 2014-07-09 12:31:22 +02:00
kaetemi
24e8caf0fb Formatting: Use tabs 2014-07-09 16:59:55 +02:00
KISHAN GRIMOUT
bd257f42c7 fix windows 64bit build in mem_displayer.cpp 2014-07-09 13:41:43 +02:00
kaetemi
0f5f1f9047 Trash DirectInput 2014-07-08 22:21:11 +02:00
dfighter1985
c736145c2f CPath can now return the file list with a path filter. 2014-07-06 23:21:25 +02:00
dfighter1985
668bbc1780 Added facilities for viewing the loaded actions. 2014-07-02 22:27:04 +02:00
dfighter1985
0dfb7a091c Quelled some compiler compliants. 2014-06-29 03:01:43 +02:00
dfighter1985
c8c162308d tooltip parent is now changable using an enum. 2014-06-29 02:53:33 +02:00
dfighter1985
5deea1a13b Tooltip posrefs are now enums in the GUI Editor. 2014-06-29 01:44:06 +02:00
dfighter1985
afd1d96363 text posref is now an enum too. 2014-06-27 00:07:44 +02:00
dfighter1985
87778c86c9 Posref can now be set as an enum, instead of a string in the property editor. 2014-06-21 18:25:14 +02:00
kaetemi
dd52a05d02 Don't enforce native fragment programs on modern hardware. Fixes water for the open source ATI/AMD driver, which reports fragment programs as not native (as they are translated to modern hardware). 2014-06-21 06:41:14 +02:00
kaetemi
9e0b573141 Exit with error 2014-06-21 05:46:20 +02:00
kaetemi
502d81c428 Fix compile 2014-06-20 23:38:44 +02:00
kaetemi
2753b49b45 Compile fix 2014-06-20 17:53:38 +02:00
kaetemi
39894f4a99 SSE2: Compile fix 2014-06-20 03:08:51 +02:00
kaetemi
2a87923ced SSE2: Replace prefetch 2014-06-14 01:09:05 +02:00
kaetemi
f51843a721 SSE2: Remove dead code 2014-06-13 22:21:07 +02:00
kaetemi
56c59d114d SSE2: Fix for MinGW 2014-06-19 00:05:43 +02:00
kaetemi
b9576c93dd Merge with default 2014-06-20 03:01:32 +02:00
kaetemi
0c3baeb4de Implement occlusion queries for AMD/ATI in the OpenGL driver 2014-06-19 21:49:33 +02:00
kaetemi
8967f57fdf Backed out changeset: f665fcc42968 (except dru.cpp) 2014-06-19 20:22:12 +02:00
kaetemi
00528e1cd6 Fix Ryzom server compile under MinGW 2014-06-19 20:19:39 +02:00
kaetemi
fa373017f8 Fix NeL GUI compile under MinGW 2014-06-19 00:40:29 +02:00
kaetemi
76704a9952 Fix XA2 driver compile under MinGW 2014-06-18 23:18:06 +02:00
kaetemi
a4c86ddf20 Fix D3D driver compile under MinGW 2014-06-18 16:29:02 +02:00
kaetemi
a47d71713f Fix Snowballs service compile under MinGW 2014-06-18 12:52:03 +02:00
kaetemi
9f699b4923 Fix Snowballs compile under MinGW 2014-06-18 02:05:54 +02:00
kaetemi
275f18d6ab Fix linking of OpenGL driver under MinGW 2014-06-18 01:21:05 +02:00
kaetemi
fc9dc1471a Fix linking of OpenAL driver under MinGW 2014-06-18 00:28:08 +02:00
kaetemi
6807d72136 Fix compilation of NL3D under MinGW 2014-06-17 22:33:56 +02:00
kaetemi
5a48e60763 Fix compilation of NLNET under MinGW 2014-06-17 21:56:53 +02:00
kaetemi
5b47ca4709 Fix compilation of NLMISC under MinGW 2014-06-17 21:48:25 +02:00
kaetemi
7929f78dd7 SSE2: Align CMatrix 2014-06-13 19:33:09 +02:00
kaetemi
78ccdb16b7 SSE2: Implement alignment for arena allocator 2014-06-13 19:26:22 +02:00
kaetemi
12c636d747 SSE2: Add aligned allocators 2014-06-13 19:12:31 +02:00
kaetemi
e0f0fe2650 Set additional preferred memory 2014-06-05 15:51:25 +02:00
kaetemi
70d798d5fb Cleanup extension initialization 2014-06-05 15:03:09 +02:00
kaetemi
35b01fc3a9 Implement volatile vertex buffer for opengl driver, should provide considerable performance improvements for particle systems. Needs additional testing. 2014-06-04 18:59:54 +02:00
kaetemi
fb56ef3fdc Merge 2014-04-30 12:57:54 +02:00
kaetemi
c93b04df1d Backed out changeset: 897087f1fa71, 7c3f1f0dc9d8, 61d11f94e3ea 2014-04-30 12:54:20 +02:00
kervala
eedaee3da3 Changed: Replaced strlwr by toLower 2014-04-24 22:59:29 +02:00
kervala
22374fb124 Fusion avec default 2014-04-24 19:16:42 +02:00
kervala
4da04fdfaa Changed: Replaced strlwr by toLower 2014-04-24 18:11:16 +02:00
Nimetu
6217b46193 Fix compiling on linux with new OpenGL headers (issue #145) 2014-04-23 23:23:23 +03:00
dfighter1985
916c9bf919 We can now drag elements, they will disappear and whatnot, but at least they can be dragged! 2014-04-21 19:30:33 +02:00
dfighter1985
83e0c1ceda Refactored input event handling a bit. 2014-04-20 21:41:57 +02:00
dfighter1985
8c23925246 Merge default. 2014-04-19 21:53:29 +02:00
kervala
59042ccb6a Changed: Updated OpenGL and OpenGL ES headers 2014-04-17 10:44:03 +02:00
kervala
396948f89a Fixed: nglXSwapIntervalEXT return type should be void 2014-04-17 10:16:30 +02:00
kaetemi
9edd54c446 Add interface for HMD with player death support 2014-04-01 13:14:44 +02:00
kervala
cd04a596cd Backed out changeset: 3937923211ec 2014-03-29 12:45:22 +01:00
kervala
213749f410 Changed: Replaced some Mac OS X warnings by TODO comments 2014-03-27 16:36:00 +01:00
kervala
85ab0dba81 Fixed: Switch not handled warnings 2014-03-27 15:53:19 +01:00
kervala
479f31ef3b Fixed: Warnings with clang: wrong ! and == operators order 2014-03-27 15:50:58 +01:00
kervala
7d4b89afc9 Fixed: Warnings with clang: wrong ! and == operators order 2014-03-27 15:50:58 +01:00
kervala
0d98d8d0b3 Changed: Removed useless definitions 2014-03-27 13:39:46 +01:00
kervala
b03b2cc5fb Changed: Removed useless definitions 2014-03-27 13:39:46 +01:00
kervala
4b89a89004 Changed: Updated OpenGL headers 2014-03-27 13:39:16 +01:00
kervala
46fccf9902 Changed: Updated OpenGL headers 2014-03-27 13:39:16 +01:00
kervala
ed1b73948d Changed: Give priority to ARB extensions in tests 2014-03-26 14:36:00 +01:00
kervala
654583807c Changed: Detect available video memory with OpenGL extensions 2014-03-26 14:34:07 +01:00
kervala
5333ec3420 Changed: Detect available video memory with OpenGL extensions 2014-03-26 14:34:07 +01:00
kervala
d7f7523bdf Changed: Use OpenGL ES functions prototypes from official headers 2014-03-26 14:32:00 +01:00
kervala
9fd642d24b Changed: Use OpenGL ES functions prototypes from official headers 2014-03-26 14:32:00 +01:00
kervala
741f806f16 Changed: Optimize OpenGL driver PCH 2014-03-26 14:31:32 +01:00
kervala
091c22bf10 Changed: Optimize OpenGL driver PCH 2014-03-26 14:31:32 +01:00
kervala
efcdbd2424 Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002
2014-03-26 14:14:36 +01:00
kervala
1f60ea7fdf Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002
2014-03-26 14:14:36 +01:00
kervala
76d7f4b620 Changed: Typo 2014-03-22 16:23:28 +01:00
kaetemi
49fd01ccfb Add color to console output 2014-03-13 18:34:26 +01:00
kaetemi
65b29b38e5 Additional streaming behaviour fix for XAudio2 driver 2014-02-17 00:20:29 +01:00
kaetemi
374f6a99ed Remove some debug 2014-02-16 20:44:58 +01:00
kaetemi
b19971fe3f Fix some streaming behaviour in XAudio2 driver 2014-02-16 20:36:58 +01:00
kaetemi
2c81edcf56 Additional streaming behaviour fix for XAudio2 driver 2014-02-17 00:20:29 +01:00
kaetemi
5db0ba86a7 Remove some debug 2014-02-16 20:44:58 +01:00
kaetemi
3b38848903 Fix some streaming behaviour in XAudio2 driver 2014-02-16 20:36:58 +01:00
kervala
bb156457c0 Changed: Typo 2014-03-22 16:23:28 +01:00
botanic
b09fb394da Backed out merge changeset: b2d97621fa3b
Backed out merge revision to its first parent (99840e8413f2)
2014-02-13 12:12:28 -08:00
kervala
81aa2a236a Fixed: Reverted i18n change 2014-02-13 14:17:32 +01:00
kaetemi
e90c325f1b Merge 2014-02-09 22:15:33 +01:00
kaetemi
ad40eb6450 Fix the bug that caused the shape exporter to crash 2014-02-09 22:12:44 +01:00
Matthew Lagoe
4308e65f97 Merged in botanic/ryzomcore-botanic-testing (pull request #21)
Make it so that bad text always throws a nlwarning
2014-02-08 18:33:27 -08:00
botanic
777aa0b6ae Add CMAKE option and NVIDIA PerfHUD support 2014-02-07 19:49:40 -08:00
kaetemi
9dce6793b2 Fix thread lockup in zone lighter 2014-02-07 02:01:23 +01:00
kaetemi
7989e9e6bc Do not select stereo display debugger when HMD is set to Auto in Snowballs 2014-02-04 20:52:15 +01:00
kaetemi
ce88e5836a Remove georges4cvs feature 2014-02-03 00:16:35 +01:00
botanic
a8cabc90d1 Fixed typo issue 60 2014-01-28 11:41:26 -08:00
botanic
8c4a6fc2da Issue #60
does seem to work better when latency is high
2014-01-26 03:20:00 -08:00
botanic
fad0671af1 Merge 2014-01-26 02:58:42 -08:00
botanic
95c63bc0dd Fix for Issue #94 2014-01-26 02:57:59 -08:00
kervala
f256e78b2c Changed: Best fix for Freetype new layout (we only just need to include ft2build.h as done in font_generator.h) 2014-01-26 11:03:33 +01:00
kervala
0e57ad38c3 Fixed: Compilation with freetype 2014-01-25 10:45:57 +01:00
Nimetu
c37850920a Remove tooltip debug message from logs 2014-01-04 00:20:05 +02:00
Nimetu
2c38c21a40 Add deadlock counter to prevent endless loop (issue #73) 2014-01-03 19:11:49 +02:00