#pentagram@irc.freenode.net logs for 14 Mar 2006 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:07:30] <-- Kohlrabi has left IRC (Nick collision from services.)
[00:07:36] --> Kohlriba has joined #pentagram
[00:14:18] <Dark-Star> Colourless: how did you handle the va_copy() stuff in your MSVC build?
[00:20:51] <Colourless> #define va_copy(a,b) do { (a)=(b); } while(0)
[00:22:39] <Dark-Star> ah, so you don't need to do a deep copy of a? I wasn't sure about that so I removed it completely and replaced it with a regular fprintf :)
[00:23:26] <Dark-Star> s/of a/of b/
[00:59:13] --> no_nick00 has joined #pentagram
[00:59:28] <-- no_nick00 has left #pentagram ()
[01:02:01] --> no_nick00 has joined #pentagram
[01:02:03] <-- no_nick00 has left #pentagram ()
[01:35:11] <-- Dark-Star has left IRC ()
[02:10:14] <-- Kohlriba has left IRC (Read error: 104 (Connection reset by peer))
[03:39:13] --> peewee_zz has joined #pentagram
[03:39:32] <peewee_zz> I'm back... this time with chaos gems
[03:41:21] <peewee_zz> Has anyone tried to compile pentagram in Lcc before?
[03:43:34] <peewee_zz> I don't have too much time to fool around with it tonight but I'll see if I can come up with anything. I think I'm going to need some real time help getting this to compile the first time seeing as I'm so used to MSVC so I'll stop in tommorrow with some specific questions... The pentegram engine looks beautiful good job everyone
[03:45:08] <Colourless> lcc is ANSI C only. Pentagram wont compile in it
[03:45:37] <Colourless> i'm in the process of cleaning up my MSVC 2005 Express projects and putting them into SVN
[03:46:53] <peewee_zz> All i've got is a student version of MSVC 6 and the freeware 2003 toolkit. I think it's in my best interest to install GCC
[03:47:14] <Colourless> express 2005 is free!
[03:47:49] <peewee_zz> I remember my friend telling me about that... when i went to look for it i thought he was talking about toolkit 2003.. Where do i get expresS?
[03:48:57] <peewee_zz> nm i found it. Thanks a lot
[03:49:11] <Colourless> http://msdn.microsoft.com/vstudio/express/default.aspx
[03:50:57] <peewee_zz> Hey that was a real pick me up for an otherwise bad day. I'll tell everyone that you're oderless too. J/k but thanks again
[03:51:05] <-- peewee_zz has left IRC ("Not that there is anything wrong with that")
[04:16:17] <watt> ugh. Over 12 hours at work excluding time to get food. But at least I'm getting stuff done.
[05:30:36] <watt> wjp:http://fallofrome.dyndns.org:8080/images/Credits.gif
[05:31:03] <watt> I have no concept of how good or bad that looks at this moment... I'll mess with it more later.
[05:32:20] <watt> I really should just write something to render those images.
[05:44:26] <-- Colourless has left IRC (Read error: 110 (Connection timed out))
[06:07:40] --> Colourless has joined #Pentagram
[06:07:46] --- ChanServ gives channel operator status to Colourless
[06:25:52] * Colourless snickers at another commit email waiting for 'moderator approval'
[06:29:55] <Colourless> msvc projects committed... finally
[09:13:36] <wjp> I think I'll go see if I can increase the size limit :-)
[09:13:55] <wjp> oh, don't have the admin password here
[09:17:19] <Colourless> :-)
[09:19:11] <Colourless> is it only ever me who causes those?
[09:19:18] <wjp> mainly ;-)
[09:19:29] <wjp> I cause a couple myself as well from time to time
[09:19:35] <Colourless> i guess i 'sit' on changes for a bit long before committing
[09:20:16] <wjp> I saw some background text overlapping a book gump yesterday
[09:20:38] <wjp> but only in very narrow vertical strips near the edges of the book
[09:20:51] <wjp> could there be some rounding problems causing that?
[09:21:12] <wjp> watt: thanks; I added it to svn
[09:23:57] <Colourless> yep probably
[09:24:46] <Colourless> i am a bit 'liberal' on the rounding
[09:24:49] <Colourless> tend to round up
[09:25:36] <wjp> maybe some form of 'round to even numbers' strategy works here
[09:44:36] --> Dark-Star has joined #pentagram
[09:51:48] <wjp> hi
[09:52:05] <wjp> Dark-Star: what language does stdout show pentagram thinks it has loaded?
[09:52:44] <Dark-Star> I'll check...
[09:53:53] <Dark-Star> Selected game: u8jap
[09:53:54] <Dark-Star> Ultima VIII: Pagan, Japanese, version 2.12, md5 304a315f7a436d18397c4ec544585f7e
[09:54:03] <Dark-Star> you meant that line?
[09:55:55] <Dark-Star> here's the complete log: http://www.regengedanken.de/~mdrueing/u8jap.log
[09:56:26] <wjp> and it's showing roman characters?
[09:56:31] <wjp> how strange
[09:57:13] <wjp> recent SVN I assume?
[09:57:22] <Dark-Star> yes, checked out yesterday
[09:58:03] <Dark-Star> I'll do an update, just in case
[09:59:11] <wjp> does u8japanese.ini contain a [fontoverride] section with 0,5,6,7,8,9 entries?
[09:59:29] <wjp> um, I meant a [jpfonts] section
[10:00:18] <Dark-Star> ah...
[10:01:59] <Dark-Star> now it works. for some reason there was no u8japanese.ini in my data/ directory yesterday... I'm sure I copied everything over to the game's data directory...
[10:02:26] <wjp> you don't strictly need a data directory if you build pentagram with the data files embedded in the executable
[10:02:48] <wjp> but that might need some trickery in the project file
[10:03:21] <-- Colourless has left IRC ("casts improved invisibility")
[10:03:44] <wjp> if you want to experiment with ttf fonts: get a ttf with kana and CJK, and put it in the data dir as kanji.ttf
[10:03:55] <wjp> if you then set 'ttf=true' it should pick it up
[10:04:10] <wjp> you might also need 'ttf_antialiasing=false' and/or 'ttf_highres=true'
[10:04:33] <Dark-Star> yes, I just noticed, the default kanji font is a bit "rough" ;-)
[10:09:48] <Dark-Star> ttf_antialiasing=true (default) looks much better, and ttf_highres=true seems to be default, because ttf_highres=false only makes the font twice as big
[10:12:24] <wjp> the font I tried produces garbage with ttf_antialiasing enabled
[10:12:29] <Dark-Star> is there an option to slow down the talk speed of NPCs? I'm can't read kanji that fast yet ;-)
[10:12:49] <Dark-Star> I tried ArialUnicode, this one works just fine
[10:14:26] <wjp> try 'vi gumps/BarkGump.cpp' :-)
[10:14:59] <wjp> there's a number of places where 'counter' is set
[10:15:04] <wjp> I'll make it an option at some point
[10:18:27] <Dark-Star> the mikachan font looks quite nice as replacement font :)
[10:19:41] <wjp> I'll take a look
[10:19:48] <Dark-Star> www.regengedanken.de/~mdrueing/images/u8jap_mikachan.jpg
[10:19:56] <wjp> you can fiddle with the pointsize in u8japanese.ini if necessary
[10:20:08] <wjp> (and the colours, and the size of the black border)
[10:20:08] <Dark-Star> I'm just not sure if it has the full kanji set which U8 requires
[10:20:30] <Dark-Star> the defaults look good, actually :)
[10:20:36] <wjp> does it have the 'bullet' used for conversation options?
[10:21:11] <Dark-Star> umm.. no :)
[10:22:01] <wjp> none of the CJK fonts I tried had it so far :/
[10:22:10] <Dark-Star> ArialUnicode has it
[10:22:34] <wjp> maybe there's a more common unicode character we can use for the bullet
[10:24:33] <Dark-Star> hm, we could ask the girl who does the mikochan font, she might add it for the next version
[10:38:48] <wjp> that would be mika? :-)
[10:40:55] <Dark-Star> I guess so, yes...
[10:42:35] <Dark-Star> http://www001.upp.so-net.ne.jp/mikachan/ is the link btw. Very impressive, drawing and scanning all these kanji by herself...
[11:39:37] --> Kohlrabi has joined #pentagram
[12:11:52] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[13:55:43] --> Kohlrabi has joined #pentagram
[14:51:09] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[15:13:01] --> Fingolfin has joined #pentagram
[15:13:01] --- ChanServ gives channel operator status to Fingolfin
[17:28:46] <-- Fingolfin has left IRC ("42")
[18:50:57] <wjp> Dark-Star: for the mikachan font, 0x25CF or 0x30FB are possibly 'bullet' characters for the conversation options
[18:51:14] <wjp> you can set it in misc/encoding.cpp at the top of shiftjis_to_unicode
[18:51:35] <wjp> s/bly/ble/
[18:52:01] <wjp> the former is a bit small, and the latter a bit large, though
[19:39:27] --> Fingolfin has joined #pentagram
[19:39:27] --- ChanServ gives channel operator status to Fingolfin
[20:11:53] <-- Fingolfin has left IRC ("42")
[21:47:16] --> Colourless has joined #Pentagram
[21:47:20] --- ChanServ gives channel operator status to Colourless
[21:58:23] <Colourless> hi
[22:00:23] <wjp> hi Colourless
[22:19:35] <wjp> I was thinking we should just make sure the 'clear' alpha fill is always at least as large as the 'set' alpha fill
[22:25:46] <Colourless> s/should/must/
[22:25:49] <Colourless> :)
[22:26:00] <Colourless> if the clear isn't as big as the set, might get some strange problems
[22:26:38] <wjp> currently it's the other way around due to the 'dims.w=ssx+1' in setupNextText I think
[22:28:45] <Colourless> a check might be to do a transparent fill of the regions
[22:28:59] <Colourless> to see what exactly is going on
[22:29:09] <Colourless> should have done that myself when i implmeented it
[22:30:04] <Colourless> say filling 33% red for alpha = 1, and then 33% blue for clear
[22:30:56] * wjp nods
[22:31:24] <wjp> hm, maybe we can change the unit conversion functions to always return a value that's rounded up
[22:31:47] <Colourless> i recommend just 'hacking' the FillAlpha function to check
[22:32:04] <wjp> if we then transform dims.w,dims.h back to screenspace in PaintComposited, things should work
[22:35:44] <wjp> I sohuld be going; I'll look at it some more tomorrow
[22:35:46] <wjp> bye
[22:37:29] <Colourless> night
[22:39:06] --> Kirben has joined #pentagram
[22:39:06] --- ChanServ gives channel operator status to Kirben
[22:52:00] <Colourless> willem if you want to do checking of it, at the top of the SoftRenderSurface::FillAlpha() function just uncomment #define CHECK_ALPHA_FILLS
[22:52:11] <Colourless> it will give you a nice visual representation of the fills
[23:18:38] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[23:27:29] <Dark-Star> wjp: I think 0x30fb (i.e the small one) looks good as conversation bullet
[23:30:23] <Dark-Star> wjp: Seems like pentagram either needs an "official" kanji font or yet another ini file which defines the bullets for some popular ttf fonts
[23:35:45] <-- Kirben has left IRC ("System Meltdown")
[23:39:22] --> Kirben has joined #pentagram
[23:39:22] --- ChanServ gives channel operator status to Kirben
[23:39:52] <-- Dark-Star has left #pentagram ()