[02:14:41] --> DominusExult has joined #exult
[02:14:41] --- ChanServ gives channel operator status to DominusExult
[02:15:40] --> TheCycoONE has joined #exult
[02:15:53] <-- TheCycoONE has left IRC (Client Quit)
[02:16:37] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[02:16:37] --- DominusExult is now known as Dominus
[06:19:27] <-- Lightkey has left IRC (Ping timeout: 244 seconds)
[06:32:40] --> Lightkey has joined #exult
[07:24:50] --> vimus has joined #exult
[12:48:43] <-- Kirben has left IRC (Ping timeout: 255 seconds)
[16:05:36] <-- ParuCodex has left IRC (Read error: Connection reset by peer)
[16:06:09] --> ParuNexus has joined #exult
[16:18:10] --> shrm4 has joined #exult
[16:20:53] <-- sh4rm4 has left IRC (Ping timeout: 265 seconds)
[16:38:21] <-- vimus has left IRC ()
[19:05:26] <Dominus> uhm, something wrong with sourceforge svn?
[19:06:01] <Dominus> or I'm not recognized anymore
[19:06:41] <Dominus> actually no, that can't be nothing changed since my last commit
[19:07:59] <Dominus> "Can't create directory '/svn/p/exult/code/db/transactions/7492-1.txn': Read-only file system"
[19:10:10] <Dominus> https://twitter.com/sfnet_ops/status/544539206056292352
[19:31:58] * Dominus is still hitting a wall with the prev thing...
[20:25:46] --> Kirben has joined #exult
[20:25:46] --- ChanServ gives channel operator status to Kirben
[20:27:32] <wjp> Dominus: what's the current full cheat_screen.cc you have? (not just the patch)
[21:40:14] <-- ParuNexus has left IRC (Read error: Connection reset by peer)
[21:41:11] --> ParuNexus has joined #exult
[21:45:07] <Dominus> wjp, a bit late but https://dl.dropboxusercontent.com/u/7737184/exult/cheat_screen.cc
[21:48:20] <Dominus> and the patch https://dl.dropboxusercontent.com/u/7737184/exult/cheatscreen.diff
[21:51:03] <wjp> right
[21:51:18] <wjp> the prev in SharedPrompt is entirely unconnected to the prev in TeleportActivate
[21:52:08] <Dominus> how do I connect those?
[21:52:40] <wjp> I'd maybe just use two CP_ cases
[21:52:52] <wjp> CP_NLatitude, CP_SLatitude or so
[21:56:16] <Dominus> he he, that's a bummer, when I thought I could copy the more clever way you showed me when it was about displaying the geo coordinates :)
[21:56:52] <wjp> you can keep more global state of course. You do already store the lat value anyway
[21:57:36] <wjp> but the SharedPrompt function isn't really tailored to that as it is
[21:58:09] <Dominus> I was wondering, do I need to do something about that static int lat? does it need to be freed or something like that or is that thinking too much?
[21:58:39] <wjp> no need for that
[21:59:07] <wjp> it's not a really "pretty" way of handling state, but neither is the existing "prev"
[21:59:20] <wjp> but it works fine as it is
[22:01:08] <Dominus> thanks, it does look as if it could use some prettying up but it's probably one of those things that will lead to crazyness because you will suddenly find yourself rewriting Exult...
[22:01:40] <wjp> it wouldn't go quite _that_ far :-)
[22:02:24] <Dominus> just wait until I'm finished and added the hex teleport stuff as well :)
[22:03:28] <Dominus> sometimes I imagine you or marzo looking over my shoulder while I struggle with getting the stuff to work. Especially the cringing and groans :)
[22:23:29] <Dominus> wjp: https://dl.dropboxusercontent.com/u/7737184/exult/cheatscreen.diff is a working diff now. Anything you think should be cleaned up further, or could be done in a more direct way, please tell me!
[22:23:57] <Dominus> (it's not as if I could commit that now with SVN being read only atm)
[22:29:37] <wjp> it's probably better not to change SharedInput, and do that handling in TeleportCheck instead
[22:30:03] <wjp> SharedInput has three modes: single key, numeric, and text
[22:30:23] <wjp> you just want the single key one for the N/S W/E choices, with TeleportCheck then checking for valid keys and setting mode
[22:30:26] <wjp> I think
[22:31:11] <wjp> (SharedInput is intended to be free of any function-specific logic)
[22:32:06] <wjp> but I'm a bit confused
[22:32:26] <Dominus> ok, I'll see what I can come up with tomorrow. I used shared input because everything checking the input was already set up there.
[22:32:39] <wjp> oh, it might not actually support that in its current form
[22:33:22] <wjp> because it only reads a command if mode is actually CP_Command
[22:34:01] <Dominus> yes
[22:34:35] <wjp> so I may have to hack in some "subcommand" modes
[22:35:00] <wjp> so just keep it as it is right now, and I'll see about moving it later
[22:35:41] <Dominus> thanks. will do.
[22:36:34] <Dominus> when you do that, I thought of adding a special input for the hex coords as well. only allowing numbers and letters a-f (and the -1)
[22:37:31] <Dominus> but then it could just use the normal text mode and I guess the teleport logic will invalidate anything that is not actually a hex
[22:45:04] <Dominus> hmm, I probably misunderstood you and you meant with later that I should commit that and you would change it later and not sit on it and you would change it before I commit it... :)
[22:46:05] <wjp> yes, the former :-)
[22:46:29] <Dominus> :)
[22:46:55] <Dominus> k, will do so tomorrow, once SF allows writing to SVN again
[22:47:29] <wjp> I won't be around tomorrow, by the way
[22:47:34] <Dominus> and then I'll add the hex stuff and the most important feature of the original is in Exult!!!!!
[22:48:43] <Dominus> so I'll know when I'm talking to myself here I'm *really* talking to myself :)
[22:49:16] <Dominus> thanks for looking into it, wjp.
[22:49:22] <Dominus> good night!
[22:53:34] <wjp> night
[22:59:11] --> Rottingbeef has joined #exult
[23:13:29] <-- ParuNexus has left IRC ()
[23:14:04] --> ParuNexus has joined #exult