Commit graph

698 commits

Author SHA1 Message Date
kaetemi
8a696b55e1 Fixed: Make build_soundbank tool work with latest changes
--HG--
branch : sound_dev
2012-06-03 16:00:43 +02:00
kaetemi
497ae4d09b Added: Temporary workaround for using sound sheet id without updated sheet id bin
--HG--
branch : sound_dev
2012-06-03 15:57:57 +02:00
kaetemi
6bc3ef2ba6 Changed: Also handle distMax with negative alpha in new manual rolloff function
--HG--
branch : sound_dev
2012-06-03 15:56:47 +02:00
kaetemi
2fc601c556 Changed: Avoid some more sqrt calculations
--HG--
branch : sound_dev
2012-06-03 02:00:32 +02:00
kaetemi
19d2d91f86 Added: Specific code for amplitude based rolloff to avoid unneccesary log10 and pow calls and improve performance
--HG--
branch : sound_dev
2012-06-03 01:50:53 +02:00
kaetemi
221d04642a Changed: Debug messages
--HG--
branch : sound_dev
2012-06-02 23:06:48 +02:00
kaetemi
fc4d91fad2 Fixed: Sound CSheetId implementation
--HG--
branch : sound_dev
2012-06-02 18:12:38 +02:00
kaetemi
f79f3fca48 Fixed: Sound CSheetID implementation (part 3) (partially tested)
--HG--
branch : sound_dev
2012-06-02 16:06:10 +02:00
kaetemi
9cd7498fe9 Fixed: Sound CSheetID implementation (part 2) (not tested)
--HG--
branch : sound_dev
2012-06-02 15:24:21 +02:00
kaetemi
3608f0a429 Added: Additional constructor for CSheetId with default type, in case the user did not put the type with the sheet name
--HG--
branch : sound_dev
2012-06-02 15:21:03 +02:00
kaetemi
aa7598efe2 Fixed: Sound CSheetId implementation (part 1) (not tested)
--HG--
branch : sound_dev
2012-06-02 14:54:39 +02:00
kaetemi
35503d03e5 Added: Missing implementation of initWithoutSheet to use CSheetId without a sheet_id.bin, required for leveldesign and build tools
--HG--
branch : sound_dev
2012-06-02 14:53:11 +02:00
kaetemi
cab401fa13 Merged: From default to sound_dev
--HG--
branch : sound_dev
2012-06-02 11:09:14 +02:00
dfighter1985
0155fd6ed4 CHANGED: #1471 CViewRenderer no longer depends on CClientConfig, and is now part of NELGUI, under the NLGUI namespace.
--HG--
branch : gui-refactoring
2012-06-02 02:09:58 +02:00
sfb
af454dd1cf Fixed EOL issues and added .hgeol file. 2012-05-29 08:31:11 -05:00
Fabien_HENON
a55297c29a Changed: #1469 StringId conversion to CSheetId for sounds
--HG--
branch : gsoc2012-fabien
2012-05-26 23:40:27 +02:00
Fabien_HENON
dd6f2f2611 Changed: #1469 Getting last version from default branch
--HG--
branch : gsoc2012-fabien
2012-05-26 21:38:30 +02:00
Fabien_HENON
f70bdc4032 Changed: #1469 StringId conversion to SheetId for sounds V2 (DOES NOT COMPILE YET)
--HG--
branch : gsoc2012-fabien
2012-05-26 19:21:19 +02:00
dfighter1985
2db0a5d06e CHANGED: #1471 CInterfaceExpr, CInterfaceExprNode and related classes are now in NELGUI and under NLGUI namespace.
--HG--
branch : gui-refactoring
2012-05-25 03:21:03 +02:00
kervala
e9692f5fea Fixed: Compilation under Mac OS X without -DWITH_STATIC_DRIVERS=ON 2012-05-24 20:28:19 +02:00
dfighter1985
4284b5f4d5 CHANGED: #1471 CInterfaceProperty is not part of the NELGUI library and is under NLGUI namespace.
--HG--
branch : gui-refactoring
2012-05-24 18:23:51 +02:00
dfighter1985
b834d9ea17 ADDED: #1471 added a global db manager for the GUI library, also added support for resizeing the CDB bank handler.
--HG--
branch : gui-refactoring
2012-05-24 00:55:50 +02:00
Fabien_HENON
5174e15521 Changed: #1469 StringId conversion to SheetId for sound (DOES NOT COMPILE YET)
--HG--
branch : gsoc2012-fabien
2012-05-23 22:27:39 +02:00
dfighter1985
f769f6fb0c CHANGED: #1471 Moved the stuff I moved to NELGUI library, under the NLGUI namespace.
--HG--
branch : gui-refactoring
2012-05-23 19:40:41 +02:00
dfighter1985
5a2a89b4fc CHANGED: #1471 Moved the previously refactored code to the NELGUI library.
--HG--
branch : gui-refactoring
2012-05-23 04:13:58 +02:00
kervala
b0c27a92ce Fixed: Some Windows.h inclusions 2012-05-21 10:03:08 +02:00
kervala
96372fb098 Changed: #878 Fix typos in comments/code 2012-05-19 23:43:42 +02:00
dfighter1985
1289f028a0 Moved some Lua stuff over to the NelGUI library.
--HG--
branch : gui-refactoring
2012-05-19 23:00:52 +02:00
dfighter1985
07b5992f94 Moved some Lua related string formatting methods from CInterfaceManager to
LuaHelperStuff namespace.

