#exult@irc.freenode.net logs for 22 Apr 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[01:45:10] --> Kirben has joined #exult
[01:54:03] <matt0> hehe
[02:12:40] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[02:23:08] <-- Kirben has left IRC (Ping timeout for Kirben[co3007967-a.brasd1.vic.optushome.com.au])
[02:29:28] --> Kirben has joined #exult
[02:41:04] <-- Kirben has left IRC (Ping timeout for Kirben[co3007967-a.brasd1.vic.optushome.com.au])
[03:01:27] --> Kirben has joined #exult
[03:28:13] <-- Kirben has left IRC (Ping timeout for Kirben[co3007967-a.brasd1.vic.optushome.com.au])
[04:01:24] --> Kirben has joined #exult
[04:09:12] --> Alorelith has joined #exult
[04:18:17] --> Kirben2 has joined #exult
[04:18:25] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[04:20:26] <-- Kirben2 has left #exult
[04:20:28] --> Kirben2 has joined #exult
[04:20:32] <-- Kirben2 has left #exult
[04:20:36] --> Kirben has joined #exult
[04:23:46] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[04:24:21] <-- Alorelith has left #exult (Awaiting My Death)
[05:24:51] --> Kirben has joined #exult
[05:55:34] --> matt0 has joined #exult
[06:34:55] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[06:36:32] <-- matt0 has left IRC (Ping timeout for matt0[1667079149-yippy.dsl.xmission.com])
[06:39:09] --> matt0 has joined #exult
[14:58:00] --> exultbot has joined #exult
[14:58:06] <Colourless> you know, it wasn't here the entire time :)
[14:58:21] <wjp> bad exultbot! :-)
[14:58:54] <wjp> (or should I say: bad wjp for not implementing server-pings ;-) )
[15:12:01] <Colourless> all done :)
[15:12:37] <Colourless> oops. Didn't update BeOS Make file
[15:13:05] <wjp> long changelog entry :-)
[15:13:15] <Colourless> nor did i properly change the Windows makefiles either :)
[15:15:36] <wjp> conflicts in imagewin.cc :-/
[15:17:02] <Colourless> you'll need to bind a key to GAME_MENU
[15:17:07] <wjp> hmm, you changed the screenshot function to the unscaled surface?
[15:17:24] <Colourless> yeah, it's part of a bug fix
[15:18:04] <wjp> hmm, ah well
[15:18:28] <wjp> did you change anything in the mini_screenshot() function? (a bit hard to see because of the conflict)
[15:18:43] <Colourless> no
[15:20:21] <Colourless> hmm, what change did i actually make. I'm looking there and can't see any changes?
[15:21:18] <wjp> you changed Image_window::screenshot() to make a screenshot of unscaled_surface, instead of of scaled_surface when available
[15:21:33] <Colourless> yeah.
[15:24:02] <wjp> so far it's still building...
[15:27:32] <wjp> schedule.cc... almost there... :-)
[15:29:04] <wjp> hmm, undefined refs to the listfiles.cc functions
[15:29:31] <Colourless> what happened?
[15:30:22] <wjp> not sure
[15:30:44] <wjp> the Makefile.am's look ok
[15:32:12] <wjp> trying a clean configure+build...
[15:34:43] <wjp> still undefined refs
[15:34:55] <Colourless> is it being linked?
[15:37:25] <wjp> yeah, it's being linked into libu7file, and libu7file is being linked into exult
[15:37:26] <wjp> weird
[15:38:17] <Colourless> so are both U7ListFiles and U7FreeFileList undefined?
[15:38:40] <wjp> yes
[15:39:03] <Colourless> do you want to see if the file is being compiled properly?
[15:39:53] <wjp> no warnings/errors
[15:40:13] <Colourless> how about putting something in that will cause a warning or error?
[15:42:34] <wjp> breaks properly then
[15:43:20] <wjp> objdump says they're in the library too
[15:45:15] <wjp> ok, this is weird... if I include a call to U7FreeFileList in files/utils.cc, everything works perfecty
[15:45:19] <wjp> perfectly, even
[15:46:25] <Colourless> would this have anything to do with it?
[15:46:26] <Colourless> #ifdef HAVE_CONFIG_H
[15:46:26] <Colourless> # include <config.h>
[15:46:26] <Colourless> #endif
[15:46:34] <wjp> I already added that bit
[15:49:05] <wjp> I really don't get it
[15:49:09] <wjp> maybe it's a bug in gcc
[15:49:40] <wjp> #include "listfiles.h"
[15:49:41] <wjp> void dummy() {
[15:49:41] <wjp> U7FreeFileList(0,0);
[15:49:41] <wjp> }
[15:49:41] <Colourless> someone will need to write an email advising everyone that a version of U7ListFiles will need to be written for each system
[15:49:52] <wjp> adding that to files/utils.cc makes it work ?!?
[15:50:05] <Colourless> strange
[15:51:08] <wjp> I'm trying a build on my univ. account
[15:51:10] <wjp> brb
[15:51:15] <Colourless> ok
[15:53:48] <wjp> b
[15:53:57] <Colourless> wb
[15:57:33] <wjp> hmm, it segfaulted
[15:57:50] <Colourless> where
[16:00:36] <wjp> it seems reproducible
[16:01:28] <wjp> Game_window::save_gamedat, tries to delete save_names[10]
[16:02:15] <wjp> save_names[] can probably be removed entirely
[16:02:33] <wjp> although that will break the old gump
[16:02:39] <Colourless> yeah.
[16:03:09] <wjp> I'd say add a 'if 0<=num<=9'
[16:03:15] <Colourless> quick fix.... do that :)
[16:03:39] <Colourless> i didn't realize it was doing that... oops :)
[16:03:56] <Colourless> as I said, theoretically, it shouldn't break anything :)
[16:04:03] <wjp> hehe :-)
[16:04:41] <wjp> btw, univ's gcc produces same undef. ref. error
[16:04:53] <Colourless> damn strange
[16:09:05] * wjp is trying to get something useful out of objdump
[16:16:01] <wjp> adding a dummy function to exult.cc works too
[16:16:41] <Colourless> perhaps then it's got something to do with gumps?
[16:18:14] <wjp> I think the compiler decides not to link listfiles.o in when doing libu7file.a, because it hasn't found any reference to functions in it yet
[16:18:50] <Colourless> hmm, could be.
[16:19:59] <wjp> that's the problem with this library architecture
[16:21:16] <wjp> hmm, fixed it
[16:21:21] <Colourless> the win32 makefiles of course, don't use libraries, so it doesn't show the problem.
[16:21:44] <wjp> I added the libu7file.a library twice :-)
[16:21:57] <Colourless> that's a hack :)
[16:22:42] <wjp> oh, good. Just moving libu7file to the end worked too
[16:23:18] <wjp> ok, now let's clean up all the dummy functions I put all over the place
[16:24:04] <wjp> when you get cyclic library dependencies, you might really have to add things twice :/
[16:25:05] <Colourless> yeah.
[16:27:32] <wjp> (although you could also consider that bad design of the libraries)
[16:27:36] <wjp> ok, committed
[16:28:31] <wjp> (added config.h, added newline at end in listfiles.h, changed scaler, changed library order)
[16:34:03] --> Cless has joined #Exult
[16:34:08] <Cless> so, does it work :)
[16:34:24] <wjp> yup, it's working great
[16:34:47] <Cless> i fixed the save game name length problem as well
[16:34:47] <wjp> (apart from that save_names crash)
[16:35:10] <Cless> only in the new gump though. The old one still has the problem
[16:35:31] <wjp> save game name length problem?
[16:35:43] <-- Colourless has left IRC (Ping timeout for Colourless[ppp1943.adelaide.on.net.au])
[16:35:44] --- Cless is now known as Colourless
[16:35:45] <wjp> oh, the WWWWWWWWWWWWWWW
[16:36:03] <Colourless> yeah. go into the old gump and type lots of capital W's or M's
[16:38:18] <wjp> what order does it display them, btw?
[16:38:37] <Colourless> what do you mean? What is the sort order?
[16:38:59] <wjp> yeah
[16:39:08] <Colourless> newest first
[16:39:13] <wjp> really?
[16:39:39] <wjp> I'm saving games in the order a,b,c,d,e,f,g, and they turned up in e,d,f,g,b,c,a
[16:39:41] <Colourless> yeah, but, only if the game has been saved with the new code. Old games are sorted by number
[16:39:59] <Colourless> odd.
[16:41:43] <wjp> ah... it sorts them by minute
[16:42:01] <wjp> and games saved within the same minute are sorted by number
[16:42:18] <Colourless> yeah :)
[16:44:28] * wjp reverses by-number sort order
[16:44:39] <wjp> now it's gfdecba
[16:44:51] <Colourless> could add in seconds if you really wanted
[16:44:57] --> ariannerpg has joined #exult
[16:45:02] <wjp> the d<->e is because I saved e over an old game
[16:45:35] <Colourless> I think i'll add seconds
[16:46:08] <wjp> no need to display them, btw
[16:46:15] <Colourless> no, i wasn't going to
[16:46:51] <wjp> "num - other->num" is to preserve the 'old' savegame order?
[16:47:01] <Colourless> yes
[16:47:57] <wjp> ok, with seconds stored it could stay that way I guess
[16:48:31] <Colourless> yeah, it should :)
[16:50:33] <Colourless> i've made the changes. I'll commit after i've compiled
[16:55:30] <wjp> hmm, somehow I can't make any new saves... instead it overwrites the last one
[16:56:52] <Colourless> is that with the sort order changed?
[16:57:06] <wjp> it might be
[16:57:14] <Colourless> if so, you will have problems
[16:57:48] <wjp> ok, that did it :-)
[17:00:06] <wjp> you re-use empty slots?
[17:00:49] <Colourless> yeah
[17:01:12] <Colourless> ./imagewin/iwin8.cc:187: `MAXINT' undeclared (first use this function)
[17:01:22] <Colourless> that was your doing :)
[17:01:51] <wjp> hmm, #include <values.h>
[17:02:21] <Colourless> no....
[17:02:33] <wjp> oops, I put that in iwin8.h
[17:03:57] <wjp> limits.h?
[17:04:17] <wjp> and INT_MAX probably
[17:04:58] <wjp> although changing it to anything over 200.000 will do
[17:05:09] <Colourless> heh, i don't have that in my headers :)
[17:05:32] <Colourless> have INT_MAX though
[17:06:14] <wjp> there's a comment above values.h saying you shouldn't use it :-) oops
[17:06:35] <Colourless> care to fix the problem :)
[17:07:29] <wjp> committing...
[17:09:38] <Colourless> lets try again....
[17:10:11] <wjp> changing iwin8.h involves a lot of recompiling :-(
[17:10:32] <Colourless> heh. No dependancy checks :)
[17:10:46] <wjp> sure, but a lot of dependencies
[17:11:13] <wjp> umm.. that came out wrong, nm :-)
[17:30:11] <Colourless> Committed the sort by second change. Will only effect new save games, not the savegame you just made
[17:31:54] <wjp> also fixed the save_names[] issue?
[17:32:13] <Colourless> no
[17:32:28] <Colourless> I thought you were doing that :)
[17:33:54] <wjp> I was?
[17:34:19] <Colourless> fixed :)
[17:35:05] <Colourless> neither of I said we were going to do it so I assumed you... and you assumed me :)
[17:35:19] <wjp> yeah :-)
[17:36:02] * wjp rebuilds
[17:36:16] <wjp> quick one this time :-)
[17:38:27] * wjp deletes all in-between savegames
[17:42:23] --> Fingolfin has joined #exult
[17:42:32] <wjp> hi
[17:42:37] <Colourless> hi
[17:42:53] <Fingolfin> hiya
[17:43:07] <Colourless> don't blame us if exult doesn't compile... hang on it would be our fault :)
[17:43:07] <wjp> Fingolfin: does MacOS (either one) have glob()?
[17:43:19] <wjp> Colourless: shhh ;-)
[17:43:28] <wjp> Colourless: don't tell him it would be our fault...
[17:43:35] <wjp> ;-)
[17:43:38] <Fingolfin> that is fof wildcards, right? MacOS X is BSD, so it should. MacOS classic: nope
[17:44:04] <Fingolfin> I know it is always your fault if something breaks! At least as long as I know I didn't change anything in the past 48 hours ;)
[17:44:28] <Fingolfin> so, what did ya bad boys do this time, eh? what does father Max have to clean up after you this time? ;)
[17:44:31] <wjp> hmm... Ctrl-Alt-S isn't working in modal-gump mode
[17:45:42] <Colourless> nope, it doesn't
[17:45:53] <Colourless> http://www.users.on.net/triforce/finished.png
[17:46:15] <wjp> hmm, no updated scaler there yet
[17:46:36] <Colourless> ah yes
[17:47:14] <wjp> should we use i18n functions for the date? I don't like the mm/dd/yyyy format ;-)
[17:47:43] <Fingolfin> either i18n, or yyyy-mm-dd is what I usually do
[17:47:47] <Fingolfin> ISO dates rock ;)
[17:48:17] <Fingolfin> woa, that screen looks great!!!
[17:48:36] <Fingolfin> praise! it means that this time I won't chop your head, even if you will tell me you used glob() in Exult ;)
[17:49:54] <Colourless> yeah, it probably should be changed.
[17:52:35] <wjp> Fingolfin: the actual screen looks even better than finished.png... I did a somewhat better scaler this afternoon
[17:52:45] <Fingolfin> ;)
[17:57:36] <wjp> Colourless: it's working great!
[17:57:59] <Colourless> you don't say :)
[17:58:18] <wjp> :-)
[18:03:01] <wjp> mind if I #ifdef DEBUG some of the cout's in Newfile_gump.cc?
[18:03:19] <Colourless> yeah, they probably all should have had that done
[18:03:40] <wjp> I left the "saved game" and "delete game"
[18:03:47] <wjp> "deleted game", even
[18:05:00] <Colourless> ok
[18:05:14] <Colourless> i'm currently makinng changes for the date
[18:06:54] <wjp> oops... shouldn't have done 'cat saveinfo.dat' :-)
[18:08:42] --- Fingolfin is now known as Fingolfin|dinner
[18:13:00] --- wjp is now known as wjp|dinner
[18:13:04] <wjp|dinner> good idea :-)
[18:22:48] <Colourless> this better?
[18:22:48] <Colourless> http://www.users.on.net/triforce/newdate.png
[18:26:19] <wjp|dinner> wow, you did a full date, nice
[18:26:22] --- wjp|dinner is now known as wjp
[18:26:39] --- Fingolfin|dinner is now known as Fingolfin
[18:26:41] <Fingolfin> hm, yummy
[18:35:46] <Colourless> Committed
[18:42:44] --> mattownby has joined #exult
[18:44:05] <-- matt0 has left IRC (Read error to matt0[1667079149-yippy.dsl.xmission.com]: Connection reset by peer)
[19:01:51] <Colourless> time for bed
[19:01:58] <-- Colourless has left IRC (it)
[19:24:22] <-- ariannerpg has left IRC (Ping timeout for ariannerpg[nycch01.rr.com])
[19:35:22] <Fingolfin> time for bed over here, too
[19:35:25] <Fingolfin> cya
[19:35:26] <-- Fingolfin has left IRC (42)
[20:48:49] --> ariannerpg has joined #exult
[20:49:12] <-- ariannerpg has left IRC (Read error to ariannerpg[nycch01.rr.com]: EOF from client)
[21:15:16] --> ariannerpg has joined #exult
[21:19:02] <-- ariannerpg has left IRC (Read error to ariannerpg[nycch01.rr.com]: EOF from client)
[21:37:24] <-- ah42 has left IRC (bear.openprojects.net zelazny.openprojects.net)
[21:37:24] <-- mattownby has left IRC (bear.openprojects.net zelazny.openprojects.net)
[21:37:24] <-- chimera|wookin has left IRC (bear.openprojects.net zelazny.openprojects.net)
[21:37:24] <-- wjp has left IRC (bear.openprojects.net zelazny.openprojects.net)
[21:42:47] --> wjp has joined #exult
[21:42:47] --> chimera|wookin has joined #exult
[21:42:47] --> mattownby has joined #exult
[22:02:10] --> ah42 has joined #exult
[22:26:03] <-- wjp has left IRC ([x]chat)
[23:57:36] --> Kirben has joined #exult
[23:59:31] <mattownby> kirben! =]
[23:59:39] <Kirben> Hi