#gemrb@irc.freenode.net logs for 9 Aug 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:02:28] --> brad_ has joined #gemrb
[00:05:00] <-- traveler__ has left IRC (Ping timeout: 245 seconds)
[00:19:56] <-- Canageek has left IRC (Ping timeout: 252 seconds)
[00:25:49] --> brad___ has joined #gemrb
[00:25:49] <-- brad_ has left IRC (Read error: Connection reset by peer)
[00:28:46] <-- brad___ has left IRC (Client Quit)
[00:32:02] <-- tomprince has left IRC (Ping timeout: 252 seconds)
[00:33:21] --> tomprince has joined #gemrb
[00:34:11] --> brad_ has joined #gemrb
[00:58:41] --> joneirik has joined #gemrb
[01:05:26] <-- brad_ has left IRC (Quit: brad_)
[01:13:34] --> brad_ has joined #gemrb
[01:43:28] --> Canageek has joined #gemrb
[02:35:07] <brad_> tomprince: what do you make of random crashing when valgrind shows no invalid writes or reads?
[02:36:24] <brad_> hmmm
[02:40:49] <brad_> probably this thing about uninitialized value :p
[02:44:23] <brad_> ok thats gone so i guess ill see if the random crashing stops
[03:08:29] <-- brad_ has left IRC (Quit: brad_)
[03:34:23] --> Canageek|2 has joined #gemrb
[03:37:04] --> Canageek|3 has joined #gemrb
[03:37:28] <-- Canageek has left IRC (Ping timeout: 256 seconds)
[03:39:28] <-- Canageek|2 has left IRC (Ping timeout: 265 seconds)
[03:39:55] <-- Drakkar has left IRC (Read error: Connection reset by peer)
[03:43:53] --> Drakkar has joined #gemrb
[03:54:10] <-- Canageek|3 has left IRC (Quit: KVIrc 4.0.4 Insomnia The future is here. It's just not widely distributed yet. - William Gibson)
[03:59:42] <-- Drakkar has left IRC (Ping timeout: 248 seconds)
[04:16:53] --> Drakkar has joined #gemrb
[04:37:24] <-- joneirik has left IRC (Quit: Get used to disappointment.)
[07:04:38] --> lynxlynxlynx has joined #gemrb
[07:04:38] <-- lynxlynxlynx has left IRC (Changing host)
[07:04:38] --> lynxlynxlynx has joined #gemrb
[07:04:38] --- ChanServ gives channel operator status to lynxlynxlynx
[07:50:46] <-- wrotek has left IRC (Ping timeout: 246 seconds)
[08:01:07] --> Yoshimo has joined #gemrb
[08:08:38] --> wrotek has joined #gemrb
[08:11:49] --> traveler has joined #gemrb
[08:24:29] --> wrotek_ has joined #gemrb
[08:27:11] <traveler> just curious, have anyone tried clang static analyse?
[08:27:58] <-- wrotek has left IRC (Ping timeout: 248 seconds)
[08:34:23] <traveler> there is clang --analyze and scan-build utility
[08:37:39] <-- Yoshimo has left IRC (Quit: Yoshimo)
[08:45:27] <lynxlynxlynx> on gemrb? maybe tom
[08:53:26] <traveler> yes, on gemrb
[08:53:52] <edheldil> or mybe fuzzie
[08:53:53] --> Yoshimo has joined #gemrb
[08:53:57] <edheldil> Hi, guys
[08:54:31] <traveler> i've played a little, but i have not built "scan-build" and clang --analyze only lets you use one header only or i'm doing something wrong.
[08:54:32] <traveler> hi
[08:58:19] <lynxlynxlynx> even if it does, it could be easily scripted
[08:58:34] <lynxlynxlynx> not sure it would work right, maybe it needs dependencies
[08:58:45] <-- traveler has left IRC (Ping timeout: 245 seconds)
[09:01:53] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[09:54:06] --> traveler has joined #gemrb
[09:54:34] <traveler> when using unidentified arrows of detonation (arow02) thac0 is -32763
[09:54:36] <lynxlynxlynx> find -type f -name "*.h" -exec clang --analyze {} \; > clang.analyse.log # something like this
[09:55:03] <lynxlynxlynx> unindentifiedness can't affect that
[09:55:24] <traveler> ok, but the point stands
[09:56:48] --> kettuz has joined #gemrb
[09:58:28] <traveler> i get your one-liner. to be precise, clang --anlayze lets you state one directory to include all headers (eg. clang --analyze -I/usr/local/include)
[09:59:54] <traveler> i thought about copying/ linking but it seems really awkward and thats why i think scan-build is for whole 'projects' while --analyze for simple things with one include
[10:00:33] <lynxlynxlynx> arrows, overflow
[10:00:46] <lynxlynxlynx> where do you see this erratic value?
[10:02:32] <traveler> in character page
[10:05:11] <lynxlynxlynx> hah, really?
[10:07:46] <traveler> yup
[10:11:11] <lynxlynxlynx> what's the ref for the arrows?
[10:11:15] <lynxlynxlynx> 02 are plain +1
[10:11:38] <traveler> 06
[10:11:39] <traveler> sorry
[10:13:31] <lynxlynxlynx> i get it too, time to check it in dltcep
[10:15:14] <lynxlynxlynx> it actually has 32767 stored as the thac0 bonus
[10:15:16] <traveler> there is slight chance it was like it in orginal
[10:15:44] <traveler> well
[10:16:17] <traveler> detonation arrow
[10:16:20] <traveler> hard to miss
[10:16:20] <lynxlynxlynx> either they wanted to give a -1 malus or to make it always hit
[10:16:38] <traveler> so as i said, it was in orginal too
[10:16:46] <traveler> but intenrion is unclear
[10:16:50] <traveler> *intention
[10:17:11] <lynxlynxlynx> please add it to the todo page: check bg1 arow06 thac0 bonus in the original
[10:17:26] <traveler> np
[10:17:38] <traveler> under bg1?
[10:18:20] <lynxlynxlynx> arrow of slaying has +15
[10:18:32] <lynxlynxlynx> actually, no
[10:19:21] <lynxlynxlynx> http://www.gemrb.org/wiki/doku.php?id=developers:ietesting
[10:22:57] <traveler> ok
[10:23:58] <lynxlynxlynx> research topic page
[10:24:13] <lynxlynxlynx> some of the bugs you noticed need moving there too
[10:25:33] <traveler> ok, but a bit later
[10:28:34] --> wrotek has joined #gemrb
[10:28:57] <traveler> im pretty sure dudley didn't play with gemrb
[10:29:02] <-- wrotek_ has left IRC (Ping timeout: 248 seconds)
[10:29:06] <traveler> and this was checked against his walkthrough
[10:29:15] <traveler> *Chew toy, surgeon healing
[10:32:11] <traveler> Phoenix guards are more broken than i wrote
[10:32:19] <traveler> fireball upon death is one thing
[10:32:39] <traveler> but i think they should ressurect after first "deth" (they have only 8hp)
[10:32:41] <traveler> *a
[10:37:38] <lynxlynxlynx> i don't remember at all
[10:52:37] <edheldil> lynxlynxlynx: how can I get sb, those arrows in bg1?
[10:53:05] <lynxlynxlynx> sb somebody somebow?
[10:53:28] <lynxlynxlynx> ci("arow06") will add one to the selected char (shorthand for createitem)
[10:53:49] <traveler> i think
[10:53:51] <lynxlynxlynx> i had a thief, so i had to get a short bow (bow04 or maybe later)
[10:53:55] <traveler> there are few of them in orginal game
[10:54:13] <traveler> they sell for 3k gp
[10:54:33] <traveler> and its worth it, as they deal 6d6 (fireball upon hit)
[10:55:17] <traveler> about phoenix guards, they are in durlag's tow. and as easter egg in nashkel only i think
[10:56:30] <edheldil> hm, sorry, bg1 is broken for me... it want to install :(
[10:56:40] <edheldil> wants to
[10:57:37] <traveler> i bleakly remember that they could be like that in original too
[10:58:41] <traveler> google doodle is nice today
[11:01:14] <edheldil> eh, how do I popup the console?
[11:01:19] <edheldil> in ie
[11:01:43] <traveler> http://forums.gibberlings3.net/index.php?showtopic=7488 huh?
[11:09:59] <traveler> *few of them- sold in sorcerous sunders
[11:11:24] <-- wrotek has left IRC (Ping timeout: 265 seconds)
[11:21:15] <lynxlynxlynx> edheldil: ctrl-esc iirc
[11:21:28] <lynxlynxlynx> it differs between the games
[11:21:34] <lynxlynxlynx> ctrl-enter?
[11:23:05] <edheldil> it did not... but maybe wine/gnome/ubuntu was eating them or I have to set st. in the config
[11:25:59] <traveler> ctrl+tab
[11:26:08] <traveler> i thought you were asking about infinity explorer or smt
[11:26:26] <traveler> you have to set chaets=1 ini *ini
[11:28:12] <traveler> "Add the line Cheats=1 under the [Game Options] entry then save the file and run the game. Once in the gamAdd the line Cheats=1 under the [Game Options] entry then save the file and run the game. Once in the game, hit Ctrl-Tab to bring up the console "e, hit Ctrl-Tab to bring up the console
[11:28:30] <traveler> well almost correct
[11:28:34] <traveler> this time
[11:28:40] <traveler> im awful typist
[11:29:02] <traveler> and bad paste'ist
[11:36:10] <edheldil> yeah, but my window of opportunity closed :)
[11:53:19] <-- lynxlynxlynx has left IRC (Ping timeout: 260 seconds)
[12:00:28] --> barra_home has joined #gemrb
[12:36:04] --> lynxlynxlynx has joined #gemrb
[12:36:04] <-- lynxlynxlynx has left IRC (Changing host)
[12:36:04] --> lynxlynxlynx has joined #gemrb
[12:36:04] --- ChanServ gives channel operator status to lynxlynxlynx
[12:44:32] --> t-h-i-n-g has joined #gemrb
[12:49:11] <t-h-i-n-g> is anyone here familiar with an issue in the game BG2 where the genie at the plane of air does not appear and ask you for its flask?
[12:50:28] <t-h-i-n-g> (which one then retrieves from the dryads)
[12:56:58] <lynxlynxlynx> did you click on the flask?
[12:57:09] <t-h-i-n-g> yes
[12:57:27] <lynxlynxlynx> in my games, he was usually already out
[12:57:32] <lynxlynxlynx> let me check from the start
[12:57:51] <lynxlynxlynx> could be a radical change we did before the release
[12:58:33] <t-h-i-n-g> ah, actually, I am probably using a git checkout
[12:58:55] <lynxlynxlynx> probably?
[12:59:01] <t-h-i-n-g> lynxlynxlynx: don't worry about it, I will try using a release before bothering you
[12:59:04] <t-h-i-n-g> sorry :)
[12:59:09] <lynxlynxlynx> wait
[12:59:22] <lynxlynxlynx> you could be using postrelease code
[12:59:40] <t-h-i-n-g> ok, I am using: *looks*
[13:01:38] <t-h-i-n-g> ffs, git, heh
[13:01:49] * t-h-i-n-g starts reading docs.
[13:05:38] <lynxlynxlynx> how did you get it?
[13:05:43] <lynxlynxlynx> and works-for-me
[13:07:00] <t-h-i-n-g> okey dokey, that will do. I got it with git clone, and have just realised I didn't know how to get the current rev in a git working copy/local repo/whatever one calls it
[13:07:41] <t-h-i-n-g> as I said I was going to. :) Thanks for your time, but I might try and get some useful info if I can get it to happen reliably, and come back with that
[13:09:16] --> Canageek has joined #gemrb
[13:11:00] --> wrotek has joined #gemrb
[13:13:08] <lynxlynxlynx> i started a new game and shortcircuited there
[13:13:12] <lynxlynxlynx> to there
[13:13:21] <lynxlynxlynx> ... so you have the most recent code, which is good
[13:13:34] <lynxlynxlynx> you can run git log if you want to know the details
[13:15:10] <t-h-i-n-g> brill, thanks
[13:29:15] <t-h-i-n-g> btw, the rev was commit cae017f651fc9f74d8916757d824cdb02c41bee6. I didn't see anything in the output, I will look later when I've finished work :)
[14:27:23] <traveler> http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commit;h=cae017f651fc9f74d8916757d824cdb02c41bee6 is latest
[14:35:50] <-- traveler has left IRC (Ping timeout: 245 seconds)
[14:41:35] --> traveler has joined #gemrb
[14:57:41] <-- wrotek has left IRC (Ping timeout: 272 seconds)
[15:23:05] --> wrotek has joined #gemrb
[16:04:45] --> brad__ has joined #gemrb
[16:06:58] <brad__> i need some cmake help i think
[16:12:00] <lynxlynxlynx> figured it out yet?
[16:13:27] <brad__> i probably dont know how to effectively google cmake :(
[16:13:46] <brad__> i need to remove SDL_ttf as a dependancy to TTFImporter and replace it with freetype
[16:14:47] <lynxlynxlynx> FindFreetype is already part of cmake, so it should be a breeze
[16:15:15] <brad__> ok then what i have should probably work
[16:15:33] <brad__> ill post it in a bit i have to drive to work
[16:18:43] <-- brad__ has left IRC (Quit: brad__)
[16:19:26] <-- lynxlynxlynx has left IRC (Ping timeout: 248 seconds)
[16:50:45] <t-h-i-n-g> hrm, I do get "displaying string on: genielamp", but nothing happens. time to check my config, perhaps
[16:54:39] --> brad_ has joined #gemrb
[16:56:48] <t-h-i-n-g> hrm, I guess that's just a mouseover thing.
[17:01:21] <brad_> no i think i broke that recently
[17:01:36] <brad_> that was the other thing lynx asked me to look into but i had forgotten
[17:01:40] <brad_> thanks for reminding me :p
[17:02:52] <brad_> lynx: https://github.com/bradallred/gemrb/commit/a199e96cc3f57f16a432065e6d6d7d157d7337d7
[17:03:07] <brad_> ah where did he go?
[17:06:44] --> lynxlynxlynx has joined #gemrb
[17:06:45] <-- lynxlynxlynx has left IRC (Changing host)
[17:06:45] --> lynxlynxlynx has joined #gemrb
[17:06:45] --- ChanServ gives channel operator status to lynxlynxlynx
[17:09:27] <lynxlynxlynx> oh right, that could be connected
[17:09:39] <lynxlynxlynx> but it worked for me
[17:10:08] <lynxlynxlynx> found almost no dust in the lappy
[17:10:18] <lynxlynxlynx> yet now it is 20C colder :)
[17:11:10] <lynxlynxlynx> brad_: looks good, did you try it?
[17:11:47] <brad_> no. i dont think it will work for me because i have freetype framework and cmake is hit and miss with finding those
[17:11:53] <brad_> ill try tho
[17:11:59] <-- t-h-i-n-g has left IRC (Quit: Lost terminal)
[17:15:45] <brad_> looks like its working
[17:15:50] <brad_> found my freetype
[17:15:56] <brad_> making sure it builds
[17:16:25] <brad_> bah it fails to build
[17:16:32] <brad_> tho it fails on 2DAImporter.so
[17:16:58] <brad_> ill just assume it works :p
[17:17:03] <lynxlynxlynx> try a make clean, though it is wierd
[17:18:18] <brad_> im not sure when this broke. im sure it only fails on mac
[17:18:30] <brad_> which is fine by me, but i should fix it
[17:18:56] <brad_> oh i see
[17:19:11] <brad_> looks like some of the mac cmake stuff doesnt account for spaces in paths
[17:19:16] <brad_> easy fix
[17:26:53] <brad_> lynx: how do i make the build verbose?
[17:27:01] <brad_> i tried verbose=1 but doesnt work
[17:27:09] <lynxlynxlynx> all caps
[17:27:11] <brad_> qoh
[17:27:25] <brad_> thank you
[17:37:57] --> t-h-i-n-g has joined #gemrb
[17:41:38] <brad_> still cant build due to some warnings..
[17:41:53] <brad_> because of clang
[17:42:55] <t-h-i-n-g> hrm, I think I will try the last release and see if that works out
[17:44:05] <brad_> bah how do i disable werror?
[17:44:08] <brad_> thought it was DISABLE_WERROR
[17:45:12] <lynxlynxlynx> it is, but cmake also has a cache
[17:45:14] <t-h-i-n-g> yeah, it says -DDISABLE_WERROR in INSTALL desn't it
[17:45:29] <brad_> oh im jsut retarded and left off the leading D
[17:45:36] <lynxlynxlynx> t-h-i-n-g: no good reason to do that
[17:46:33] <t-h-i-n-g> what's that lynxlynxlynx - try the last release?
[17:47:08] <lynxlynxlynx> yes
[17:47:21] <lynxlynxlynx> you're already a few commits ahead, which is a good thing
[17:48:54] <brad_> lynx: TTFFontManager.h:24:10: fatal error: 'ft2build.h' file not found
[17:49:40] <brad_> guess FREETYPE_INCLUDE_DIR is wrong?
[17:49:52] <lynxlynxlynx> or missing
[17:50:11] <brad_> well or its the framework vs dylib debackle that cmake often makes
[17:50:22] <lynxlynxlynx> but we don't include that
[17:50:29] <lynxlynxlynx> did you do other changes?
[17:50:49] <brad_> only to fix building on mac from a path with spaces
[17:51:28] <brad_> ill have it print the value of that inclue dir
[17:53:29] <brad_> yeah FREETYPE_INCLUDE_DIR is blank
[17:54:11] <lynxlynxlynx> check man cmake
[17:54:20] <lynxlynxlynx> you seem to be using the wrong var
[17:54:43] <t-h-i-n-g> ok... that's bizarre
[17:55:12] <t-h-i-n-g> now I am getting character speech, attack messages and sounds of a battle with smoke mephits
[17:55:25] <t-h-i-n-g> and all is quiet on the actual screen
[17:55:35] <t-h-i-n-g> output is loads of:
[17:56:00] <t-h-i-n-g> [Actor/WARNING]: Attack without valid target!
[17:56:46] <brad_> no man page :(
[17:56:54] * t-h-i-n-g watches it slightly mesmerized :)
[17:58:26] <brad_> i think its FREETYPE_INCLUDE_DIRS instead of FREETYPE_INCLUDE_DIR
[17:58:31] <t-h-i-n-g> started with this out of nowhere: [InitRound]: Name: Imoen | Attacks: 2 | Start: 1157662
[18:01:05] <lynxlynxlynx> she was detected or detected someone and battle commenced
[18:01:18] <lynxlynxlynx> brad_: yes
[18:05:54] <brad_> i keep forgetting about c++ and its initialization order stuff
[18:10:59] <t-h-i-n-g> empty area, you see
[18:18:32] <CIA-31> GemRB: 03bradallred * r670326efd81f 10gemrb/gemrb/core/Font.cpp: Font: for safety reasons, if a glyph is NULL reassign it to our BLANK glyph instead.
[18:18:33] <CIA-31> GemRB: 03bradallred * r3dc56c6b3c62 10gemrb/gemrb/core/Font.cpp: Font: fix leaking our whitespace glyphs and use SetPalette(NULL) to be safer about releasing the palette.
[18:18:33] <CIA-31> GemRB: 03bradallred * r5b8745401502 10gemrb/gemrb/GUIScripts/GUIREC.py: Merge branch 'master' of ssh://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb
[18:18:34] <CIA-31> GemRB: 03bradallred * re658161fa06a 10gemrb/gemrb/CMakeLists.txt: cmake: fix building on a mac when there is a space in the path.
[18:18:35] <CIA-31> GemRB: 03bradallred * rb83d2ec368b4 10gemrb/gemrb/plugins/TTFImporter/ (TTFFontManager.cpp TTFFontManager.h):
[18:18:35] <CIA-31> GemRB: TTF: use freetype library directly to create our sprite fonts.
[18:18:35] <CIA-31> GemRB: Some font styles probably dont work properly anymore (underline), but who cares?
[18:18:35] <CIA-31> GemRB: 03bradallred * ra746e8620db1 10gemrb/ (3 files in 3 dirs): Update build settings for TTFImporter
[18:18:35] <CIA-31> GemRB: 03bradallred * rb70da23a8dea 10gemrb/gemrb/core/Font.cpp: Font: consolidate logic for checking initials==this
[18:18:36] <CIA-31> GemRB: 03bradallred * re1384722b905 10gemrb/gemrb/plugins/TTFImporter/ (TTFFontManager.cpp TTFFontManager.h): TTF: add function to translate FT error codes into messages and log them.
[18:18:37] <CIA-31> GemRB: 03bradallred * r4915dd3498f3 10gemrb/ (7 files in 5 dirs): Merge branch 'TTF'
[18:18:41] <CIA-31> GemRB: 03bradallred * r5cdde4c56f3c 10gemrb/gemrb/plugins/TTFImporter/ (TTFFontManager.cpp TTFFontManager.h): TTF: begin process of eliminating SDL_ttf dependency by initializing and destroying freetype ourselves.
[18:19:09] <brad_> there eleminated a dependancy :)
[18:21:13] * t-h-i-n-g wonders if the save game is borken in some way and reboots to find out
[18:21:16] <-- t-h-i-n-g has left IRC (Quit: leaving)
[18:26:38] <lynxlynxlynx> let's see if it builds :)
[18:30:04] <lynxlynxlynx> nope
[18:30:21] <lynxlynxlynx> doesn't like that ft_errors include hack or maybe it's not present here
[18:32:23] <-- Canageek has left IRC (Quit: KVIrc 4.0.4 Insomnia The future is here. It's just not widely distributed yet. - William Gibson)
[18:32:44] <lynxlynxlynx> and there's a missing stdint include for uint8_t
[18:34:21] <brad_> i thought uint8_t was a c++ built in type
[18:34:36] <brad_> ii whought we had used those types in other plugins
[18:34:50] <brad_> and i dont know what "hack" you are refering to
[18:34:59] <brad_> oh now i know
[18:35:14] <brad_> not really a hack imo
[18:35:38] <lynxlynxlynx> it's ugly
[18:35:47] <brad_> i guess
[18:35:52] <lynxlynxlynx> seems like uint8_t is part of c11
[18:36:07] <lynxlynxlynx> no go, but on the other hand i see it being used in the ffmpeg code
[18:36:16] <brad_> well jsut change it to unsigned char or whatever is equivalent
[18:37:05] <brad_> but yes it is used in BIKplayer...
[18:37:14] <brad_> so wtf?
[18:37:33] <brad_> in common.h
[18:37:38] <brad_> #define uint8_t unsigned char
[18:37:43] <brad_> line 45
[18:37:55] <lynxlynxlynx> yeah
[18:37:59] <brad_> so its only defined there
[18:38:15] <brad_> except on my system :p
[18:38:30] <lynxlynxlynx> including cstdint confirms it's a new feat
[18:38:39] <lynxlynxlynx> clang probably uses it by default
[18:38:43] <brad_> yes
[18:39:41] <lynxlynxlynx> and errors are empty maybe due to my path
[18:40:00] <brad_> could be
[18:41:23] <lynxlynxlynx> no, it looks fine
[18:43:44] <brad_> yes i think i fixed it
[18:46:30] <brad_> i forgot to include a header is all
[18:52:27] <brad_> btw this "hack" is actually how freetype tells you to do it
[18:59:42] <brad_> i just happened to do a poor job of implementing it
[19:01:04] <CIA-31> GemRB: 03bradallred * raa63236db5c6 10gemrb/gemrb/plugins/TTFImporter/TTFFontManager.cpp: TTF: fix the Freetype error list
[19:01:29] <brad_> now what do you want to do about the uint8_t?
[19:12:22] <lynxlynxlynx> i was wondering why you didn't copy the header example before
[19:12:41] <lynxlynxlynx> define uint like in bik
[19:12:54] <lynxlynxlynx> ifdef it if you know a proper guard
[19:13:41] <brad_> for some insane reason i thought what i did before would work :p
[19:14:21] <brad_> i dont know a guard for that but BIKPlayer doesnt cause me any trouble despite it being prefiously defined so im not worried about it
[19:14:29] <lynxlynxlynx> ok
[19:16:31] <CIA-31> GemRB: 03bradallred * r193a28d51a44 10gemrb/gemrb/plugins/TTFImporter/TTFFontManager.cpp: define uint8_t so this compiles on platforms/compilers that dont define it natively.
[19:17:00] <brad_> does it build now?
[19:18:04] <lynxlynxlynx> almost
[19:18:29] <brad_> what else?
[19:20:02] <lynxlynxlynx> advance is declared and set, but not used
[19:20:18] <brad_> oh yeah
[19:20:23] <brad_> probably a few of those
[19:20:42] <lynxlynxlynx> please build with warnings, you need to defer just -Wcast-align
[19:21:04] <brad_> what setting do i need to get those warnings?
[19:21:23] <brad_> i already do build with warnings (i thought)
[19:22:01] <lynxlynxlynx> you didn't get any?
[19:22:21] <lynxlynxlynx> you disabled -Werror, so there must've been some
[19:22:37] <lynxlynxlynx> we set -W(all) -Wextra and some more in cmake
[19:22:53] <brad_> all i got was cast align errors
[19:24:03] <brad_> ah i only had those set for building with ios for some stupid reason
[19:24:40] <brad_> nevermind
[19:24:53] --> nutron has joined #gemrb
[19:30:44] <brad_> ah for clang i need weverything not wall
[19:32:03] <brad_> yay now it works
[19:32:11] <brad_> i should add that to cmake
[19:32:20] <brad_> or will it break gcc if i add that flag?
[19:32:26] <brad_> not sure what to do there
[19:36:23] <brad_> how do i turn off -Wcast-align?
[19:39:38] <lynxlynxlynx> we explicitly add it
[19:39:45] <lynxlynxlynx> buildbot uses it, so it's handy
[19:40:02] <lynxlynxlynx> I can ifdef it into apple
[19:40:53] <brad_> my proble is that -Weverything gives me cast align errors
[19:41:08] <brad_> without specifying -Wcast-align
[19:41:19] <brad_> and it should be a clang thing to an apple thing
[19:42:00] <lynxlynxlynx> buildbot does clang builds too, so i wouldn't kill it for all clang
[19:42:54] <lynxlynxlynx> does -wall break clang or does it just need the extra -weverything?
[19:42:58] <brad_> -Weverything gives me 531 warnings when building and i cant seem to disable the ones i dont want
[19:43:09] <brad_> -wall jsut has no effect on clang
[19:44:20] <brad_> i would have thought i could do -Wcast-align=0 or somesuch :(
[19:45:02] <lynxlynxlynx> you can
[19:45:15] --> Beholder has joined #gemrb
[19:45:15] <brad_> how?
[19:45:16] <lynxlynxlynx> i can commit it, but tell if you want to disable something else too
[19:45:37] <brad_> i try -Wcast-align=0 and clang complains about an unrecognized option
[19:45:38] <lynxlynxlynx> it's not a var
[19:45:45] <lynxlynxlynx> -Wno-cast-align
[19:45:51] <brad_> oh jeez
[19:46:03] <lynxlynxlynx> that's the convention
[19:46:37] <brad_> i clearly dont build from commandline much
[19:46:42] <brad_> im used to checkboxes :p
[19:47:21] <brad_> give me a bit to see what options need to be added/removed for clang
[19:47:29] <brad_> i need to do something for work first tho
[19:50:28] <lynxlynxlynx> i'll just disable these warnings from propagating to errors
[19:53:32] <CIA-31> GemRB: 03lynxlupodian * r5617273b5008 10gemrb/CMakeLists.txt: cmake: don't propagate alignment warnings to errors and produce more with clang
[19:53:40] <lynxlynxlynx> and after removing advance, the build completes again
[20:14:35] <-- traveler has left IRC (Ping timeout: 245 seconds)
[20:25:12] --> traveler has joined #gemrb
[20:47:00] <CIA-31> GemRB: 03bradallred * r80e02e24ddf0 10gemrb/gemrb/plugins/TTFImporter/TTFFontManager.cpp: TTF: remove an unused variable.
[20:53:10] <brad_> i cant for the life of me figure out which flag i need to disable thes annoying warnings about undefined macros
[20:57:16] <brad_> i get tons of "will never be executed" warnings for practically every switch statement
[20:57:18] <lynxlynxlynx> maybe -fno-catch-undefined-behavior
[20:57:24] <lynxlynxlynx> but it sounds a bit broad
[20:58:03] <lynxlynxlynx> the nice thing about gcc is that it prints which warning flag you need to pass if you want to disable a specific warning it issued
[20:58:39] <brad_> yes; ironic considering clang has better warnings and errors overall
[21:00:07] <brad_> lynx: does msvc6 need the break statement after default or is it safe to remove those?
[21:00:39] <lynxlynxlynx> if it is last? dunno
[21:02:21] <brad_> yes they are last and clang is complaining because the "break" never gets executed
[21:07:21] <-- Beholder has left IRC (Quit: Beholder)
[21:07:47] <brad_> delete new_game; <-- wonder why clang thinks this will never be executed
[21:09:22] <brad_> oh i see why
[21:09:33] <brad_> because it wont in the case that we jump to cleanup
[21:09:44] <brad_> since new_game wasnt declared yet
[21:09:53] <brad_> or no
[21:09:55] <brad_> i dont know
[21:11:34] <lynxlynxlynx> don't bother with it too much
[21:12:27] <brad_> i wont but im confused
[21:13:56] <-- kettuz has left IRC (Quit: Leaving)
[21:20:19] <lynxlynxlynx> traveler: do you have any handy npc that you know should have a sound when you start talking to him?
[21:23:19] <traveler> all of them
[21:23:24] <traveler> :P
[21:23:31] <traveler> well most
[21:23:53] <traveler> (all?) bartenders
[21:23:54] <traveler> i think
[21:24:40] <traveler> like "do you want to taste my whisky?"
[21:25:18] <brad_> yes i think you are right
[21:25:29] <traveler> My inn's as clean as an elven arse
[21:25:30] <traveler> etc
[21:26:15] <traveler> haha
[21:26:16] <traveler> http://en.wikiquote.org/wiki/Baldur's_Gate_series
[21:26:26] <traveler> wikiquote on computer game, really?
[21:28:07] <brad_> apparently Wundef doesnt work with clang :/
[21:28:12] <brad_> cant find the equivalent
[21:28:47] <brad_> nevermind it does work. i have to wait for the build to complete for those errors to disappear :p
[21:28:57] <traveler> http://www.noxeos.com/2012/01/10/warning-flags-clang/
[21:32:42] <brad_> i already have that page
[21:33:00] <lynxlynxlynx> i see what's up
[21:33:16] <brad_> that page doesnt help much if you try searching by error messages
[21:33:23] <lynxlynxlynx> we call the dialog verbal constant, but for example winthorp has it unset and uses the others
[21:38:28] <brad_> lynx: i get several warnings about uninitialized variables
[21:38:39] <brad_> example: ChangeStoreMarkup, owner is uninitialized
[21:38:55] <traveler> *not really related, but i like this answer http://programmers.stackexchange.com/a/124574 about -Weverything
[21:41:20] <lynxlynxlynx> hah @ everything
[21:41:43] <lynxlynxlynx> brad_: does it look like a true positive?
[21:41:55] <brad_> it does to me
[21:42:22] <brad_> its not passed by reference so its not for assignment
[21:42:31] <brad_> and if its not needed why pass it?
[21:45:20] <brad_> re -weverything: i had -wxtra and -wall on before and wasnt getting warnings i should have been
[21:45:54] <brad_> i have had -wextra and -wall on since i was using gcc
[21:46:09] <brad_> apple clang seems to ignore them or soemthing
[21:47:14] <brad_> or there is another flag needed to abide gcc flags
[21:48:33] <lynxlynxlynx> it's not gcc specific
[21:48:50] <lynxlynxlynx> well, if it is a good find, then it should be fixed
[21:50:30] <brad_> i jsut dont know the proper way to fix it without tunneling though the code
[21:51:23] <brad_> initialize it to 0 maybe or would it be -1. see i dont know how store ids work
[21:51:56] <brad_> or would we jsut move that statement into the conditional where owner is initialized?
[21:53:55] <lynxlynxlynx> looks like a dud to me, i don't see how it could get executed
[21:54:04] <lynxlynxlynx> but yes, 0 would work fine, since it is clearly bad
[21:54:16] <lynxlynxlynx> global ids start at 1000
[21:55:18] <brad_> yes i see what you mean
[21:55:33] <brad_> because has_current could only be true on the case where it is initialized
[21:57:18] <brad_> maybe msvc6 does require breaks because in GameScript.cpp line 2236 there is a comment saying "this break is only symbolic"
[21:57:33] <brad_> not that i know what that means :p
[21:58:27] <brad_> except that isnt even in a switch!
[21:59:00] <brad_> i cant possibly see why a break after a return would ever be required....
[22:12:12] <CIA-31> GemRB: 03lynxlupodian * rb9e94a7f9ade 10gemrb/gemrb/core/ (GameScript/GameScript.h Scriptable/Actor.cpp):
[22:12:12] <CIA-31> GemRB: play the "initial meeting" vc when talking for the first time
[22:12:12] <CIA-31> GemRB: in many cases the ref is the same as select_common, but not always
[22:34:06] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:42:17] <-- Yoshimo has left IRC (Quit: Yoshimo)
[23:00:04] <-- barra_home has left IRC (Quit: Verlassend)
[23:05:25] <traveler> huh!!
[23:05:33] <traveler> about ambushes
[23:05:49] <traveler> its not like they are always empty....
[23:05:57] <traveler> a lot of times
[23:06:04] <traveler> enemies instantly die
[23:06:14] <traveler> upon entering ambush area
[23:06:34] <traveler> ar5900
[23:06:50] <traveler> i entered it for the first time i think
[23:07:03] <traveler> nice circle of hobgoblins... insta died
[23:09:27] <brad_> we seem to suffer from that issue constantly
[23:10:14] <brad_> its been awhile since it was discussed but IIRC its the constitution bonus
[23:14:27] <traveler> constitution bonus?
[23:15:41] <traveler> good it is known though
[23:19:07] <brad_> well i dont know if it was ever determined what exactly we should do
[23:19:18] <brad_> more of a question for lynx
[23:19:23] <brad_> or avenger
[23:20:40] <brad_> traveler: are you using mods?
[23:20:53] <brad_> particularly a mod that may modify creature constitution?
[23:21:57] <traveler> no
[23:22:13] <traveler> it's plain tosc
[23:23:11] <traveler> btw, npcs are no longer mute
[23:23:42] <brad_> thats good
[23:23:46] <traveler> but most /all (?) don't have
[23:23:52] <traveler> sound after initial meeting
[23:24:35] <traveler> i think that cows/animals should have meting sound
[23:24:49] <traveler> i'm pretty sure
[23:24:51] <traveler> cows did
[23:24:53] <traveler> 'mooo'
[23:25:13] <traveler> always when selecting
[23:26:42] <brad_> traveler: it may be that you do need a fixpack or something to correct the conbon
[23:27:17] <traveler> there is no fixpack for tosc
[23:27:30] <traveler> i mean, modern correct one
[23:27:44] <brad_> ask lynx about the insta death tomorrow
[23:27:48] <traveler> closest would be http://sasha-altherin.webs.com/baldursgatefixpack.htm
[23:28:18] <traveler> but there is nothing about constitution in it
[23:28:26] <brad_> i think when we create creatures we should make sure their hp is the minimum at least
[23:28:47] <brad_> but that probably wouldnt actually solve the problem
[23:29:30] <brad_> maybe some order of operations is messed up
[23:30:01] <brad_> i have no exp in that part of gemrb and i dont even know D&D rules
[23:30:05] <brad_> so im useless here
[23:30:08] <traveler> np
[23:35:35] <brad_> maybe some creatures dont have the minimum constitution or something
[23:35:49] <brad_> or maybe there is corruptions somewhere overwriting it (doubtful)
[23:38:41] <traveler> one last strange thing
[23:38:44] <traveler> for today
[23:39:09] <traveler> due to dialogue options with samantha (manor in nashkel)
[23:39:19] <traveler> hostile 'jamie' appeared
[23:39:37] <traveler> i pitied him, so I only attacked him bare-handed
[23:40:12] <traveler> he had 16/16hp, i dealt him 18 damage, now he has 1/16
[23:40:28] <traveler> moreover he should be unconscious but he is not
[23:40:38] <traveler> ist it implemented at all?
[23:41:25] <traveler> *18 damage, unconscious - single critical hit
[23:41:56] <traveler> haha
[23:42:01] <traveler> another critical hit
[23:42:06] <traveler> por 20hp this time
[23:42:10] <traveler> now he has 1/16
[23:42:35] <traveler> still and is apparently unconscious
[23:43:56] <traveler> are creatures really not killable with bare hands in original?
[23:48:53] <brad_> fists cant kill IIRC
[23:49:12] <brad_> so this is working correctly
[23:49:27] <brad_> well monk fists can but that is actually a weapon