Jump to content

  • Log In with Google      Sign In   
  • Create Account

dAND3h

Member Since 14 Apr 2011
Offline Last Active Sep 26 2016 03:24 PM

Posts I've Made

In Topic: Modular Game Engine - Linking Dlls

20 August 2016 - 08:54 AM

Wait, I've just realised. If I make all of my modules dynamically linked, but then have the main Engine link statically, then that should work right?


In Topic: Modular Game Engine - Linking Dlls

20 August 2016 - 08:47 AM

I think a visual representation of what I'm after will be useful:

 

-> means "knows about"

 

App->GameEngine->GameWindow->WindowsWindow

                                                        ->MacWindow

 

What kind of structure would I need for "App" to create a GameWindow? i.e. if App includes GameEngine.h which includes GameWindow.h, but GameWindow.h is not linked at that point for App to know about it. 


In Topic: Modular Game Engine - Linking Dlls

20 August 2016 - 08:37 AM

 

Within it's main function I wish to create a window, but I only want this project to know about GameEngine .dll.

How about pimpl? You can hide class GameWindow inside Engine implementation

 

 

Well that's 1 suggestion I wasn't aware of, but I'm kind of after the answer: This is how it's usually done or you're thinking of this completely wrong etc. Bear in mind this is all in terms of a Modular design. 


In Topic: Ensure no dependency error with DirectX release

27 September 2013 - 09:22 AM

Thanks for the reply, so do I need to give my friend the entire redist folder? ...I still don't understand why it won't work for me though, I have everything installed and I just double checked the spelling in the release configuration.. Specifically, it is currently looking for the d3dx9.lib. I am also using the "additional Include Directories" within the C/C++ General option, should I perhaps be setting the include and lib directories from within the VC++ directories option?

 

EDIT: So I found out why it wouldn't work for me, I didn't add the library include to the release config....I have no idea why


In Topic: Oh my glorious code!

02 August 2013 - 06:27 PM

system("cls")...oh how those days were glorious!


PARTNERS