#nuvie@irc.freenode.net logs for 24 Sep 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:11:03] --> sbx has joined #nuvie
[04:03:05] --> Sheng_Gradilla has joined #nuvie
[04:03:44] <Sheng_Gradilla> :)
[04:29:02] <sbx> (:
[04:29:26] * Sheng_Gradilla hugs sbx
[04:30:28] <sbx> konbanwa
[05:32:49] * Sheng_Gradilla is away: No estoy
[07:41:47] --- sbx is now known as sbx|afk
[09:27:16] --> Yuv422 has joined #nuvie
[09:28:17] <Yuv422> bbl food
[10:41:49] --> Yuv422_ has joined #nuvie
[10:49:18] <Yuv422_> weird! I just went to move the party via the mouse
[10:49:32] <Yuv422_> and a yellow potion appeared
[10:49:37] <Yuv422_> at the mouse cursor
[10:49:45] <Yuv422_> then dropped onto the map
[10:50:33] <Yuv422_> ah
[10:50:55] <Yuv422_> I grabbed it from within a closed/blacked out shop. :(
[11:01:08] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[11:01:33] --- Yuv422_ is now known as Yuv422
[13:35:43] * Sheng_Gradilla is back (gone 08:02:51)
[13:41:23] <Yuv422> hi Sheng
[14:11:42] --> vividos has joined #nuvie
[14:11:56] <Yuv422> hi vividos
[14:12:31] <vividos> hi
[14:12:42] <vividos> I have some errors compiling nuvie
[14:12:54] <Yuv422> ah k
[14:13:02] <Yuv422> anything major?
[14:13:27] <vividos> well, first a warning: in Actor::defend the ac variable isn't initialized
[14:13:40] <Yuv422> hmm
[14:13:48] * Yuv422 looks
[14:14:34] <Yuv422> yeah you're right
[14:15:52] <Yuv422> that should probably be armor_class
[14:16:08] * vividos doesn't know
[14:16:11] <vividos> next one is in tilemanager.cpp, line 566. M_PI is unknown
[14:16:13] <Yuv422> I'm not sure what we are doing with that variable either
[14:16:53] <vividos> might be enough to do a #ifndef M_PI / #define M_PI 3.14159265 / #endif
[14:17:22] <Yuv422> that must be defined in a unix system include
[14:18:13] <vividos> math.h I guess
[14:18:34] <vividos> but nothing is mentioned in MSDN
[14:19:59] <Yuv422> architecture/ppc/math.h:#define M_PI 3.14159265358979323846 /* pi */
[14:20:10] <Yuv422> on my system
[14:20:16] <Yuv422> in /usr/include/
[14:20:27] <vividos> yeah. according to google it doesn't seem to be standard
[14:20:42] <Yuv422> is there a standard define?
[14:21:33] <vividos> hmm no. I saw that it is defined in nuvie\visualc7\vc7inc.h
[14:22:40] <vividos> I'll add that define to msvc_kludges.h, too, if it's ok for you
[14:22:52] <Yuv422> yes that sounds good
[14:23:14] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[14:24:17] <vividos> ok. next one is configuration.cpp, but it's only a warning. it includes "misc.h" before "nuvieDefs.h", resulting in some C4786 warnings that are disabled in "nuvieDefs.h". I would swap include order.
[14:29:50] <Yuv422> yeah I can't see any reason why we couldn't do that
[14:30:26] <vividos> ok
[14:30:30] <Yuv422> I've got a fairly large chunk of changes to commit
[14:30:36] <vividos> btw, saving screen is nice!
[14:30:41] <Yuv422> but I'll probably hold off till tomorrow
[14:30:45] <Yuv422> thanks
[14:30:55] <Yuv422> I've got to fix the screen drawing a bit
[14:31:01] <Yuv422> it flickers
[14:31:17] <Yuv422> as we are redrawing everything every cycle. :(
[14:31:52] <vividos> hmm flickering is bad. what frame rate do you have when redrawing every cycle?
[14:32:13] <Yuv422> that's a good question
[14:33:40] <vividos> and the flickering only appeared since your recent changes? or is it a known bug?
[14:33:51] <Yuv422> it's a known bug
[14:34:18] <vividos> hmm...
[14:34:23] <Yuv422> it might be a surface blitting issue
[14:34:30] <Yuv422> or a scaling issue
[14:34:56] <vividos> ok another compiler error, files/NuvieFileList.h includes <dirent.h> which isn't existing for msvc6
[14:35:11] <Yuv422> the mapwindow flickers sometimes too. :(
[14:35:13] <Yuv422> ah k
[14:35:32] <Yuv422> I think there is a dirent version in the vc7 stuff
[14:35:44] * vividos looks
[14:36:34] <vividos> well, commenting out the include also helped fixing compiling :) maybe it's not used anymore?
[14:36:50] <vividos> scratch that last one
[14:36:58] <Yuv422> :)
[14:39:38] <vividos> but I would suggest moving the <dirent.h> include into the .cpp file
[14:42:08] <Yuv422> yeah I can't see anything in the NuvieFileList.h file that needs dirent.h
[14:42:22] <vividos> should I move it?
[14:42:31] <Yuv422> yeah if you like
[14:42:42] * Yuv422 like a quicker compile
[14:42:45] <Yuv422> :)
[14:43:51] <vividos> I always like that :)
[14:44:30] <vividos> hmm compile error in NuvieFileList.cpp, the offending line is:
[14:44:35] <vividos> file_list.sort(NuvieFileDesc()); //sort list by time last modified in decending order.
[14:44:49] <Yuv422> ah
[14:45:20] <vividos> NuvieFileDesc() is just the constructor for a NuvieFileDesc object and most probably cannot be passed into std::list::sort()
[14:46:04] --> Fl00der has joined #nuvie
[14:51:16] <vividos> ah NuvieFileDesc should be used as greater-operator, I guess
[14:53:11] <Yuv422> stl was never my strong point
[14:53:34] <Yuv422> I might be doing things in a non portable way
[14:53:39] <Yuv422> I'm not too sure
[14:53:53] <vividos> do you use STLport?
[14:54:07] <Yuv422> no
[14:54:09] <vividos> have to look deeper into that problem, don't know a fix for now
[14:54:24] <Yuv422> righto
[14:56:09] <vividos> next one is a warning in msvc_kludges.h, roundf's return type wasn't specified, has to be float
[14:57:05] <Yuv422> ah k
[14:57:35] <vividos> then AnimManager.cpp uses std::vector but doesn't seem to include it
[15:01:52] <vividos> then, in Effect.cpp, FadeEffect::find_free_pixel, loop variable p is used twice, and that confuses msvc6 (old for() scoping). I'll change p to q if you don't mind
[15:02:23] <Yuv422> yeah that should be ok
[15:05:29] <vividos> hope I don't cause too much merge conflicts
[15:10:26] <vividos> now I have a nasty internal compiler error on dirent.cpp. I think I'll have to examine that one later
[15:14:57] <vividos> hope I can do some memory leak checks later :)
[15:17:25] <Yuv422> yeah memory leak checks are always good
[15:18:38] <Yuv422> I'm off to bed now
[15:18:39] <Yuv422> cya
[15:19:17] <Yuv422> I'll commit my changes tomorrow
[15:19:20] <-- Yuv422 has left IRC ("Yuv422 has no reason")
[15:20:56] <vividos> have to go too. bye!
[15:21:07] <-- vividos has left IRC ("Leaving")
[16:09:18] <-- Sheng_Gradilla has left IRC ("Terminando cliente")
[19:00:36] --- sbx|afk is now known as sbx
[20:10:34] <sbx> GUI_YesNoDialog.cpp and GUI_YesNoDialog.h both include GUI_Dialog.h
[20:14:16] <wjp> yeah, so it seems; not very useful I guess :-)
[21:56:08] <-- Fl00der has left IRC ()
[23:52:38] --> Kirben has joined #nuvie