• What Are You Working On? V13
    5,003 replies, posted
[QUOTE=Activeellis;25508556]I'm not going to use XNA, Or SFML, Because I would like to do some 3D work after a while OpenGL or DX? I also have some pre-C++ Experience.[/QUOTE] OpenGL imo.
I'm going to attempt SFML, If I dont like it I will try OpenGL, If no, DirectX
[QUOTE=gparent;25508355]Kinda defeats the point of having inttypes.h I suppose, unless the header does no checks at all.[/QUOTE] It doesn't really matter if you're always building for the same architecture. Check out the standard library for something else, the inttypes.h could be different.
"test - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. ... fiddlesticks [editline]19th October 2010[/editline] holy fuck I have an idea
[QUOTE=Activeellis;25508748]"test - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping... Nothing to be done. ... fiddlesticks [editline]19th October 2010[/editline] holy fuck I have an idea[/QUOTE] Ahaha. I'm no expert but I think you're doing something wrong.
I am going full retard today. I tried using the mingw version when I have no mingw :downs: [editline]19th October 2010[/editline] HOLY SHITBALLS I DID IT c
[QUOTE=Activeellis;25508811]I am going full retard today. I tried using the mingw version when I have no mingw :downs: [editline]19th October 2010[/editline] HOLY SHITBALLS I DID IT c[/QUOTE] [IMG]http://www.istockphoto.com/file_thumbview_approve/7161470/2/istockphoto_7161470-party-horn-blower.jpg[/IMG] [editline]19th October 2010[/editline] [img]http://gyazo.com/54c9efe29c16117515459c94531e6fca.png[/img] Minor update. Added NPCs and cleaned some stuff up (not visibly, though).
Any one got any idea why notepad++ use to have my line endings as CRLF but has decided for a lot of my files that it would change them to JUST CR?
[QUOTE=arienh4;25459307]I was trying to help him. In TeX the difference between the two equations is much clearer. Oh by the way, unless you believe that TeX is incredibly witty, you mean intelligence. [editline]17th October 2010[/editline] As I displayed above, the former isn't true. Sqrt(-1*-1) = 1. Hence, sqrt(x*x) = abs(x). I know it's not exactly relevant in this case, but we shouldn't be confusing people.[/QUOTE] Oh, yeah, forgot that. But the thing I was trying to say was that sqrt(x) = x * x is totally wrong
[QUOTE=r4nk_;25509467]Any one got any idea why notepad++ use to have my line endings as CRLF but has decided for a lot of my files that it would change them to JUST CR?[/QUOTE] [url]http://www.octopuscs.com/userfiles/blogsImages/bomnpp2_3.jpg[/url] [url]http://staffwww.fullcoll.edu/brippe/csci123/images/npp_unix_format.png[/url] Windows-style is CRLF Unix-style is LF Mac-style is CR (though OS X seems to use LF as well)
[img]http://gyazo.com/0e567a908a5a7a4e50829ec7d8dbb222.png[/img] Sorry I post this too much (3 times in 1 page, I think), but it keeps me motivated. :v:
[QUOTE=ZeekyHBomb;25509586][url]http://www.octopuscs.com/userfiles/blogsImages/bomnpp2_3.jpg[/url] [url]http://staffwww.fullcoll.edu/brippe/csci123/images/npp_unix_format.png[/url] Windows-style is CRLF Unix-style is LF Mac-style is CR (though OS X seems to use LF as well)[/QUOTE] Yeah I know this, but CRLF works fine in unix and fine in windows and that's what notepad++ was using before. But now most of my files are using just CR (using notepad++ in windows in windows mode) but strangely selecting edit>convert to windows line endings puts them back to CRLF. I didn't change anything they just started doing this, but hopefully the problem will stop.
If someone familiar with C# could lend me a hand with a small project over MSN/Steam, that'd be awesome. Steam is Hexxeh, MSN is my email which is [email]hexxeh@hexxeh.net[/email]
[QUOTE=ZeekyHBomb;25509586][url]http://www.octopuscs.com/userfiles/blogsImages/bomnpp2_3.jpg[/url] [url]http://staffwww.fullcoll.edu/brippe/csci123/images/npp_unix_format.png[/url] Windows-style is CRLF Unix-style is LF Mac-style is CR (though OS X seems to use LF as well)[/QUOTE] OS X uses LF now because it is Unix (FreeBSD core kernel, with the XNU Mach based microkernel on top of it). The CR support is from the old Mac OS days, and is there ONLY for backwards compatibility.
[QUOTE=Hexxeh;25509697]If someone familiar with C# could lend me a hand with a small project over MSN/Steam, that'd be awesome. Steam is Hexxeh, MSN is my email which is [email]hexxeh@hexxeh.net[/email][/QUOTE] Anyone ever told you that your avatar is kind of... mesmerising?
[QUOTE=Hexxeh;25509697]If someone familiar with C# could lend me a hand with a small project over MSN/Steam, that'd be awesome. Steam is Hexxeh, MSN is my email which is [email]hexxeh@hexxeh.net[/email][/QUOTE] Might be a good idea to be a bit more specific since even I got the urge to try and help when I probably couldn't even understand the problem (seeing the stuff you usually do)
[QUOTE=Darwin226;25510025]Might be a good idea to be a bit more specific since even I got the urge to try and help when I probably couldn't even understand the problem (seeing the stuff you usually do)[/QUOTE] [code] public override int EnqueueSamples(int channels, int rate, byte[] samples, int frames) { int consumed = 0; if (basbuffer == null) { Bass.BASS_Init(-1, rate, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero); basbuffer = new BASSBuffer(0.5f, rate, channels, 2); streamproc = new STREAMPROC(Reader); Bass.BASS_ChannelPlay( Bass.BASS_StreamCreate(rate, channels, BASSFlag.BASS_DEFAULT, streamproc, IntPtr.Zero), false ); } if (basbuffer.Space(0) > samples.Length) { string path = @"c:\out.ogg"; // Create the file. using (System.IO.FileStream fs = System.IO.File.Open(path, System.IO.FileMode.Append)) { System.IO.BinaryWriter bw = new System.IO.BinaryWriter(fs); bw.Write(samples); bw.Close(); } basbuffer.Write(samples, samples.Length); consumed = frames; } return consumed; } [/code] Trying to change that so that it saves the audio stream to disk rather than playing it. Part of a larger project, and this is the last bit I need to do before I can upload it. Tried just saving the byte array to disk, but that doesn't work, presumably because I'm missing some kind of header for the file. I don't know enough about working with audio to make this work, hence why I'm asking for help. :) Edit: Quite aware the attempt in that code is terribly done, was just trying it out.
If you wanna save it as wave file: [url]https://ccrma.stanford.edu/courses/422/projects/WaveFormat/[/url]
I'm working on a code comparison between DirectX 10 and OpenGL 3 for drawing a textured triangle. This may be coming from an OpenGL fanboy, but stuff like this makes me want to kill myself: [cpp]D3D10_VIEWPORT viewport; viewport.Width = 800; viewport.Height = 600; viewport.TopLeftX = 0; viewport.TopLeftY = 0; viewport.MinDepth = 0.0f; viewport.MaxDepth = 1.0f; g_Device->RSSetViewports( 1, &viewport );[/cpp]
I have the basis of a game im working on, if anyones interested the svn is: [url]http://gw1server.googlecode.com/svn/trunk/[/url] Edit: I should mention its probably incredibly badly coded too!
[QUOTE=Icedshot;25511226]I have the basis of a game im working on, if anyones interested the svn is: [url]http://gw1server.googlecode.com/svn/trunk/[/url] Edit: I should mention its probably incredibly badly coded too![/QUOTE] You just changed your avatar, didn't you? Cat avatars unite etc. Downloading your game in a second. The random planet generation folder interests me...
[QUOTE=BlkDucky;25511395]You just changed your avatar, didn't you? Cat avatars unite etc. Downloading your game in a second. The random planet generation folder interests me...[/QUOTE] I did indeed.. Thought it might be time to get rid of whatever the hell the old one was. Its not anything particularly exciting, generates some random numbers, creates a bunch of folders with names from the txt file, then generates some stats for each system, and for all of the planets (planets are the random generated numbers, systems the names) Edit: Currently the game is just client server stuff, i have some ye olde stuff that illustrates some of the actual gamey stuff, ill add it to the svn
[QUOTE=Icedshot;25511463]I did indeed.. Thought it might be time to get rid of whatever the hell the old one was. Its not anything particularly exciting, generates some random numbers, creates a bunch of folders with names from the txt file, then generates some stats for each system, and for all of the planets (planets are the random generated numbers, systems the names) Edit: Currently the game is just client server stuff, i have some ye olde stuff that illustrates some of the actual gamey stuff, ill add it to the svn[/QUOTE] OH. Does that explain this? [IMG]http://gyazo.com/13cacaae56153037a731f5126965c05f.png[/IMG] The others complain of missing dlls. Edit: libgcc_s_dw2-1.dll ?
[QUOTE=BlkDucky;25511579]OH. Does that explain this? [img_thumb]http://gyazo.com/13cacaae56153037a731f5126965c05f.png[/img_thumb] The others complain of missing dlls. Edit: libgcc_s_dw2-1.dll ?[/QUOTE] Give me a minute and ill fix all of it, never had someone test it before heh. just realised that the client is hardcoded to my ip, probably a good idea to make it not :3
[QUOTE=Icedshot;25511226]I should mention its probably incredibly badly coded too![/QUOTE] *clicky* Well, can't be that bad... :buddy: *searching code files* :crossarms: Well uhh... :psyduck: ..??! :byodood:
[QUOTE=ZeekyHBomb;25511688]*clicky* Well, can't be that bad... :buddy: *searching code files* :crossarms: Well uhh... :psyduck: ..??! :byodood:[/QUOTE] Ahaha, the problem is that i never really thought id show it to anyone, so i just did it all in my own style, and badly at that Fix (hopefully?) is going up now, and loads IP from ip.txt. Youll need port 5543 forwarded for it to actually work
[QUOTE=Icedshot;25511226]I have the basis of a game im working on, if anyones interested the svn is: [url]http://gw1server.googlecode.com/svn/trunk/[/url] Edit: I should mention its probably incredibly badly coded too![/QUOTE] [url]www.toodledo.com[/url] - I highly recommend this todo list site, it's fucking awesome and i've never been so focused on my programming projects before. (telling you this because i saw your TODO.txt :v:)
[QUOTE=Dj-J3;25512143][url]www.toodledo.com[/url] - I highly recommend this todo list site, it's fucking awesome and i've never been so focused on my programming projects before. (telling you this because i saw your TODO.txt :v:)[/QUOTE] This looks so incredibly helpful.
[QUOTE=Dj-J3;25512143][url]www.toodledo.com[/url] - I highly recommend this todo list site, it's fucking awesome and i've never been so focused on my programming projects before. (telling you this because i saw your TODO.txt :v:)[/QUOTE] i just toodledoed everything, that site is awesome ^^
[QUOTE=Icedshot;25512606]i just toodledoed everything, that site is awesome ^^[/QUOTE] So did I. :v: [img]http://gyazo.com/78f122dcd21ef3cc0644dee915b9200e.png[/img]
Sorry, you need to Log In to post a reply to this thread.