Commit graph

2896 commits

Author SHA1 Message Date
kaetemi
576e508860 Use distSqTo instead of distTo 2013-09-07 15:53:17 +02:00
kaetemi
9d3bb1c76b Add distSqTo to CAIVector 2013-09-07 15:53:10 +02:00
kaetemi
1d1fb14fc8 Comment if-check around commented unused client-side speed limiting code 2013-09-07 15:53:00 +02:00
kaetemi
035fd1d40a Move r2 plot item security off the AIS to the EGS and remove hardcoded sheet ids 2013-09-07 15:51:30 +02:00
StudioEtrange
93f9ca83f6 Merged ryzom/ryzomcore into default 2013-09-07 01:39:45 +02:00
kervala
8d27acc654 Changed: Minor changes 2013-09-06 15:00:35 +02:00
kervala
2a0d588cb5 Changed: Merged code from official client 2013-09-06 15:00:01 +02:00
kervala
a886559bf6 Fixed: Define math.fmod as a function for Lua 5.0 2013-09-06 14:53:40 +02:00
kervala
712f9ad2a0 Fixed: Integer 32 bits conversion to 64 bits pointer 2013-09-06 14:51:21 +02:00
kervala
53d5e56a2a Changed: Don't use NLMISC includes in NLMISC PCH 2013-09-06 14:50:19 +02:00
kervala
12cd9083de Changed: Cleanlooks doesn't exist anymore in Qt 5, so use default style 2013-09-06 14:49:12 +02:00
kervala
b16d904bb2 Fixed: Use 32 bits libraries from Windows SDK in 64 bits 2013-09-06 14:48:21 +02:00
kervala
1560df430a Changed: Replace atoi by NLMISC::fromString 2013-09-06 14:45:48 +02:00
kervala
bfc65e70e7 Removed: DInput module because it's not used anymore 2013-09-06 14:44:03 +02:00
StudioEtrange
a4be8d565b Merged ryzom/ryzomcore into default 2013-09-06 14:14:51 +02:00
kervala
08cf590b30 Added: Toolchains for Android and iOS 2013-09-06 13:38:19 +02:00
kervala
b26bf1a265 Changed: Allows to choose a specific Windows SDK version with WINSDK_VERSION
Changed: Look for all installed Windows SDKs
2013-09-06 13:35:43 +02:00
kervala
8cd8dcee5e Changed: Use /X everytime with MSVC 2013-09-06 09:30:54 +02:00
kervala
9e042a5c67 Changed: Improved MFC module 2013-09-06 09:26:23 +02:00
kervala
b87aac1cc0 Changed: Detect hg binary under Mac OS X if /opt/local/bin is not in PATH 2013-09-06 09:02:48 +02:00
kervala
c87c99f6b2 Added: MSVC module to use later 2013-09-06 09:01:42 +02:00
kervala
5f4831f8b8 Changed: Use PLATFORM_LINKFLAGS in *_LINKER_FLAGS 2013-09-06 09:00:33 +02:00
kervala
3833a51003 Changed: Display a message when compiling with NMake and define NMAKE 2013-09-06 08:58:36 +02:00
kervala
30a8cc1fe3 Changed: Factorized AMD/amd 2013-09-06 08:58:02 +02:00
kervala
3c3e25d523 Changed: Allow to put a "revision" file in root directory if .hg directory is not present 2013-09-06 08:44:57 +02:00
kervala
ff444f42fa Fixed: Don't use -fPIC and -fPIE together (this could occur in some cases) 2013-09-06 08:43:44 +02:00
StudioEtrange
d951e1c452 ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00
Thibaut Girka
a45299bfe5 Add support for LibVR 2013-08-28 08:08:22 +02:00
kaetemi
beb66b19b7 Merge with default 2013-09-07 16:25:45 +02:00
kervala
d2a9cb90d0 Changed: Formatting 2013-08-26 12:34:04 +02:00
kervala
dd116afff3 Fixed: Crash when trying to display a missing texture 2013-08-26 12:33:26 +02:00
kervala
33115f61b2 Changed: Minor formatting 2013-08-05 10:34:38 +02:00
kervala
f9b70173ce Fixed: PCH with Qt 5 and CMake 2.8.11 2013-08-05 10:32:17 +02:00
kervala
e74913f589 Fixed: X64 not detected with CMake 2.8.11 2013-08-05 10:31:23 +02:00
kervala
a2f91ce484 Changed: Tabulations to spaces 2013-08-05 10:30:40 +02:00
kaetemi
d0a4f5ed75 Fix warning 2013-08-03 21:29:47 +02:00
kaetemi
9dc9acd68f Merge with default 2013-08-01 23:02:49 +02:00
kaetemi
bbe4ea4ba8 Add some basic prediction to CCDBNodeBranch::find 2013-08-01 22:47:46 +02:00
kaetemi
1ed7e4fcff Force link 2013-08-01 10:11:11 +02:00
kaetemi
7bbf40ea19 Improve performance of UsedTexture debugging info in OpenGL driver 2013-07-29 03:41:10 +02:00
kaetemi
7046b6f364 NLGUI files dbgroup_combo_box.cpp and dbgroup_select_number.cpp were not linked 2013-07-28 21:39:54 +02:00
kaetemi
7a8db939ad Missed one 2013-07-28 18:22:35 +02:00
kaetemi
bff229da69 Fix a typo 2013-07-28 18:19:51 +02:00
kaetemi
19efd6fba8 Merge 2013-07-28 18:04:13 +02:00
kaetemi
880e9dc082 Fix another compile error 2013-07-28 18:02:43 +02:00
kaetemi
d9c15ede09 Can't include this here. A light header with all of these maximum constants might be handy 2013-07-28 17:59:05 +02:00
kaetemi
34553ca2db Fix a compile error 2013-07-28 17:49:28 +02:00
kaetemi
8bf0fbc60e Merge 2013-07-28 09:17:58 +02:00
kaetemi
7442168061 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:DIRECTION"") 2013-07-28 09:06:11 +02:00
kaetemi
3115bcb1ff Avoid redundant per-frame calls to getDbProp in outpost.xml and outpost.lua 2013-07-28 08:55:28 +02:00
kaetemi
430bfd26c6 Make _ShowReticleLeaf static 2013-07-28 08:35:40 +02:00
kaetemi
527df2511b Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:CDB_INIT_IN_PROGRESS") 2013-07-28 08:22:53 +02:00
kaetemi
10e4eb4634 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:MK_MOVE") 2013-07-28 08:19:54 +02:00
kaetemi
b32f8b5025 Avoid redundant per-frame calls to getDbProp("UI:SAVE:USER_CHAR_FADE") 2013-07-28 08:16:02 +02:00
kaetemi
30ea315002 Avoid redundant per-frame calls to getDbProp("SERVER:WEATHER:VALUE") 2013-07-28 08:13:19 +02:00
kaetemi
1674b81cce Avoid redundant calls to getDbProp("UI:SAVE:INSCENE:...") 2013-07-28 07:55:16 +02:00
kaetemi
37277019be Avoid redundant calls to getDbProp in CEntityCL 2013-07-28 06:45:43 +02:00
kaetemi
3fe1a17503 Avoid redundant per-frame calls to getDbProp("UI:ENTITY:GUILD:#:ICON") 2013-07-28 05:48:59 +02:00
kaetemi
292df29429 Avoid per-frame 'set' action handler in map.xml when opening the respawn map 2013-07-28 05:21:05 +02:00
kaetemi
bf0e0b1d56 Avoid per-frame 'set' action handler in config.xml for blending day and night color 2013-07-28 05:21:00 +02:00
kaetemi
b09e28e9e0 Avoid having to use 'set' action handler, which parses the value expression on every use, in interface links by implementing use of cdb nodes as targets 2013-07-28 05:10:07 +02:00
kaetemi
22934d2b60 Avoid redundant per-frame calls to getDbProp("SERVER:USER:DEFAULT_WEIGHT_HANDS") 2013-07-28 05:10:06 +02:00
kaetemi
8bbb438674 Avoid redundant per-frame calls to getDbProp in CNetManager 2013-07-28 05:10:06 +02:00
kaetemi
70f83e1fb9 Parse action handler condition for interface link in advance 2013-07-28 03:02:07 +02:00
kaetemi
36c969252b Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager 2013-07-28 00:48:34 +02:00
kaetemi
1273830c0e Avoid redundant per-frame calls to getDbValue32(toString("SERVER:CHARACTER_INFO:CHARACTERISTICS%d:VALUE", i)) 2013-07-28 00:29:32 +02:00
kaetemi
c2b29881bb Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:FPS", false) 2013-07-28 00:29:32 +02:00
kaetemi
2cd88e5d9e Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:TOTAL_MALUS_EQUIP", false) 2013-07-28 00:29:32 +02:00
kaetemi
beff07c398 Avoid redundant per-frame calls to getDbProp("UI:SAVE:SHOW_RETICLE") 2013-07-28 00:29:25 +02:00
kervala
0cbc471341 Fixed: prtab function not compiling with VC++ (define DEBUG_CRYPT if you want to debug crypt() method) 2013-07-26 09:33:32 +02:00
Cédric OCHS
94c1ffe9f1 Merged in StudioEtrange/ryzomcore/StudioEtrange/fix-some-probleme-with-spaces-in-path-on-1374699208398 (pull request #19)
Fix some problems with space char in path on windows
2013-07-26 08:07:42 +02:00
kaetemi
bcba46f950 Merge with default 2013-07-25 21:18:52 +02:00
kaetemi
38c4b66cce Don't do EOL changes for database.xml and msg.xml, causes checksum difference 2013-07-25 18:06:32 +02:00
kaetemi
9587ccc6ba Silently sneaking in a nicer splash image for ovqt 2013-07-25 02:39:07 +02:00
kaetemi
fd285cc703 Merge with default 2013-07-25 00:37:00 +02:00
StudioEtrange
31ba0013a6 PCHSupport.cmake edited online with Bitbucket 2013-07-24 21:57:52 +00:00
StudioEtrange
7b3381b997 Fix some probleme with spaces in path on windows
PCHSupport.cmake edited online with Bitbucket
2013-07-24 20:53:33 +00:00
StudioEtrange
e7f468536a Error passing wrong version number to msvc linker
ENV: WinSDK8 VS2012 Compilation in 64 Bits
ERROR: error when linking client

CAUSE: msvc link support only major and minor version number. Before VS2012 extra number (like revision number) were stripped. Now the link throw an error with VS2012

see https://bugs.php.net/bug.php?id=63537 see http://msdn.microsoft.com/fr-fr/library/h88b7dc8(v=vs.110).aspx
2013-07-24 19:32:41 +00:00
StudioEtrange
8aa9192dbb nel.cmake edited online with Bitbucket 2013-07-24 19:31:10 +00:00
StudioEtrange
368750bafa ENV:
WinSDK8
VS2012
Compilation in 64 Bits

ERROR:
error when linking client

CAUSE:
msvc link support only major and minor version number.
Before VS2012 extra number (like revision number) were stripped. Now the link throw an error with VS2012

see https://bugs.php.net/bug.php?id=63537
see http://msdn.microsoft.com/fr-fr/library/h88b7dc8(v=vs.110).aspx
2013-07-24 19:22:38 +00:00
kaetemi
f83fdf5a2f Fix bug #45 crash in zone lighter with large number of CPU cores 2013-07-24 20:51:43 +02:00
kaetemi
da53f11c73 Use tags for pacs prim export 2013-07-24 20:51:38 +02:00
kaetemi
199ead5988 EOL 2013-07-24 20:51:26 +02:00
kervala
dfbf2998b0 Fixed: lua_open() doesn't exist with Lua 5.2 2013-07-24 18:47:50 +02:00
kervala
bd8a606341 Fixed: Compilation in 64 bits with Windows SDK 8.0 (patch provided by StudioEtrange) 2013-07-24 18:47:04 +02:00
kaetemi
dfd92eb40d Merge with default 2013-07-19 18:12:08 +02:00
kaetemi
32553f4d87 Some necessary ryzom tools did not build when client and server were unchecked 2013-07-19 18:11:31 +02:00
kaetemi
b1f953c2a1 Merge with default 2013-07-19 15:38:49 +02:00
kaetemi
b6c869f072 Fix a divide-by-zero crash in the 3ds Max plugins on really fast PCs 2013-07-19 15:37:25 +02:00
kaetemi
4a593aa273 Merge with default 2013-07-19 14:10:07 +02:00
kaetemi
62f0c1e20c Merge with default 2013-07-18 23:05:25 +02:00
kaetemi
19c9d04ef2 Fix issue #48, landscape quality issues caused by incorrect defaults 2013-07-18 18:22:28 +02:00
kaetemi
e822c2be0d Fix an error in 3ds Max with the material script 2013-07-18 18:15:53 +02:00
kaetemi
cb53258f8c Fix bad includes in snowballs, re #43 2013-07-06 21:58:26 +02:00
Michael Witrant
59dc1a6c16 Fixed definition tests for optional LibOVR 2013-07-06 20:40:42 +02:00
Michael Witrant
69c194f57f LibOVR is optional, and is disabled by default 2013-07-06 20:05:19 +02:00
Michael Witrant
ed8e0edfd0 Added Win32 and Apple LibOVR build paths 2013-07-06 19:55:08 +02:00
Michael Witrant
f393622573 Fixed Linux build failure because a temporary pointer was passed, ref #43 2013-07-06 19:34:28 +02:00
Michael Witrant
67ebf920ec Added LibOVR finder and Linux support, ref #43 2013-07-06 19:33:07 +02:00
kaetemi
a1ded7183a Handle head orientation in ryzom client, ref #43 2013-07-05 04:09:53 +02:00
kaetemi
cb9e5762db Don't render to texture when in wireframe mode, re #43 2013-07-05 03:42:38 +02:00
kaetemi
c3f6f5b8ff Put stereo render loop inside ryzom client main loop, see #43 2013-07-05 02:38:56 +02:00
kaetemi
541f75920b Init/release VR interfaces in ryzom client, ref #43 2013-07-05 02:04:34 +02:00
kaetemi
59edf6ea13 Move some more updates out of the render code, see #43 2013-07-05 00:47:17 +02:00
kaetemi
5e5cfba035 Some necessary changes to camera setting, re #43 2013-07-05 00:17:09 +02:00
kaetemi
32e3da752f Some more cleanup 2013-07-04 23:41:46 +02:00
kaetemi
78276ab782 Make oversize screenshots be perfectly seamless 2013-07-04 23:11:15 +02:00
kaetemi
86870d66fb Pull weather updates out of scene render 2013-07-04 22:39:05 +02:00
kaetemi
bfae91eb88 Correctly apply bloom on oversize screenshots 2013-07-04 22:26:31 +02:00
kaetemi
ee227aaf9c Refactor fulldetail override 2013-07-04 22:18:19 +02:00
kaetemi
362024aff3 Merge with default 2013-07-04 21:12:34 +02:00
kaetemi
6113b07673 Distort 2D gui as well, ref #43 2013-07-04 21:12:11 +02:00
Jan Boon
f10ee56560 Merged in botanic/rc-botanic-webdev (pull request #13)
warning and path fix's
2013-07-04 21:07:21 +02:00
kaetemi
4402fbe1c2 Correctly synchronize some more animation in snowballs, re #43 2013-07-04 20:43:49 +02:00
kaetemi
4b2ea661cc Fix particles being animated twice in stereo render, see #43 2013-07-04 00:42:06 +02:00
kaetemi
fd1d606154 Add stereo debugger for visually comparing rendered frames, ref #43 2013-07-04 00:09:10 +02:00
kaetemi
d57b7b39fe Use width instead of height of screen for hmd fov, re #43 2013-07-03 06:04:37 +02:00
kaetemi
a531535dfa Add minimal head model and world scale, ref #43 2013-07-03 05:21:32 +02:00
kaetemi
299b3ec401 Make bloom work together with render target used for the rift shader, ref #43 2013-07-03 03:53:32 +02:00
kaetemi
9516851bee Remove unnecessary user render target code from bloom, see #43 2013-07-03 03:21:57 +02:00
kaetemi
81c23af33b Merge with default 2013-07-03 03:17:29 +02:00
kaetemi
e3784571cd Add arbfp1 and fp40 barrel fragment programs, see #43 2013-07-02 19:39:05 +02:00
kaetemi
118340d821 Test arbfp1, see #43 2013-07-02 18:48:29 +02:00
kaetemi
c6a7432d86 Properly scale seconds per frame graph in snowballs 2013-07-02 18:43:28 +02:00
kaetemi
2315ae9c5a Prefer NPOT texture over RECT texture 2013-07-02 18:43:15 +02:00
kaetemi
a924479a5c Render left and right deformed view, re #43 2013-07-02 03:34:49 +02:00
kaetemi
6b8d43181d Test the barrel shader, see #43 2013-07-02 02:40:27 +02:00
kaetemi
76d7146a42 Workaround in snowballs for fullscreen bug with opengl driver 2013-07-02 01:08:49 +02:00
kaetemi
3a12aa5894 Render the scene to a target texture for the stereo rendering filter, ref #43 2013-07-02 00:55:13 +02:00
kaetemi
3b630492aa Fix a render target issue, see #43 2013-07-02 00:53:45 +02:00
kaetemi
ffc91631e7 Create stereo render target, see #43 2013-07-01 23:23:54 +02:00
kaetemi
f25a9da718 Add interface for stereo display render targets, ref #43 2013-07-01 21:23:47 +02:00
kaetemi
2b653d2904 Allow turning off bloom in snowballs 2013-07-01 20:38:18 +02:00
kaetemi
9960b9dfdb Cleanup 2013-07-01 20:15:55 +02:00
kaetemi
ebba0c1917 Allow linking debug and release with same mysql lib if no specific debug lib. 2013-07-01 18:45:43 +02:00
kaetemi
b04d278a27 Create interface classes for stereo displays and head mounted displays, see #43 2013-06-28 23:19:32 +02:00
kaetemi
3a4204e091 Separate some camera related functions, ref #43 2013-06-27 04:11:09 +02:00
kaetemi
f84f5807c1 Move some config stuff out of main_loop.cpp, see #43 2013-06-27 03:49:30 +02:00
kaetemi
1928c9c679 Remove some unused includes, re #43 2013-06-27 03:16:53 +02:00
kaetemi
1e461ec4f3 Some more debug functions moved, see #43 2013-06-27 03:04:40 +02:00
kaetemi
d919591093 Moved some temp code out of main_loop.cpp, ref #43 2013-06-27 02:43:51 +02:00
kaetemi
a046b1c494 Take some debug render code out of main_loop.cpp, see #43 2013-06-27 02:13:48 +02:00
kaetemi
825ebb3335 Separate some profiling code from main_loop.cpp, see #43 2013-06-27 01:43:04 +02:00
kaetemi
b9334e3722 Pull CPing out of main_loop.cpp, refs #43 2013-06-27 01:23:53 +02:00
kaetemi
9526910d4b Return view as CQuat, see #43 2013-06-26 21:36:21 +02:00
kaetemi
d404c1228c Create a clipping frustum, ref #43 2013-06-26 21:35:36 +02:00
kaetemi
2f4867ab78 Allow multiple user cameras to be calculated separately, useful for sky etc, re #43 2013-06-26 20:57:37 +02:00
kaetemi
4a579d0af2 Fix warning 2013-06-26 20:10:30 +02:00
kaetemi
eb196fd99a Adjust 2D interface shift, re #43 2013-06-26 19:58:27 +02:00
kaetemi
06e96929af Move snowballs compass, see #43 2013-06-26 17:38:20 +02:00