#exult@irc.freenode.net logs for 15 Nov 2016 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[01:18:32] <-- frob has left IRC (Ping timeout: 248 seconds)
[01:19:16] --> frob has joined #exult
[01:24:10] <-- frob has left IRC (Ping timeout: 260 seconds)
[01:27:04] <-- Marzo has left IRC (Ping timeout: 245 seconds)
[02:39:05] <-- Dominus has left IRC (Ping timeout: 265 seconds)
[02:39:26] --> Dominus has joined #exult
[02:39:26] <-- Dominus has left IRC (Changing host)
[02:39:27] --> Dominus has joined #exult
[02:39:27] --- ChanServ gives channel operator status to Dominus
[06:27:08] --> frob has joined #exult
[06:31:57] <-- frob has left IRC (Ping timeout: 250 seconds)
[06:36:15] <-- RadoS has left IRC (Remote host closed the connection)
[08:36:51] <-- Lightkey has left IRC (Ping timeout: 260 seconds)
[08:48:59] --> Lightkey has joined #exult
[08:54:34] --> frob has joined #exult
[08:59:10] <-- frob has left IRC (Ping timeout: 256 seconds)
[09:38:51] --> RadoS has joined #exult
[10:13:49] --> Marzo has joined #exult
[11:21:50] --> frob has joined #exult
[11:26:53] <-- frob has left IRC (Ping timeout: 265 seconds)
[14:50:00] <-- Rottingbeef has left IRC ()
[14:52:37] --> Rottingbeef has joined #exult
[15:13:44] <-- Marzo has left IRC (Disconnected by services)
[15:13:48] --> zymlpeebumzgcpxz has joined #exult
[15:13:50] --- zymlpeebumzgcpxz is now known as gcmlhlxaacmfudmq
[15:13:54] --- gcmlhlxaacmfudmq is now known as Marzo
[15:56:27] --> frob has joined #exult
[16:04:40] <-- frob has left IRC (Remote host closed the connection)
[16:45:43] <Dominus> Marzo, I made a little patch for the spellbook page turning, so each page gets turned to get back to the bookmarked page. (currently we only turn one page regardless of how many pages are between the bookmark and the current page)
[16:45:48] <Dominus> http://pastebin.com/dQDrWPyD
[16:46:10] <Dominus> but I guess this could be made shorter
[16:46:21] <Dominus> instead of two while statements
[16:46:32] <Dominus> This makes it more like the original.
[16:47:08] <Dominus> The original also always opens the spellbook to page 1 and then auto turns the pages to get to the bookmark
[16:47:20] <Dominus> I don't like that :)
[16:47:48] <Marzo> Something maybe like this:
[16:47:49] <Marzo> int delta = sign(bmpage - sgump->page); while (bmpage != sgump->page) sgump->change_page(delta);
[16:51:39] <Dominus> doesn't know what sign is
[16:51:58] <Dominus> use of undeclared identifier 'sign'
[17:23:50] <Marzo> Oh, I forgot, there is no such function in C or C++, I always add it to my projects
[17:24:40] <Marzo> Add this somewhere:
[17:24:54] <Marzo> template <typename T> int sign(T val) {return (T(0) < val) - (val < T(0));}
[17:25:03] <Marzo> (and feel free to reformat it)
[17:45:18] <Dominus> Thanks! With this I can probably manage it.
[17:50:06] <Dominus> Another thing Marzo, do you mind if I move the general load timbre etc messages to #ifdef DEBUG? While leaving those that might indicate an error
[17:50:35] <Marzo> Inside mt32emu?
[17:50:46] <Marzo> Might be better to just define the constants it needs
[17:51:23] --> frob has joined #exult
[17:52:19] <Dominus> These are in Lowlevelmidi driver
[17:52:33] <Marzo> Ah
[17:52:37] <Marzo> Feel free then
[17:52:54] <Dominus> K
[18:07:58] <-- frob has left IRC (Remote host closed the connection)
[18:09:11] --> frob has joined #exult
[18:18:34] <-- frob has left IRC (Remote host closed the connection)
[20:15:46] --> GitHub has joined #exult
[20:15:46] <GitHub> [exult] DominusExult pushed 2 new commits to master: https://git.io/vXDeJ
[20:15:46] <GitHub> exult/master 0e3eb0c DominusExult: Making LowLevelMidiDriver is less verbose now in non-Debug builds
[20:15:46] <GitHub> exult/master 3aa511e DominusExult: When you now click the Spellbook bookmark all pages between the current and the bookmarked page will turn....
[20:15:46] <-- GitHub has left #exult
[20:18:35] --> GitHub has joined #exult
[20:18:35] <GitHub> [exult] marzojr pushed 1 new commit to master: https://git.io/vXDe0
[20:18:35] <GitHub> exult/master 271d7a6 Marzo Sette Torres Junior: Getting rid of -Wunused-const-variable, since it generates thousands...
[20:18:35] <-- GitHub has left #exult
[20:30:29] --> frob has joined #exult
[20:34:47] <-- frob has left IRC (Ping timeout: 248 seconds)
[20:57:38] --> GitHub has joined #exult
[20:57:38] <GitHub> [exult] marzojr pushed 1 new commit to master: https://git.io/vXDL2
[20:57:38] <GitHub> exult/master a8e7f72 Marzo Sette Torres Junior: Fixing misleading identation in shortcutbar [-Wmisleading-indentation].
[20:57:38] <-- GitHub has left #exult
[20:58:34] --> frob has joined #exult
[21:07:59] <-- Marzo has left IRC (Ping timeout: 250 seconds)
[22:20:21] --> Marzo has joined #exult
[22:26:11] <-- frob has left IRC (Remote host closed the connection)
[23:07:02] --> frob has joined #exult