#exult@irc.freenode.net logs for 24 Apr 2007 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:00:42] <Pupnik> seen this? http://pupnik.de/exult770.html http://pupnik.de/Exult_Ultima_VII_Nokia_770_02.jpg ?
[00:02:24] <Kirben> Nice work, would be good to see code changes submitted back to project, when port is complete.
[00:03:03] <Pupnik> i'm currently trying to figure out how to make it playable with just left mouse click
[00:04:45] <Pupnik> i'd like to call gwin->start_actor_along_path(), if SDL_MOUSEBUTTONUP and event.button.button == 1 and no object was clicked on and we are not dragging
[00:05:11] <Pupnik> but, to only call it after 500 ms, if no second SDL_MOUSEBUTTONDOWN click occurs during that time frame
[00:05:51] <Pupnik> after the initial SDL_MOUSEBUTTONUP
[00:06:58] <Pupnik> my initial implementation broke the double-click on object to initiate the dragging
[00:10:07] <Pupnik> so right now i don't think i can do it without adding a timeout event
[00:10:33] <Pupnik> that says "ok, there was a mousebuttonup, but no double click, so now you can initiate movement"
[00:11:46] <Kirben> I just do the Windows snapshot for Exult project, so I'm not familar with the source code. I think an alternative key combination, as replacments for the right mouse button, would be better choice though.
[00:12:22] <Pupnik> that would be safer certainly
[00:12:45] <Pupnik> but from a user standpoint, making them hold a button down to move around would be suboptimal
[00:12:55] <Pupnik> since most of your time is spent moving around
[00:17:29] <Kirben> Looking at the controls in images you posted, couldn't movement be controlled via four directional button (like using arrow keys on PC), when centre button been used as left mouse click?
[00:18:23] <Pupnik> currently the directional pad works to control movement also
[00:18:32] <Pupnik> but you tend to get stuck behind things frequently
[00:19:10] <Pupnik> the center button is mapped to RETURN and the curly arrow below it to ESC
[00:19:54] <Pupnik> so yeah it's playable as-is. but i've been moving around with single-taps on screen now, and having the avatar move to where you tapped is very, very nice
[00:20:56] <Pupnik> in fact, what would be easier for me, and probably a decent solution from a ui perspective
[00:21:17] <Pupnik> would be to hold down the center button on the d-pad to pick up an object, then drag it with the stylus
[00:22:27] <Pupnik> i can detect dragging, so the mousebutton(1) up event won't trigger the movement
[00:29:06] <Pupnik> i have great respect for this project, i'm just saying that as far as i can tell, the issue hasn't been solved for tablet PCs
[00:29:33] <Pupnik> and the discussion goes back to 2002, from the forums
[00:34:15] <Kirben> Might be best to ask on forums again, by replying to that old topic if possible.
[00:34:41] <Kirben> As not all developers drop by IRC channel.
[00:34:48] <Pupnik> good point - have done so. will keep up with this of course
[00:41:15] <Pupnik> heh now do i detect if return is being held down, it's not a current event
[00:42:03] <Pupnik> there's KMOD_ for the shift, ctrl and alt keys
[00:42:22] <Pupnik> q
[00:44:56] --- LordNAway is now known as Lord_Nightmare
[00:45:30] <Pupnik> Hello Lord_Nightmare
[00:45:37] <Lord_Nightmare> hi
[00:46:35] --> SB-X has joined #exult
[00:47:10] <Pupnik> is it necessary to left-double click on any items in the game for purposes other than to activate the dragging?
[00:48:44] <Pupnik> hmm i am failing to differentiate between double_click+release and double_click+drag
[00:50:22] <Kirben> Double clicking allows object to be used too.
[00:54:51] <Pupnik> btw I doubt i will be able to figure out the blitting errors -- 16bpp screen, and afaict it's running 8-bit mode internally
[00:55:00] <Pupnik> getting dirty rectangles around the edges
[00:55:29] <Pupnik> also copying errors from background when cursor is displayed
[00:59:44] <SB-X> cant you just not use the scalers?
[01:00:22] <Pupnik> errors happen with or without scaling
[01:01:54] <Pupnik> if you are curious, i can give more details.. can add 'cout's wherever you want
[01:02:16] <SB-X> oh nm, i thought it had to do with scalers, i forgot what modes Exult was designed for
[01:04:19] <Pupnik> i'll see if i can recreate the behavior using the qemu-arm cpu transparency and Xephyr x server
[01:05:07] <Pupnik> if so then i can create a vmware image that you can just run to see it at work, with the complete compiler and environment set up to debug
[01:08:32] <SB-X> Artaxerxes would probably be interested in that. He ported Exult to the Zaurus handheld computer.
[01:08:38] <-- SB-X has left IRC ("*casts gate travel*")
[01:13:45] --> SB-X has joined #exult
[01:55:15] <Pupnik> i love being able to pipe my couts to a terminal on my main PC
[02:51:39] <Pupnik> man this is confusing
[02:53:49] <Pupnik> ok 1/2 second after i mousedown (left) and hold it, after about 500msec i get to Handle_event and enter the SDL_MOUSEBUTTONUP case
[03:03:18] <Pupnik> ok brain not working anymore
[03:03:25] --- Pupnik is now known as Pupnik_zZz
[03:26:01] <-- SB-X has left IRC ("*casts gate travel*")
[03:36:12] <-- Kirben has left IRC ("System Meltdown")
[03:51:55] <Pupnik_zZz> puck2099 may have the fix to the gfx issue
[03:51:59] <Pupnik_zZz> "Fixed graphic problem that caused screen corruptions (thanks to Willem Jan Palenstijn member of the Exult Team), now it looks perfect :)"
[04:15:55] --> Kirben has joined #exult
[04:15:55] --- ChanServ gives channel operator status to Kirben
[04:16:31] <Pupnik_zZz> woot FOUND IT! Thanks mr Palenstijn!
[04:16:50] <Pupnik_zZz> was the x86 code in ibuf8
[05:08:38] --> shza has joined #exult
[07:11:12] <-- Baastuul has left IRC ("Oh, how I've dreamt of taps.")
[07:53:32] <wjp> what did I do? :-)
[08:04:36] --> Colourless has joined #Exult
[08:04:36] --- ChanServ gives channel operator status to Colourless
[08:10:26] <-- shza has left IRC ()
[08:30:59] --> shza has joined #exult
[08:32:31] <-- shza has left IRC (Client Quit)
[09:57:46] --> shza has joined #exult
[10:16:25] <-- shazza has left IRC (Success)
[10:24:54] --> shazza has joined #exult
[10:31:31] <-- shza has left IRC (Connection timed out)
[12:32:35] --> Pupnik_z1z has joined #exult
[12:44:14] <-- Pupnik_zZz has left IRC (Read error: 110 (Connection timed out))
[13:09:43] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[13:27:52] --> Darke has joined #exult
[13:59:49] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[14:10:10] --> Baastuul has joined #exult
[14:16:04] --> Darke has joined #exult
[14:56:36] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[15:27:35] <-- Colourless has left IRC ("casts improved invisibility")
[15:33:00] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[15:49:12] --> Darke has joined #exult
[16:02:51] --> Wudan has joined #exult
[16:18:05] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[16:28:44] <-- ParuNexus has left IRC (Read error: 104 (Connection reset by peer))
[16:32:29] --> ParuNexus has joined #exult
[16:34:57] --> Darke has joined #exult
[22:34:11] --> SB-X has joined #exult
[22:43:30] <-- Cahaan has left IRC ()
[23:37:10] --> Colourless has joined #Exult
[23:37:10] --- ChanServ gives channel operator status to Colourless
[23:43:57] <-- Wudan has left IRC (Remote closed the connection)