v19 Task bar Error

03/29/2013 07:59 khemomo#1
D:\Flyff Source\Program\_Interface\WndTaskBar.cpp(8296): error C2065: 'm_bPickup_TK' : undeclared identifier

anyone know how to fix this ??
please help me
03/29/2013 08:08 Rhyder`#2
Quote:
Originally Posted by khemomo View Post
D:\Flyff Source\Program\_Interface\WndTaskBar.cpp(8296): error C2065: 'm_bPickup_TK' : undeclared identifier

anyone know how to fix this ??
please help me
That's adeil . task..so define it to wndtaskbar.h according on which HUD is that

Code:
int m_bPickup_TK;
03/29/2013 12:32 khemomo#3
Quote:
Originally Posted by jayjei14 View Post
That's adeil . task..so define it to wndtaskbar.h according on which HUD is that

Code:
int m_bPickup_TK;
first of all i would like to thank you for Giving a Help
but sir jayjie can you tell me step by step how can i define it ??
i dont understand it ..

I Salute in you :handsdown::handsdown:
03/29/2013 12:42 Rhyder`#4
Code:
int  m_bPickup_TK;
just only put that
03/29/2013 13:05 ThoughtfulDev#5
Quote:
Originally Posted by jayjei14 View Post
Code:
int  m_bPickup_TK;
just only put that
srsly look why does it called m_B

b = boolean so instead of int try to use bool.
03/29/2013 13:33 Mognakor#6
Quote:
Originally Posted by Shonenx33 View Post
srsly look why does it called m_B

b = boolean so instead of int try to use bool.
... Are you serious?

bool and integer is exactly the same in C
03/29/2013 14:32 Allowedes#7
Quote:
Originally Posted by Mognakor View Post
... Are you serious?

bool and integer is exactly the same in C
We are not using C, we are using C++.

So it isnt the same.
03/29/2013 14:44 khemomo#8
nooooohh !!
i spend 1 hr
but i did not get it >..<

can any one give me a guide how can i fix that error ??

like for example

Under
KRKSDLAPSDMM

Put
SDASMMJ

Please help me
03/29/2013 15:04 Rhyder`#9
No No No guys...use bool it gives warning so use int and it works fine
03/29/2013 15:09 khemomo#10
Quote:
Originally Posted by jayjei14 View Post
No No No guys...use bool it gives warning so use int and it works fine
can you make a guide how can i add this ?

please ??
03/29/2013 15:23 Mognakor#11
Quote:
Originally Posted by Allowedes View Post
We are not using C, we are using C++.

So it isnt the same.
And what is C++ based on?

If numerical values are not working as bool so why can we do things lik

Code:
CMover* Mover_ptr=NULL;
if(!Mover_ptr)
printf("blabla");
or

Code:
int x=1;
if(x)
printf("blabla");

If you take a look into WinDef.h
Code:
typedef int                 BOOL;
03/29/2013 16:21 Allowedes#12
Quote:
Originally Posted by Mognakor View Post
And what is C++ based on, smartass?

If numerical values are not working as bool so why can we do things lik

Code:
CMover* Mover_ptr=NULL;
if(!Mover_ptr)
printf("blabla");
or

Code:
int x=1;
if(x)
printf("blabla");

If you take a look into WinDef.h
Code:
typedef int                 BOOL;
Jesus, you dont realize it, mhm ? boolean type only got true or false. Interger −2.147.483.648 till 2.147.483.647.

And lawl, you only check if x even exists nothing more.

Please check the difference between BOOL and bool.

[Only registered and activated users can see links. Click Here To Register...]
03/29/2013 16:30 Mognakor#13
Quote:
Originally Posted by Allowedes View Post
Jesus, you dont realize it, mhm ? boolean type only got true or false. Interger −2.147.483.648 till 2.147.483.647.

And lawl, you only check if x even exists nothing more.
false=0
true= anything besides 0
...

And it checks if x is !0 and if thats the case it executes the printf...

Also if you are so pro maybe explain why Visual Studio (cause thats what we use to compile Flyff) defines BOOL as integer.
03/29/2013 16:32 Allowedes#14
Quote:
Originally Posted by Mognakor View Post
false=0
true= anything besides 0
...

And it checks if x is !0 and if thats the case it executes the printf...

Also if you are so pro maybe explain why Visual Studio (cause thats what we use to compile Flyff) defines BOOL as integer.
Check that link [Only registered and activated users can see links. Click Here To Register...]

BOOL is a Windows Type only for backwards compatibility.

The real bool is a true or false type, not a false bool.
03/29/2013 17:35 Reavern#15
Ihr hört beide auf, regelt es privat, nicht hier.
Anstatt anfangen in einem Thread, in dem jemand Hilfe braucht, zu diskutieren,
könnt ihr ihm lieber helfen.