Session Start: Sat Dec 29 00:00:00 2007
Session Ident: #gamedev
[01:35] <bgilb> anyone want to be my teacher
[01:36] <sort> asl?
[01:36] <bgilb> 19/m/usa
[01:36] <bgilb> i need to learn MySQL
[01:36] <sort> wrong answer :(
[01:37] <sort> but what do you need to know about mysql?
[01:37] <bgilb> like i don't even fully understand what mysql does
[01:37] <sort> it stores data, and lets you retrieve data
[01:37] <bgilb> and always in tables?
[01:38] <bgilb> like 2D tables
[01:38] <sort> yes
[01:38] <bgilb> can you design a mysql database with a GUI
[01:38] <sort> there are programs that will do it
[01:39] <Squee-Wrk> mysql themselves have a nice editor/sql console you can download
[01:39] <sort> a sql database is controlled entirely by its query language
[01:39] <bgilb> i downloaded the mysql server
[01:39] <violator> bgilb: http://www.w3schools.com/sql/sql_intro.asp
[01:39] <sort> the gui apps send query commands to it
[01:40] <bgilb> what is an index
[01:40] <sort> its a fast way of taking a key and getting to the data
[01:40] <Squee-Wrk> Its a fast lookup
[01:40] <Squee-Wrk> you really should start out with a tute
[01:42] <bgilb> okay
[01:42] <bgilb> im understanding now
[01:43] <bgilb> does the mysql handle like unique keys?
[01:43] <bgilb> like say i had a table of users
[01:43] <bgilb> and each user had like their name and password
[01:43] <violator> bgilb: read a bit on the url I posted for you
[01:43] <bgilb> ive got a couple pages in
[01:47] <bgilb> okay i skimmed through it
[01:48] <bgilb> can a key be text like a name?
[01:49] <Squee-Wrk> you can index a string
[01:50] <Squee-Wrk> and you can index non-unique data, its just slower. and you can index on
[01:51] <Squee-Wrk> often called a compoind key
[01:51] <Squee-Wrk> compound
[01:59] <greinwich> mysql is awesome
[01:59] <greinwich> just gotta know how to use it gud
[02:27] <Squee-Wrk> i find postgres is a bit more mature and easier to tune.
[02:28] <Squee-Wrk> And it has great GeoSpatial functions with PostGIS which i need, but rega
[05:17] * Goulie is now known as GoulJusan
[06:01] * ZuqR- is now known as ZuqR
[06:14] * w0t^afirc is now known as w0t^
[06:16] * w0t^ is now known as w0t
[06:52] <Yenal> hi. can anyone point me to a good d3d GUI system?
[06:55] <[]> damn, kotor is a very nicely made rpg
[06:59] * [] welcomes himself to 3 years ago
[07:35] <Yenal> is anyone here using precompiled headers?
[07:37] <Thoys> o.0
[07:37] <Thoys> i disabled them ;d
[07:38] <Yenal> what i dont get is why visual studio is complaining when you dont incluse std
[07:38] <Yenal> i already put them in the header file
[07:39] <_Butcher_> you need your precompiled header included in all your cpp files
[07:39] <_Butcher_> unless you disable precompiled headers for that file
[07:39] <_Butcher_> and it has to be directly included
[07:39] <Yenal> but then i do not get intellisense if i do not put them in header files
[07:39] <Yenal> i dont want to include them twice
[07:39] <_Butcher_> I've not had any problems with intellesense and precompiled headers
[07:39] <_Butcher_> then don't
[07:39] <Yenal> ok tell me if i am doing something wrong
[07:40] <_Butcher_> your precompiled header should have infrequently changed stuff in it only
[07:40] <Yenal> Class1.h includes stdafx.h at the top
[07:40] <_Butcher_> everything else you should include where needed
[07:40] <_Butcher_> no, wrong
[07:40] <Yenal> Class1.cpp includes the Class1.h
[07:40] <_Butcher_> stdafx.h goes in cpp files ONLY
[07:40] <_Butcher_> class1.cpp should include stdafx.h and class1.h
[07:40] <Yenal> yeah it works like that but i dont get autocomplete in header files. Do you?
[07:41] <_Butcher_> (in that order - the precompiled header has to be the first thing in the
[07:41] <_Butcher_> yes
[07:41] <Yenal> btw this is vs2008
[07:41] <_Butcher_> I don't write much code in headers in any event :p
[07:41] <Yenal> sure :)
[07:41] <_Butcher_> I use visual assist though
[07:42] <Yenal> hmm
[07:42] <Yenal> i just uninstalled it
[07:42] <Yenal> maybe i should go back to it
[07:42] <_Butcher_> which tends to fix a lot of the intellesense flaws
[07:42] <Yenal> let me reinstall that and see if it solves the problem
[07:43] <Yenal> _Butcher_: i just started game programming and i need a simple GUI library. D
[07:44] <JustBurn> SDL!
[07:45] <Yenal> SDL?
[07:45] <Yenal> i dont want to put anything C style into my project
[07:46] <Yenal> btw does SDL have GUI features?
[07:46] <JustBurn> oh, Visual Basic?
[07:46] <JustBurn> :P
[07:46] <Thoys> Simple DirectMedia Layer -> http://libsdl.org/
[07:46] <Thoys> ;d
[07:46] <JustBurn> GUI features such as buttons and stuff?
[07:46] <JustBurn> nope
[07:46] <JustBurn> just a nice lib for games
[07:46] <Yenal> no i use C++
[07:46] <JustBurn> hmmm
[07:46] <Yenal> i used it with OpenGL
[07:47] <_Butcher_> yenal: dunno, I've never sued a gui library myself
[07:47] <JustBurn> there's some C++ Libs, but i can't remember any of them designed for games
[07:47] <_Butcher_> but then I've never done much gui stuff outside of work
[07:47] <Yenal> _Butcher_: are you developing games?
[07:47] <_Butcher_> yes
[07:47] <Yenal> nice
[07:59] <[]> i hacked together my own gui out of c/sdl + lua for events, works out pretty aig
[08:00] <[]> so you can script buttons event responses in lua
[08:00] <[]> lil convoluted but good for what i was doing
[08:09] <[]> yep. ninja gaiden is tough as hell
[08:09] <Daveman> yay
[08:09] <[]> woot?
[08:09] <Daveman> Affirmative.
[08:09] <[]> ?^
[08:33] <Yenal> which is better to store the time elapsed? double or float?
[08:34] <Yenal> btw the vector class will be using floats
[08:44] <[]> why would you want a floating point for time elapsed? i'd figure like a longint
[08:44] <[]> then format that appropriatlly when showing to user
[08:45] <[]> maybe i dont understand proper
[08:45] <[]> i always go with doubles over floats anyways
[08:45] <[]> same headache, slightly smaller tho
[08:45] <[]> smaller headache, bigger variable
[08:49] <_Butcher_> I'd use an int or such for time elapsed as [] says
[08:50] <_Butcher_> I prefer floats to doubles though - smaller and faster
[08:50] <[]> yeah thats true
[08:50] <[]> i encounter less precision fuckups with doubles tho
[08:50] <[]> you'll still have em one way or another, but seems like less with doubles
[08:51] <_Butcher_> I don't consider precision issues a big deal
[08:51] <_Butcher_> you don't run into them much either way, and they're easy to code round i
[08:53] <[]> yeah they're rare
[08:53] <[]> unfortunately a bit platform dependant, which can make them particularly bothers
[08:53] <[]> less of an issue on win32 than other os's
[08:54] <[]> yeah ninja gaiden is a tough tough game
[08:56] <[]> dur wtf 'ryu has not yet found the map to this area' (area = hyabusa stronghold)
[08:56] <Yenal> my concern was casting
[08:57] <Yenal> we will definitely use that time in multiplication with floats
[08:57] <Yenal> thats why i thought it may be a good idea to use the float
[08:59] * ZombLovr is now known as LaRssA
[09:30] <_Butcher_> []: try fixed point if you want precision fun :p
[09:30] <[]> lol ya? k heh
[09:47] <[Relic]> Hello :)
[09:55] <Ghaleon> whooo fixed point precision loss! ;D
[09:56] * _Butcher_ converts Ghaleon to 6:2 fixed point
[09:57] * Ghaleon loses all precision and becomes Burga
[09:57] <_Butcher_> :l
[09:58] <Ghaleon> datz wut u get
[09:58] <Ghaleon> Butch: slaqn through the hollidays?
[09:58] <_Butcher_> of coruse
[09:58] <_Butcher_> working between christmas and new year is for chumps
[10:00] <[]> and lames
[10:01] <Goulie> i want love
[10:02] <[]> i'm fine without it
[10:05] <Ghaleon> :O
[10:06] <[]> i get my love 8 bits at a time
[10:08] <Ghaleon> I have a 256bit wide luv
[10:14] <Daveman> likes 'em wide :p
[10:14] <LaRssA> one bit should be enough for everyone
[10:14] <[]> size matters
[10:15] <Daveman> it's not the length of your headers, but the width of you bit fields :p
[10:15] <[]> also
[10:16] <[]> dongs
[10:16] * Daveman rolls his eyes
[10:45] <[]> k so i've been playing too many rpgs
[10:45] <[]> earlier today i killed a mouse right
[10:45] <[]> kinda backed it into a corner and stomped the lil fucker to death
[10:46] <[]> and i found myself wondering... how much xp will i get? i wonder what it will lo
[10:50] <LaRssA> think it will be best to bring the whole thing along... could probably sell
[10:51] * NinjaTard is now known as GrantaX\0
[10:51] <LaRssA> I hear there's a guy in Galderoth that trades dead mice for flying shoes so
[10:51] <LaRssA> good luck to you, sir!
[11:11] <[]> lol
[11:12] <[]> well at least now i dont feel weird for keeping a dead mouse strung around my ne
[11:12] <[]> i didnt want to mention it...but it just seemed like a good idea at the time...
[11:12] <[]> i'm gonna take it up to the gas station, show it off a lil
[11:12] <[]> i hear chicks love that
[11:25] <[]> well flatout sucks
[11:25] <[]> why did i bother with this pos
[11:26] <[]> why did ea have to fuckup burnout so bad....
[11:31] <[]> goddamn pos makes me wanna throw the controller across the room
[11:32] <[]> looks great but the fucking playability totally sucks... and everytime their pos
[11:37] <[]> fucking gimmicky pos 'ooh look ragdoll physics!' its a fucking racer ya jackasse
[11:38] <LaRssA> pos?
[11:44] <[]> piece of shit
[11:45] <LaRssA> ah.. lol
[11:54] <aav> ragdoll pedestrians?
[13:01] <Yenal> in what file the _T macro is defined?
[13:06] <Yenal> nevermind found it.
[13:19] <aav> Yenal, which file was it?
[13:19] <Yenal> tchar.h
[13:19] <Yenal> microsoft has several string functions
[13:19] <aav> ah yes
[13:19] <wkr4k4r> several?
[13:19] <Yenal> i am kinda confused
[13:20] <wkr4k4r> RtlStrCpy
[13:20] <Yenal> several sets
[13:20] <wkr4k4r> Rtlmemcpy
[13:20] <Yenal> there is this TCHAR friendly ones
[13:20] <Yenal> i thought i should use them
[13:20] <wkr4k4r> they all are tchar friendly i think
[13:20] <Yenal> now i see that they have ones that start with String
[13:20] <Yenal> StringCchCopy
[13:20] <aav> or you could typedef based on std::string and std::wstring like normal people
[13:20] <wkr4k4r> lol
[13:20] <aav> :)
[13:21] <aav> C-style strings suck
[13:21] <aav> both char* and wchar_t*
[13:21] <Yenal> but the API use them
[13:21] <aav> which API
[13:21] <Yenal> so you typedef std::string based on the build?
[13:21] <Yenal> Win32
[13:22] <aav> yeah why not
[13:22] <aav> and then just do mystring.c_str()
[13:22] <Yenal> and then everytime you pass something use the c_str
[13:22] <aav> which gives a const char* or a const wchar_t*
[13:22] <aav> yes
[13:22] <Yenal> hmm
[13:22] <aav> tstring foo = someWin32APIStringMaybe; also
[13:22] <aav> i mean, you can read too
[13:22] <aav> :)
[13:23] <Yenal> is there some sort of standard for typedef ing std::string
[13:23] <Yenal> what do you call it
[13:23] <aav> i dont know
[13:23] <aav> it was just a suggestion
[13:23] <aav> tstring maybe
[13:23] <Yenal> so you dont do it :)
[13:23] <wkr4k4r> YEA\
[13:23] <Yenal> how do you handle the strings?
[13:23] <Yenal> always ansi?
[13:24] <aav> well i've done it but i cannot remember what i called it
[13:24] <aav> we use 8bit strings now
[13:24] <aav> std::string
[13:24] <aav> but i tried to standardize on wstring
[13:24] <aav> it would have been fine but the project lead decided against it
[13:24] <Yenal> so you do not recommend TCHAR
[13:24] <aav> also, the Win32 API is natively unicode
[13:24] <aav> i.e. wchar_t*
[13:25] <aav> all the Win32 functions that take const char* will convert your data
[13:26] <Yenal> what about string copying?
[13:26] <aav> hm?
[13:26] <aav> string copying with std::wstring etc?
[13:26] <aav> how is that an issue?
[13:26] <Yenal> say you have a struct
[13:26] <Yenal> D3DXFONT_DESC
[13:26] <aav> oh, right
[13:26] <Yenal> that has a FaceName field
[13:26] <aav> right
[13:27] <aav> a fixed size array right?
[13:27] <Yenal> yep
[13:27] <aav> i just use strcpy/strcat
[13:27] <aav> and the wide char variants
[13:27] <aav> the places where i need to do that are so few
[13:27] <Yenal> so you do not use the safe methods
[13:28] <Yenal> if microsoft ever rewrites their api i wish they use strings
[13:29] <Yenal> but i dont know if its feasible though
[13:43] <aav> Yenal, they have rewritten their API
[13:43] <aav> it's called the .NET Framework
[13:43] <aav> and is still in progress
[13:43] * microcosm is now known as moebius
[13:43] <Yenal> hehe i do not think so
[13:43] <Yenal> .NET still uses Win32 API under the hood
[13:43] <Yenal> and is less capable
[13:49] <aav> doesn't matter
[13:50] <aav> it's the API you should use
[13:50] <aav> and one day they will pull the rug on Win32
[13:50] <wkr4k4r> lol
[13:50] <aav> and implement .NET more natively
[13:50] <wkr4k4r> yea right
[13:50] <wkr4k4r> in 15 years
[13:50] <wkr4k4r> lol
[13:50] <aav> don't laugh wkr4k4r ;)
[13:50] <aav> hehehe
[13:50] <aav> they could still allow Win32 functionality through a subsystem
[13:51] <aav> in fact, if you look at Vista
[13:51] <aav> WPF in .NET 3.0 is more "native" than GDI apps are
[13:51] <aav> so there's evidence already
[13:53] <wkr4k4r> its not going anywhere
[13:53] <wkr4k4r> heh
[13:53] <wkr4k4r> 20 years old
[13:53] <wkr4k4r> and still rolling
[13:57] <moebius> if there weren't an impending paradigm shift that phases out the 'classic'
[13:57] <wkr4k4r> look at it this way, it took 10 years to drop out dos
[13:57] <wkr4k4r> and that was dos
[13:57] <wkr4k4r> from win95 where it actually still worked
[13:57] <wkr4k4r> to vista
[13:57] <wkr4k4r> where its apparently gone
[13:57] <wkr4k4r> ntvdm
[13:57] <moebius> the future isn't in local os'es. the future is in RIA's and the pc as simpl
[13:58] <wkr4k4r> so, considering there are 100000x as many win32 programs as dos
[13:58] <wkr4k4r> it'll be here a while
[13:58] <wkr4k4r> dont mention RIAA
[13:59] <moebius> thats why m$ started ramping up .net, wpf and C#. they know the classic os
[14:00] <moebius> especially WPF
[14:03] <aav> yawn
[14:07] <Sonistar> Ziggy-: you around?
[14:12] <moebius> wkr: they'll have a win32 subsystem like aav said
[14:12] <moebius> 4 legacy support
[14:14] <aav> right
[14:14] <aav> GDI is already emulated
[14:14] <aav> run 100% in software and draws into a device texture
[14:19] <aav> naturally backward compat is a huge issue
[14:19] <aav> but i think MS would be the first to welcome throwing out old clunky OS code
[14:19] <aav> at least from the core
[14:20] <aav> even if they have to keep a Windows-on-Windows style mechanism
[14:20] <moebius> yep
[14:27] <moebius> it's funny how web developers were always looked down on by software devs i
[14:28] <moebius> i welcome it tho. it's so much easier to make appz
[14:44] <stringa> hey.......can someone clear up an XML question. If i read a child element,
[14:48] * NosOff is now known as NosTek
[15:01] <aav> depends on the XML library you're using
[15:02] <stringa> xmltextreader in c#.net
[15:02] <stringa> 3.0
[15:02] <stringa> shit
[15:02] <stringa> 2.0
[15:07] <moebius> http://www.aimpages.com/wutdafckwzdat/.aim/aimface.200.jpg?1198969579474
[15:08] <moebius> hes not special. just inbred
[15:14] <Cryovat> stringa: XMLNode.ParentNode?
[15:18] <Decept403> god damnit i've run out of space for consoles
[15:21] <moebius> gamer geek!
[15:22] <moebius> i love how nobody's talking about crysis after it's been hyped for so long
[15:23] <moebius> & the year's winner is bioshok
[15:23] <moebius> bioshock
[15:23] <moebius> or cod 4 depending on who you ask
[15:25] <moebius> thought everyone would be tired of cod by now too
[15:25] <Decept403> i am
[15:25] <Decept403> ;P
[15:25] * Decept403 is now known as Decept404
[15:26] <Decept404> i have a really hard time picking out a game of the year i feel remotely
[15:26] <Decept404> off the top of my head, it's obviously bioshock though
[15:26] <Decept404> simply because i had the best time with it
[15:26] <moebius> ya me too
[15:27] <moebius> bioshock is definitely it
[15:28] <Decept404> and thats comparing it to stuff like mario galaxy and other titles that a
[15:28] <Decept404> you have to go with your heart on that stuff :P
[15:28] <Decept404> which is why so many went for portal i guess
[15:30] <Yenal> is anyone here using boost::format?
[15:37] <moebius> it was a really good year for games tho
[15:37] <moebius> imo
[15:38] <moebius> lo rambo
[15:40] <Dr_Rambo> Hey moe, sup
[15:44] <moebius> http://tv.msn.com/tv/article.aspx?news=290392>1=7703
[15:44] <moebius> lol
[15:44] <moebius> he really does need an emotion chip in real life
[16:02] * Disconnected
[16:02] * Attempting to rejoin channel #gamedev
[16:02] * Rejoined channel #gamedev
[16:02] * Topic is 'Ziggyware Holiday Contest: http://tinyurl.com/259yfp :: MERRY BOXNG EVERYONE !!
[16:02] * Set by Ghaleon!~Phreak@c-24-16-14-224.hsd1.wa.comcast.net on Wed Dec 26 10:11:40
[16:02] -neobleed_- Welcome to #gamedev, jJones. No warez, no triggers, no servers, no banners, no
[16:07] * NosTek is now known as NosOff
[16:36] <Ghaleon> moebly don't leave us
[16:39] <Ghaleon> Decept404: vegas has been aquired
[16:39] <Ghaleon> but vision blurred
[16:46] * slzy is now known as slz
[17:05] <Sonistar> Dr_Rambo: you around?
[17:33] <kozmonaut> quad-koz in the house
[17:34] <[Relic]> someone finally bought you an extra pair of legs? :)
[17:35] <kozmonaut> an extra pair of arms like a thri-kreen
[17:36] <kozmonaut> this computer flies.
[17:37] <[Relic]> just don't let it go south for the winter :)
[17:38] <kozmonaut> omg relic..
[18:45] <Ghaleon> fliez so fast he got pinged out
[19:12] <kozmonaut> hehe
[19:12] <kozmonaut> trying to load my new system up!
[19:19] <Ghaleon> [18:45] <@Ghaleon> fliez so fast he got pinged out
[19:27] <sort> my video card was lost
[19:49] <Ghaleon> sort: at sea?
[19:53] <sort> it doesnt take over 2 days to drive from cali to oregon :|
[19:53] <sort> unless you go by sea
[19:55] <Ghaleon> lawlz
[19:55] <Ghaleon> I had a package delayed in oregon for 30 days once
[19:55] <sort> drive there, smack them, drive home :|
[19:55] <sort> oh and dont forget to pick up your package
[19:56] <[]> huhuh...grab your 'package'
[19:56] <sort> huhuhu
[21:30] <Ghaleon> #gangwarsdev
[21:39] <directhex> #gangbangwarsdev
[21:53] <Ghaleon> #onlywifyomamaspermissiondev
[22:49] <kaotrix> #gangbangasians
[22:53] <stringa> a .ico file is a 32x32 bitmap?
[22:55] <stringa> nm
[23:10] <Borealis> http://en.wikipedia.org/wiki/ICO_(icon_image_file_format)
[23:13] <Decept404> Ghaleon check out that site again
[23:13] <Decept404> check if music is creepy enough ;P
[23:41] <kaotrix> Mariah's Secret : http://i11.tinypic.com/8biu82u.jpg
[23:44] <ryan[WIN]> i admit
[23:44] <ryan[WIN]> i lol'd
Session Close: Sun Dec 30 00:00:00 2007