Search found 69 matches

by unholysavagery
Wed Apr 08, 2009 4:02 am
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Re: Can't get luabind to compile...

Found out that I compiled it correctly from the start.... I figured out I needed to use Multi-threaded Debug DLL (/MDd) for the runtime library of my game even though I thought that was for DLLs and LIBs but it seems to work in EXEs. Found a post on some random forum that said link errors may be cau...
by unholysavagery
Tue Apr 07, 2009 4:50 am
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Re: Can't get luabind to compile...

Here's a copy of Lua 5.1 and LuaBind that I'm using. I included the entire folder, in case that helps. But, specifically in my project I'm referencing lua.x86.debug.lib and luabind.x86.debug.lib . As you can see, these are built in debug mode, but they should get you up and running. I haven't neede...
by unholysavagery
Mon Apr 06, 2009 2:39 pm
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Re: Can't get luabind to compile...

Actually I think when I originally compiled it with VS 2008 it kinda worked, does anyone have an idea what may be causing these compilation errors when I try to use the lib? 1>------ Build started: Project: Ether, Configuration: Debug Win32 ------ 1>Compiling... 1>Main.cpp 1>Linking... 1>msvcprtd.li...
by unholysavagery
Mon Apr 06, 2009 1:05 pm
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Re: Can't get luabind to compile...

It's been months since I had to deal with compiling LuaBind, so I honestly don't remember all of the steps it took. But yeah, I do remember it was a pain in the ass and I had to make a few modifications to the code to get it to compile. I didn't use bjam, I just used VS 2008. Tonight I'll grab my c...
by unholysavagery
Mon Apr 06, 2009 4:08 am
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Re: Can't get luabind to compile...

I've been looking for days and all I found was a precompiled version thats to old. Let me explain what I did. First I got an installer for lua 5.1.4.23 from here: http://luaforge.net/frs/download.php/3942/Lua_v5.1.4.23.exe Then I got an installer for boost 1.38 from here: http://www.boostpro.com/dow...
by unholysavagery
Sun Apr 05, 2009 10:00 pm
Forum: Programming Discussion
Topic: Can't get luabind to compile...
Replies: 10
Views: 1787

Can't get luabind to compile...

I've been trying for days now, I created a c++ express project and dropped all of the source files in it and compiled it in to a lib with no problems but when I use it I get link errors. I know I'm suppose to use bjam to compile it but I'm not sure how to set the directories? Please can anyone expla...
by unholysavagery
Fri Dec 26, 2008 12:19 pm
Forum: Programming Discussion
Topic: How does the Source Engine do it?!
Replies: 2
Views: 610

How does the Source Engine do it?!

Well I asked this question on gamedev.net but they appear to be down, I need to know how the source engine creates ragdoll collision meshes. I know how they create static single object meshes but it confuses me how they create jointed ragdolls, does havok have the ability to actually create collisio...
by unholysavagery
Mon Dec 01, 2008 3:51 am
Forum: Programming Discussion
Topic: I Have a Really Complex Question...
Replies: 3
Views: 808

Re: How to use the Windows GDI to draw text?

I need a diagram on how the ID3DX10Font interface works, anyone know where I can find one? I'd like to copy the process.
by unholysavagery
Sun Nov 30, 2008 2:22 pm
Forum: Programming Discussion
Topic: I Have a Really Complex Question...
Replies: 3
Views: 808

Re: How to use the Windows GDI to draw text?

avansc wrote:directx accomodates bitmap fonts that you can directly print to textures.
Yeah I'm using them right now but the sprite interface wont let me layer them the way I want. I need to do it this way, it's hard to explain why but I do and I don't know how.
by unholysavagery
Sun Nov 30, 2008 12:06 pm
Forum: Programming Discussion
Topic: I Have a Really Complex Question...
Replies: 3
Views: 808

I Have a Really Complex Question...

So I want to draw text to an off screen area in memory then copy it to a DirectX texture, how would I do this? I hear I need to some how draw the text to a HBITMAP and copy that to the texture but how?
by unholysavagery
Fri Nov 28, 2008 8:51 am
Forum: Programming Discussion
Topic: OMFG n00b!
Replies: 13
Views: 1970

Re: OMFG n00b!

Levio91 wrote:Start with html it only takes a couple of days to learn and helps you understand harder languages.
Well I agree that it is easy to learn but it actually has very little in common with other languages.
by unholysavagery
Fri Nov 28, 2008 8:46 am
Forum: Programming Discussion
Topic: I don't know how to use std::string?
Replies: 28
Views: 5001

Re: I don't know how to use std::string?

Yeah, I have had classes where we weren't allowed to use strings either. Honestly though, I think the character array manipulation was good for me. Too many C++ programmers don't know how to handle C style character arrays... I know how to do that and then some for instance I used to manage my own ...
by unholysavagery
Thu Nov 27, 2008 3:23 am
Forum: Programming Discussion
Topic: I don't know how to use std::string?
Replies: 28
Views: 5001

Re: I don't know how to use std::string?

jesus, what happened do atoi, itoa, atof ... etc... see this is why you young people need to learn some C manners. "warning C4996: 'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _itoa. See online help for details." This function is deprecated...
by unholysavagery
Thu Nov 27, 2008 3:04 am
Forum: Programming Discussion
Topic: I don't know how to use std::string?
Replies: 28
Views: 5001

Re: I don't know how to use std::string?

trufun202 wrote:In college, we weren't allowed to use strings - even if we wrote our own string class... It was char arrays all the way - but, it was good experience.
How long ago was this?
by unholysavagery
Wed Nov 26, 2008 8:45 pm
Forum: Programming Discussion
Topic: I don't know how to use std::string?
Replies: 28
Views: 5001

Re: I don't know how to use std::string?

jesus, what happened do atoi, itoa, atof ... etc... see this is why you young people need to learn some C manners. "warning C4996: 'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _itoa. See online help for details." This function is deprecated...