Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Modding Wolf3D

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Sun Dec 26, 2010 11:42 pm    Post subject: Modding Wolf3D Reply with quote

Hey guys, when i make a hotkey on Wolf3D, it keeps on getting and error saying that the code 'GetAsyncKeyState' is undefined.
Code:
if (GetAsyncKeyState('W')){
Thrust (ob->angle,-controly*MOVESCALE);
}

I use Borland C++ 3.1(This is used to compile Wolf3D and the only compiler for this game!). If you can suggest a code for hotkeying on Borland C++ 3.1, please post.
Thanks in adv!

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Dec 27, 2010 12:07 am    Post subject: Reply with quote

http://msdn.microsoft.com/en-us/library/ms646293(v=vs.85).aspx

Header
Winuser.h (include Windows.h)

Library
User32.lib


See if there's a Win32 source port or something that modernizes the code a little, you're probably compiling the old dos code.
Back to top
View user's profile Send private message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Mon Dec 27, 2010 12:29 am    Post subject: Reply with quote

There's no Win32 port....
IdSoftware released the source code ages ago and i got it from their site full of source codes: ftp://ftp.idsoftware.com/idstuff/source/

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Dec 27, 2010 2:14 am    Post subject: Reply with quote

here's one, there may be a few others.

http://newwolf.sourceforge.net/
Back to top
View user's profile Send private message
M.CORP
Grandmaster Cheater Supreme
Reputation: 28

Joined: 28 Oct 2009
Posts: 1010

PostPosted: Mon Dec 27, 2010 11:14 pm    Post subject: Reply with quote

Just tried that one and guess what?
It works perfectly on my slow computer Very Happy....
Now to mod it. Very Happy

_________________
Shameless Self Advertising Very Happy!
Steam
Just lurking around...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites