Commit graph

1975 commits

Author SHA1 Message Date
dfighter1985
c0f13794de Added: #1471 CLuaManager, Singleton for the Lua state, the code parts that depend on a globally available Lua state now depend on this instead of CInterfaceManager. Also refactored the code so it's ready to be moved to the NELGUI lib.
--HG--
branch : gui-refactoring
2012-05-23 02:41:43 +02:00
dfighter1985
95a7d2667b Some more Lua refactoring, started to break CLuaIHM into 2 parts. CLuaIHM will be generic, CLuaIHMRyzom will contain the Ryzom only code.
--HG--
branch : gui-refactoring
2012-05-21 03:35:05 +02:00
dfighter1985
4e3552694a CLuaString will no longer depend on CInterfaceManager.
--HG--
branch : gui-refactoring
2012-05-20 00:59:31 +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
dfighter1985
e694c62fdc FIXED: Crash caused by CInterfaceLinkUpdater trying to remove itself after CInterfaceManager had been released.
--HG--
branch : gui-refactoring
2012-05-17 03:38:27 +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
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
d127d59807 Merging cdb-refactoring into gui-refactoring.
--HG--
branch : gui-refactoring
2012-04-28 21:36:39 +02:00
dfighter1985
34b88eee65 Merging default into cdb_refactoring.
--HG--
branch : cdb-refactoring
2012-04-28 19:55:46 +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
sfb
c0bbb9135e merge 2012-04-26 13:07:43 -05:00
sfb
e6df7a7703 Changed: #1306 Implemented add/removing parent sheets, moved everything out of Plugin and into GeorgesQt namespace to eliminate ambiguity with other plugins. 2012-04-26 13:05:53 -05:00
dnk-88
4bed6e3261 Changed: #1306 Improved ui of geqt 2012-04-23 20:30:57 +03: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
sfb
cd6dfef39d Changed: #1306 Added undo stack deeper (for later) and began adding form context menus proof-of-concept. 2012-04-20 15:40:02 -05:00
sfb
70ec74a97f Changed: #1306 Implemented core "open" action to load a form from an arbitrary location. 2012-04-20 12:46:18 -05:00
sfb
a5de55c18d merge 2012-04-18 11:08:44 -05:00
sfb
c2e63b9d9d Changed: Used a Regex to workaround the colon project name issue for VS10. 2012-04-18 11:07:01 -05:00
dfighter1985
46b139fb67 Documented CCDBBankHandler class.
--HG--
branch : cdb-refactoring
2012-04-18 04:15:34 +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
dfighter1985
29cde6e15b Moved xml auto pointer to nlmisc.
--HG--
branch : cdb-refactoring
2012-04-16 02:50:18 +02:00
dfighter1985
0b3eec581d CDB no longer depends on Ryzom database banks.
--HG--
branch : cdb-refactoring
2012-04-16 02:18:07 +02:00
dfighter1985
634739af81 CDB no longer depends on CInterfaceLink.
--HG--
branch : cdb-refactoring
2012-04-16 01:31:21 +02:00
kaetemi
b3260314ac Fixed: Crash on exit caused by incomplete music channel reset 2012-04-13 23:30:35 +02:00
kaetemi
e611666391 Fixed: Warnings 2012-04-13 23:29:18 +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
kervala
1b6c957c81 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-13 09:36:51 +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
ac948b8a53 Changed: #1461 Bad minimum value for comparing fast swim speed causes random switching between fast and slow swim speed particle effects 2012-04-13 03:06:52 +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
b68d8ca2aa Merged: From default to sound_dev
--HG--
branch : sound_dev
2012-04-12 18:21:26 +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
kervala
8e70469541 Changed: Define Release configuration for compilation checks and as default if not defined (must be defined before PROJECT) 2012-04-12 16:01:38 +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
1b41357a43 Fixed: #795 #1460 Linux compile of new sound samples
--HG--
branch : sound_dev
2012-04-12 00:27:03 +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
kervala
eeecc06601 Changed: #1448 Compilation with Clang 2012-04-11 23:59:55 +02:00
kervala
d0314c9e0e Fixed: Servers compilation if using static mysql library compiled with OpenSSL 2012-04-11 23:43:11 +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
41968b0674 Fixed: Compile error
--HG--
branch : sound_dev
2012-04-11 21:49:25 +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
3bbf48e699 Added: #795 Sample for creating a sound source using .sound sheet with .ogg file
--HG--
branch : sound_dev
2012-04-11 17:44:57 +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
70ca1197c5 Fixed: Typo in cmake project for stream sample
--HG--
branch : sound_dev
2012-04-11 15:45:04 +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
kervala
0028303c35 Changed: Some Debian multiarch fixes
Added: Option WITH_SYMBOLS to keep symbols when compiling in Release
2012-04-11 15:30:38 +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
1d0052d228 Changed: Turned off pitch change in stream ogg vorbis sample
--HG--
branch : sound_dev
2012-04-11 11:55:30 +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
1ab53c8bb2 Changed: Apply changes from CMusicBuffer to CAudioDecoder
--HG--
branch : sound_dev
2012-04-11 11:39:21 +02:00
kaetemi
18f75a4bd0 Changed: #1459 Use effects group controller for ryzom client effects volume control
--HG--
branch : sound_dev
2012-04-11 11:24:48 +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
a346ab59ad Merge: From default to sound_dev
--HG--
branch : sound_dev
2012-04-10 20:49:55 +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
kervala
e796c84824 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-10 13:50:23 +02:00
kaetemi
57411c0a7b Added: FormatNotSet value for TBufferFormat
--HG--
branch : sound_dev
2012-04-10 00:06:05 +02:00
kaetemi
b2971ffc0c Fixed: Update audio mixer during buffer streaming in streaming sample
--HG--
branch : sound_dev
2012-04-10 00:05:01 +02:00
kaetemi
5c1d3cc6c4 Moved: Sound sources sample to sound sample directory
Added: CMake configuration for ogg vorbis stream source sample

--HG--
branch : sound_dev
2012-04-09 22:36:12 +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
kaetemi
b1c9745c8d Added: Useful comment
--HG--
branch : sound_dev
2012-04-09 18:24:09 +02:00
kaetemi
0bc94787cb Fixed: Do not mess with the order of the old TSampleFormat enum
--HG--
branch : sound_dev
2012-04-09 18:21:41 +02:00
kervala
55f7150202 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-08 14:23:36 +02:00
kervala
36fcd706fa Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 23:47:55 +02:00
kervala
41747da931 Changed: Remove cariage return in build date 2012-04-07 23:16:04 +02:00
kervala
05d423ecdd Changed: Remove cariage return in build date 2012-04-07 22:47:03 +02:00
kervala
de9b4be9c6 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 22:30:39 +02:00
kervala
48e05d0056 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 20:04:08 +02:00
kervala
5027632925 Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 15:56:41 +02:00
kervala
18e11b2867 Changed: Some checks for Clang and MinGW 2012-04-07 15:11:18 +02:00
kervala
0ac33d338a Changed: #825 Remove all warnings when compiling Ryzom 2012-04-07 15:04:26 +02:00
kervala
cdcdc05e88 Fixed: #1448 Compilation with CLang 2012-04-07 14:57:15 +02:00