--HG--
branch : gui-refactoring
2012-05-19 00:00:09 +02:00
kervala
b0e48907d7 Fixed: #1328 Map time and weather Issue (synced with SVN, thanks!) 2012-05-18 20:53:59 +02:00
dfighter1985
b7feaa83cb Refactored the CEvent -> CEventDescriptor code in CInputHandlerManager. Extracted it as a new class CInputHandler, and moved some of it to CInterfaceManager.
--HG--
branch : gui-refactoring
2012-05-17 03:28:50 +02:00
kervala
097138eaba Changed: #1275 Compilation under Mac OS X 2012-05-15 12:58:20 +02:00
kervala
2e08d335ab Changed: #825 Remove all warnings when compiling Ryzom 2012-05-15 12:55:56 +02:00
kervala
d4372f4aa1 Changed: #1275 Use of NLDRIVERGL or NLDRIVERGLES namespaces with NL_STATIC to avoid duplicated symbols 2012-05-14 13:21:00 +02:00
kervala
db208efe92 Changed: #1275 Create an OpenGL ES driver 2012-05-13 17:43:46 +02:00
kervala
f7888cb7c9 Changed: #1275 Added OpenGL ES CMake module 2012-05-13 16:23:48 +02:00
kervala
5f04213d44 Changed: #1275 Create an OpenGL ES driver 2012-05-13 15:27:20 +02:00
kervala
dbd45081f4 Changed: Include OpenGL headers in "opengl" directory 2012-05-13 15:26:45 +02:00
kervala
7a23895df3 Changed: Update glext.h 2012-05-12 20:58:23 +02:00
kervala
26dd470afc Changed: #1275 Create an OpenGL ES driver 2012-05-12 20:56:37 +02:00
kervala
07dd298ed2 Changed: Include stdopengl.h in Objective-C files 2012-05-12 20:55:58 +02:00
kervala
f6c77399a9 Fixed: Renable PCH under for OpenGL driver under Mac OS X 2012-05-12 20:54:37 +02:00
kervala
cf5e9bc8d9 Changed: #1275 Create an OpenGL ES driver 2012-05-12 19:21:52 +02:00
dfighter1985
4996705ed7 Moved event descriptors under the NLGUI namespace.
--HG--
branch : gui-refactoring
2012-05-10 23:31:39 +02:00
dfighter1985
aed979a7fe Created NELGUI library, moved the GUI event descriptors there.
--HG--
branch : gui-refactoring
2012-05-10 22:17:04 +02:00
dfighter1985
10f7241449 Added new class CCDBManager, which encapsulates the separate CDB components into a easily (re)usable database solution. Also made CCDBSynchronized and CInterfaceManager use it.
--HG--
branch : cdb-refactoring
2012-04-27 22:49:38 +02:00
dfighter1985
982c57b70f Refactored the static branch observing code into a new class CCDBBranchObservingHandler. The CDB system *should* be fully reusable now!
--HG--
branch : cdb-refactoring
2012-04-22 06:45:35 +02:00
dfighter1985
decc92e75d Extracted the CDB bank handling code into a new class CCDBBankHandler, the CDB system should be now totally independent of Ryzom.
--HG--
branch : cdb-refactoring
2012-04-17 08:23:02 +02:00
dfighter1985
17eab4ef52 CDB is now part of NLMISC. However it still requires some work!
--HG--
branch : cdb-refactoring
2012-04-16 06:08:12 +02:00
kaetemi
b3260314ac Fixed: Crash on exit caused by incomplete music channel reset 2012-04-13 23:30:35 +02:00
kaetemi
adfffad551 Fixed: Typo 2012-04-13 14:15:04 +02:00
kaetemi
f17f7e726d Changed: #1459 Reserve functional group controller node names 2012-04-13 13:59:24 +02:00
kaetemi
def7d31721 Merge 2012-04-13 11:59:56 +02:00
kaetemi
cdb719130f Changed: #1459 Simplify the sound group controller interface 2012-04-13 11:54:20 +02:00
kervala
e3170b57bc Changed: #825 Remove all warnings when compiling Ryzom 2012-04-13 10:07:06 +02:00
kaetemi
de4e298fb6 Changed: Provide a fake sound name for fake CSound created by music channel 2012-04-13 03:10:13 +02:00
kaetemi
b13f0dcb34 Fixed: #1298 Replace assert with warning when physical sound source fails to play 2012-04-12 21:38:28 +02:00
kaetemi
4a02d20a4c Fixed: The default max distance for sources is now sqrt(numeric_limits<float>::max())
--HG--
branch : sound_dev
2012-04-12 18:16:53 +02:00
kaetemi
b371588b93 Added: Log warnings when setting excessively high max distances on sound sources
--HG--
branch : sound_dev
2012-04-12 18:06:33 +02:00
kaetemi
f9745080b5 Removed: Warning messages
--HG--
branch : sound_dev
2012-04-12 17:56:54 +02:00
kaetemi
d63bda28f4 Fixed: Relative positioning mode was not implemented in OpenAL library driver with manual rolloff enabled
--HG--
branch : sound_dev
2012-04-12 17:48:56 +02:00
kaetemi
b6025fc008 Fixed: Always commit 3d positioning when calling play on sources. This avoids having to wait for update call. Sources no longer cause loud noise when ryzom client finishes loading
--HG--
branch : sound_dev
2012-04-12 17:24:06 +02:00
kaetemi
015f47d71d Changed: #795 Handle safely when audio decoder fails to be created
--HG--
branch : sound_dev
2012-04-12 12:06:03 +02:00
kaetemi
a33f3e7e32 Merge
--HG--
branch : sound_dev
2012-04-12 00:28:10 +02:00
kaetemi
1cd4936ceb Changed: #795 #1460 Make sure the streaming thread safely stops in all cases
--HG--
branch : sound_dev
2012-04-12 00:25:26 +02:00
kaetemi
b486e22a96 Fixed: Typos and warnings
--HG--
branch : sound_dev
2012-04-11 23:34:36 +02:00
kaetemi
80bf70efbb Changed: Make CWinThread::start more sane, and fixed a typo
--HG--
branch : sound_dev
2012-04-11 22:05:18 +02:00
kaetemi
c0c5ee6d93 Fixed: Implementation for CPThread::isRunning()
--HG--
branch : sound_dev
2012-04-11 21:55:33 +02:00
kaetemi
1b49b59e02 Fixed: #795 Hang when stopping file stream source that is synchronously waiting for play
--HG--
branch : sound_dev
2012-04-11 21:51:01 +02:00
kaetemi
c03655b0ba Added: Some sort of implementation for CPThread::isRunning()
--HG--
branch : sound_dev
2012-04-11 20:20:02 +02:00
kaetemi
695dac7783 Added: #1460 Music channel on top of stream file source when driver does not have built-in music channels
--HG--
branch : sound_dev
2012-04-11 19:30:37 +02:00
kaetemi
2f504788f0 Added: #795 Synchronous loading of audio file streams
--HG--
branch : sound_dev
2012-04-11 18:07:16 +02:00
kaetemi
bbd291a089 Added: #795 Streamed audio file sound source
--HG--
branch : sound_dev
2012-04-11 17:39:46 +02:00
kaetemi
57aa8b4d74 Fixed: #795 Removed unused include
--HG--
branch : sound_dev
2012-04-11 15:45:59 +02:00
kaetemi
19599cd9f5 Changed: Allow changing looping parameter of audio decoder after init
--HG--
branch : sound_dev
2012-04-11 15:44:02 +02:00
kaetemi
1758ed6a96 Added: Function to set thread priority
--HG--
branch : sound_dev
2012-04-11 15:38:49 +02:00
kaetemi
268f2e247f Fixed: Potential bug in CWinThread, someone using a mutex on the stack again
--HG--
branch : sound_dev
2012-04-11 13:24:03 +02:00
kaetemi
1b88f2782b Moved: #795 CAudioDecoder from stream ogg vorbis sample to nlsound
--HG--
branch : sound_dev
2012-04-11 11:52:28 +02:00
kaetemi
09717924cf Removed: #795 CMusicBuffer from sound lowlevel
--HG--
branch : sound_dev
2012-04-11 11:40:42 +02:00
kaetemi
7a95fae1f9 Changed: Improve performance of ryzom client CSoundManager. Strange code, though.
--HG--
branch : sound_dev
2012-04-11 00:48:47 +02:00
kaetemi
b15e014a9d Changed: #795 Move vorbis dependency to nlsound and group project files
--HG--
branch : sound_dev
2012-04-10 20:40:24 +02:00
kaetemi
84f11c6327 Fixed: #1459 Done
--HG--
branch : sound_dev
2012-04-10 18:18:58 +02:00
kaetemi
11f0872a01 Added: #1459 Load group controller from sound sheets
--HG--
branch : sound_dev
2012-04-10 16:32:04 +02:00
kaetemi
0b64102ab8 Added: #1459 Group controllers for sound sources
--HG--
branch : sound_dev
2012-04-10 15:24:35 +02:00
kaetemi
57411c0a7b Added: FormatNotSet value for TBufferFormat
--HG--
branch : sound_dev
2012-04-10 00:06:05 +02:00
kaetemi
c4adc53a0f Removed: #795 XAudio2 music implementation
--HG--
branch : sound_dev
2012-04-09 21:46:07 +02:00
kaetemi
8491bd4829 Removed: OpenAL music implementation
--HG--
branch : sound_dev
2012-04-09 21:12:48 +02:00
kaetemi
dd02d76df8 Reverted: 3fdff8debe52 No comment
--HG--
branch : sound_dev
2012-04-09 20:28:14 +02:00
kaetemi
19546acade Reverted: a1603fc4efbf Only release internal resources in driver destructor, not the driver classes, otherwise there will be crashes on exit. The driver classes are deleted by the application.
--HG--
branch : sound_dev
2012-04-09 20:18:13 +02:00
kaetemi
f858bbfbe9 Added: Log warnings when setting excessively high max distances on sound sources
--HG--
branch : sound_dev
2012-04-09 20:00:53 +02:00
kaetemi
87ba382ef5 Reverted: dc87ef1a34b6 Parameter distMax depends on fixed values in sheets and other code. Using this to switch between rolloff and minimum sound is likely causing the glitchy sound volumes of background sounds. Must be fixed in whatever code is using too large value of distMax instead, and not here.
--HG--
branch : sound_dev
2012-04-09 19:03:48 +02:00
kaetemi
afdbc97039 Reverted: 2424536ec6f9 The setAsyncLoading function is used for a different purpose. In our case, async means that the file is read on the fly, and otherwise it is fully loaded into memory before being encoded. Synchronous mode is used for example during loading when hard disk access is not guaranteed.
--HG--
branch : sound_dev
2012-04-09 18:42:31 +02:00
kervala
0ac33d338a Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 15:04:26 +02:00
kervala
3c47b9f8d5 Fixed: #1441 Remove all remaining .vcproj, Makefiles, automake scripts, etc... 2012-03-03 10:49:42 +01:00
kaetemi
16835cc4b6 Fixed: #620 Incorrect usage of mutex in particle system loader 2012-03-02 22:43:42 +01:00
sfb
efa4fbdbf1 merge 2012-02-29 09:32:53 -06:00
kervala
d50e7369cf Changed: #878 Fix typos in comments/code 2012-02-27 10:01:45 +01:00
kervala
dbb327deb0 Changed: #1433 Merge changes from patch 1.13 2012-02-27 09:59:27 +01:00
kervala
f0008d9952 Changed: #1219 Bad color when rgba.cpp is compiled with GCC 4.2.4 2012-02-21 21:11:04 +01:00
kervala
e7a2f7e121 Changed: #825 Remove all warnings when compiling Ryzom 2012-01-02 15:41:22 +01:00
sfb
5106a12702 Fixed: #1359 Applied patch from GelluleX adding cut/paste functionality to Ryzom for OSX. 2011-12-07 07:20:05 -06:00
sfb
5cf3e1f4d7 Fixed: #1367 Added ifdef for OSX 10.7 GL API changes. Thanks GelluleX. 2011-12-07 07:16:37 -06:00
kervala
0a4b19c6a7 Changed: #1328 Map time and weather Issue (patch provided by Sywindt) 2011-10-29 15:34:04 +02:00
kervala
71cd03fc96 Fixed: #1376 Wrong NeL window position with Compiz 2011-10-15 16:42:03 +02:00
kervala
d5e97e9729 Changed: #1366 No Ryzom client icon under Ubuntu with Unity + Compiz 2011-10-08 12:16:47 +02:00
kervala
5fcea27aa1 Fixed: #1366 No Ryzom client icon under Ubuntu with Unity + Compiz 2011-10-08 11:01:10 +02:00
kervala
6306833423 Changed: New option WITH_INSTALL_LIBRARIES which allows user to install only final binaries and no development files (header, static libraries, etc...) 2011-09-11 14:44:37 +02:00
kervala
74c2952c32 Changed: #1275 Create an OpenGL ES driver 2011-06-08 10:16:44 +02:00
kervala
81d2817c44 Changed: #878 Fix typos in comments/code 2011-06-08 10:14:14 +02:00
kervala
4027e82360 Changed: #825 Remove all warnings when compiling Ryzom 2011-06-05 18:06:00 +02:00
kervala
e254253fe0 Fixed: Number of processors under Linux 2011-06-04 14:01:56 +02:00
kervala
0cbb87bfe1 Fixed: Strings buffer overflow in config files 2011-06-04 14:01:32 +02:00
kervala
0913c3d667 Changed: #878 Fix typos in comments/code 2011-06-04 13:51:03 +02:00
kervala
7fd0b6fb7d Changed: Display unknown status in FBO errors messages 2011-06-04 13:50:33 +02:00
kervala
b4e09b1adc Fixed: X extensions list is truncated 2011-06-04 13:49:41 +02:00
kervala
7c27c233eb Changed: Exceptions catched by reference 2011-06-03 10:35:25 +02:00
kervala
043b845f6c Changed: Exceptions catched by reference 2011-06-02 18:44:48 +02:00
kervala
f9cc842b82 Changed: Exceptions catched by reference 2011-06-02 18:31:40 +02:00
vl
277fab9863 Fixed: #1273 problem with shift enter on shop window 2011-04-21 16:39:23 +02:00
vl
5407fe2518 Fixed: ugly fix to not crash when we cannot create a buffer #1116 2011-06-01 00:04:11 +02:00
rti
cd61e1531a merge 2011-05-31 18:12:25 +02:00
rti
1457deeb5e Fixed: #1006 On Mac OS X, do glFinish() after vertex program upload to ensure program is ready to use. 2011-05-31 18:10:32 +02:00
kervala
230039a5c3 Changed: #825 Remove all warnings when compiling Ryzom 2011-05-29 16:23:08 +02:00
kervala
c11e81dd7c Changed: #825 Remove all warnings when compiling Ryzom 2011-05-29 16:20:34 +02:00
kervala
a27b6cd2bd Changed: Use of CFile::createEmptyFile
Changed: #142 Replace atoi and sscanf by fromString when it's possible
2011-05-29 13:57:08 +02:00
kervala
8208ec219b Changed: Compilation with VC++ 2010 without STLport 2011-05-28 15:52:48 +02:00
rti
4a8749b06f merge 2011-05-26 21:55:10 +02:00
rti
67488d486d Fixed: Build error and assert when disabling NL_FORCE_INDEX_BUFFER_16 2011-05-26 20:57:23 +02:00
kervala
a09264c6c0 Changed: #878 Fix typos in comments/code 2011-05-26 16:20:17 +02:00
kervala
e909556883 Changed: #1177 VS 2010 does not work under CMake 2011-05-26 16:18:38 +02:00
kervala
db57bd0c11 Changed: #825 Remove all warnings when compiling Ryzom 2011-05-26 16:07:35 +02:00
kervala
6f78067a8d Changed: Merge changes from next patch 2011-05-26 14:14:29 +02:00
kervala
2d8136a283 Changed: #1275 Create an OpenGL ES driver 2011-05-15 17:11:16 +02:00
kervala
a272feeb9b Changed: #1275 Create an OpenGL ES driver 2011-05-01 19:11:10 +02:00
kervala
ae9de611f6 Changed: #1275 Create an OpenGL ES driver 2011-05-01 18:27:05 +02:00
kervala
3a647345a1 Changed: Replaced display of pointers using %d or %X by %p 2011-03-28 17:32:49 +02:00
kervala
3fd9f30695 Changed: #825 Remove all warnings when compiling Ryzom 2011-03-10 23:22:27 +01:00
kervala
5baccb8b54 Changed: #878 Fix typos in comments/code 2011-03-09 14:30:51 +01:00
kervala
3454cb2cec Fixed: Use of LOD meshes when it shouldn't (patch provided by Sywindt, thanks a lot) 2011-02-24 19:00:36 +01:00
kervala
6c4f4bb1df Changed: #1251 Code simplification and default values if not using config.h 2011-02-24 18:55:14 +01:00
kervala
1266d1d5a4 Fixed: #1251 NeL can't find selected drivers in CMake 2011-02-24 18:42:09 +01:00
kervala
535b75abd6 Changed: #1251 NeL can't find selected drivers in CMake 2011-02-24 18:01:31 +01:00
kervala
a8d8ec6e07 Changed: #878 Fix typos in comments/code 2011-02-21 16:08:32 +01:00
kervala
1ba49bad77 Changed: #825 Remove all warnings when compiling Ryzom 2011-02-21 13:32:56 +01:00
kervala
758682e473 Changed: Only use PCH if WITH_PCH is defined 2011-02-21 13:30:31 +01:00
aquiles
f61bbc3e08 Changed: #1150 fixed wrong includes for moved headers 2011-02-20 16:37:17 +01:00
aquiles
8504c5a72a Changed: #1150 Moved private headers 2011-02-18 21:27:31 +01:00
vl
51245d5f2f Changed: on mac, openal is always dynlib 2011-02-18 09:10:55 +01:00
kervala
56dc241c3d Fixed: Compilation under Linux with STLport 2011-02-11 18:05:19 +01:00
kervala
173686d99c Changed: #878 Fix typos in comments/code 2011-02-09 16:03:44 +01:00