Sorry for asking so many questions on the whereabouts of code, but without project files, it is hard to search for specifics
SeeSoulRider wrote:I have looked but other than PlayerCommand.hpp I can't find anything to do with player controls. I want to set it up so that when a user presses tab a scoreboard comes up. I have created the scoreboard GUI, now I need to enable the TAB key to activate it.
ClientStateInGameT::ProcessInputEvent()for keys that are usually pressed "once" (that is, immediately released), and
ClientStateInGameT::MainLoop()for keys that are usually held down for a while.
No problem, I'm happy to help!Sorry for asking so many questions on the whereabouts of code, but without project files, it is hard to search for specifics
As a side note, many Windows developers seem to think that there is no live outside of Visual Studio, and not being able to find things in a set of source files without its help is a common pattern. (I see this often because Cafu doesn't ship with Visual Studio project files, but instead uses SCons as its build system.)
Well, there are several solutions to this problem:
Indirectly, it should still be possible to use Visual Studio, either by creating projects files "manually", or by employing another build system such as Premake or CMake. See
A much quicker solution that works without the ballast of Visual Studio is to just find a good "grep" tool for Windows. Personally, I always use UltraEdit's excellent "Find in Files" under Windows, and usually
ack(the actual command name is
ack-grep) under Linux.
For more details, see:
- IDEs and Text Editors (doesn't mention "Sublime Text" at this time, which is very good, too),
- http://stackoverflow.com/questions/3179 ... t-indexing (doesn't mention "UltraEdit" nor "ack(-grep)"),
- ack(-grep), http://beyondgrep.com/
Making the change from modding a complete game to writing one from scratch is a big step, but I am enjoying the challenge
It's great to hear that!SoulRider wrote:Making the change from modding a complete game to writing one from scratch is a big step, but I am enjoying the challenge
Users browsing this forum: No registered users and 2 guests