Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
 |
|
Thread: Using class methods on button press
Post: RE: Using class methods on button press
(05-02-2011 11:33 AM)Harry Wrote: Did you try that?
Code:
static void func(Ptr)
{
Exit();
};
window+=exitButton.create(Rect( 1.2f, -1.53f, 2.0f, -1.3f),"").func(func... |
|
Ashaira |
Gui |
7 |
6,350 |
05-02-2011, 01:09 PM |
 |
|
Thread: Using class methods on button press
Post: RE: Using class methods on button press
i tried what both of u said and i get the same error. this is how the class code looks maybe it will help.
Code:
#include "StdAfx.h"
#include "MainMenu.h"
CMainMenu::CMainMenu()
{
 ... |
|
Ashaira |
Gui |
7 |
6,350 |
05-02-2011, 10:27 AM |
 |
|
Thread: Using class methods on button press
Post: Using class methods on button press
i made a class for the main menu by separating the elements into different methods. The program works and the menu gets rendered but when i try to attach a function which is a member of the same clas... |
|
Ashaira |
Gui |
7 |
6,350 |
05-02-2011, 06:32 AM |
 |
|
Thread: Instalation and VC++ 2010
Post: RE: Instalation and VC++ 2010
ty. just wanted to let u know it worked after changing the settings several times. but ide recommend that everyone use vc++ 2008 unless they absolutelly HAVE to use 2010. its a lot easier. |
|
Ashaira |
Support |
10 |
8,991 |
05-21-2010, 09:28 AM |
 |
|
Thread: Instalation and VC++ 2010
Post: RE: Instalation and VC++ 2010
(05-20-2010 09:23 PM)Driklyn Wrote: I find that it's easiest to just upgrade the Tutorials project to 2010 and then just copy it to your game's folder and rename it to match. That's what I did.... |
|
Ashaira |
Support |
10 |
8,991 |
05-20-2010, 09:28 PM |
 |
|
Thread: Instalation and VC++ 2010
Post: RE: Instalation and VC++ 2010
did what u said it fixed almost everything but i get one error that i have never met before. 1>cl : Command line error D8016: '/ZI' and '/GL' command-line options are incompatible |
|
Ashaira |
Support |
10 |
8,991 |
05-20-2010, 09:18 PM |
 |
|
Thread: Instalation and VC++ 2010
Post: RE: Instalation and VC++ 2010
um now i get even more. :|
1>EsenthelEngine.lib(Input.obj) : error LNK2019: unresolved external symbol _ImmGetOpenStatus@4 referenced in function "public: bool __thiscall EE::Keyboard::immNative(vo... |
|
Ashaira |
Support |
10 |
8,991 |
05-20-2010, 08:25 PM |
 |
|
Thread: Instalation and VC++ 2010
Post: RE: Instalation and VC++ 2010
hm. could have sworn i added the lib. ill try it thnx. also i was making a win app not console. |
|
Ashaira |
Support |
10 |
8,991 |
05-20-2010, 07:15 PM |
 |
|
Thread: Instalation and VC++ 2010
Post: Instalation and VC++ 2010
well i installed like i did on 2008 (which worked) but now when i just try and copy paste the code from the very first tutorial in an empty project i get this:
1>main.obj : error LNK2019: unresolve... |
|
Ashaira |
Support |
10 |
8,991 |
05-20-2010, 05:38 PM |
 |
|
Thread: quick question
Post: RE: quick question
i do not know where the tools are. where can i get them? they were not in the archive where the engine files were.
uh never mind. :| seems for some reason the dearchiving process didnt finish last tim... |
|
Ashaira |
Support |
10 |
7,726 |
02-02-2010, 03:44 PM |
 |
|
Thread: quick question
Post: RE: quick question
(02-02-2010 03:29 PM)Chris Wrote: Try just dragging your jpg into Mesh Editor (EsenthelEngineSDK > Tools > Mesh Editor.exe)? It should convert it to a gfx file (next to where you dragged ... |
|
Ashaira |
Support |
10 |
7,726 |
02-02-2010, 03:32 PM |
 |
|
Thread: quick question
Post: RE: quick question
okay am i missing something here? ive been trying to figure out how to use the tools(world editor converter etc) but for the love of christ i cant figure out how? where are they etc? |
|
Ashaira |
Support |
10 |
7,726 |
02-02-2010, 03:23 PM |
 |
|
Thread: quick question
Post: RE: quick question
(02-02-2010 02:59 PM)Panerox Wrote: i think the problem in your jpeg file. try to convert jpeg into another format (png for example). Maybe this is error in an importer. attach the file...
i r... |
|
Ashaira |
Support |
10 |
7,726 |
02-02-2010, 03:03 PM |
 |
|
Thread: quick question
Post: quick question
i was looking through the tutorials and i couldnt figure out why images arent loading. the code seems right but when i run the program i get this
"can't load texture........ reasons:
-videocard doesn... |
|
Ashaira |
Support |
10 |
7,726 |
02-02-2010, 01:59 PM |
 |
|
Thread: tutorial build error
Post: Re: tutorial build error
unfortunatelly i still get the exact same error :( ill try it on my home pc when i get home in a month or so but thnx a lot for the rapid response really apreciate it |
|
Ashaira |
Support |
12 |
7,498 |
05-21-2009, 05:33 PM |
 |
|
Thread: tutorial build error
Post: Re: tutorial build error
well i installed the one that ur site had a link too but im gona try the one u said hopefully its gona work |
|
Ashaira |
Support |
12 |
7,498 |
05-21-2009, 02:11 PM |
 |
|
Thread: tutorial build error
Post: Re: tutorial build error
oh i just tested the rest of the tools and i get the same error for all of them: can't create direct input.
could it have something to do with the fact that im using a laptop? i know the laptop video... |
|
Ashaira |
Support |
12 |
7,498 |
05-21-2009, 01:49 PM |
 |
|
Thread: tutorial build error
Post: Re: tutorial build error
this is what it says after it gives me the directinput error : The thread 'Win32 Thread' (0x1080) has exited with code -1 (0xffffffff).
The thread 'Win32 Thread' (0x1458) has exited with code -1 (0xf... |
|
Ashaira |
Support |
12 |
7,498 |
05-21-2009, 01:45 PM |
 |
|
Thread: tutorial build error
Post: tutorial build error
every time i try to run a tutorial i get wa warning saying that tutorial.exe was not found or the debugigng information does not match and if i click continue i get an error saying can't create dire... |
|
Ashaira |
Support |
12 |
7,498 |
05-21-2009, 12:57 PM |