Author Topic: Hardware, C++, etc. (split from the other thread)  (Read 4139 times)

0 Members and 1 Guest are viewing this topic.

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
You mean in game? Like go in to my controls and redo every last key there for every pilot? How hard can it be to make this thing interperet the key input off the OS instead of directly reading the keypresses?

BTW, that reminds me of another feature request. Is there any way to have global control preferences in the game instead of each new pilot getting the defaults? I have a specific way I like my joystick buttons configged with my Top Gun Afterburner II stick for this game and it never changes. I imagine most folks are like that with their controls. Why should we have to set our controls up just so every time we make new pilots?

Even if it was just a save/load config function so that the settings could just be loaded without having to do each button over again...
« Last Edit: October 03, 2005, 01:06:09 pm by 2993 »
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Inquisitor

Hardware, C++, etc. (split from the other thread)
Quote
How hard can it be to make this thing interperet the key input off the OS instead of directly reading the keypresses?


Try it, then tell me.
No signature.

 

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
I wasn't being sarcastic when I asked that. Please restrain your own sarcasm as well.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Inquisitor

Hardware, C++, etc. (split from the other thread)
Difficult when there are almost 2 pages of criticism by or about you and arguments about being a n00b by or about you in a thread meant to discuss possible features.

Keep the comments constructive and you will get less sarcasm and fewer moderated posts.

Thanks.

-edit-
And for the record, I was serious.
« Last Edit: October 03, 2005, 02:41:47 pm by 122 »
No signature.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Hardware, C++, etc. (split from the other thread)
Word to the wise Josh (and anyone else who is thinking of saying that some request  is easy). Intimating that something is easy like you just did is one of the quickest ways to get your request ignored by the coders.

If you have the knowledge to actually look at the code and realise that it's easy then you should do it yourself. If you don't have that knowledge then simply state what you want and leave it to those who do to decide if it's easy or not.

Anyway let that be the end of the matter.
« Last Edit: October 03, 2005, 03:13:22 pm by 340 »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
I was not attempting to intimate that it was easy. I wanted the information if anyone knew. If my phraseology implied otherwise, I'm sorry.

As for me looking at the code to do something with it...erm...right...I'm a hardware guy. Much as I would like to learn how to program, I haven't had the opportunity. Heck, I don't even know which language this game is coded in. One of the C languages, more than likely, but...Well, if anyone knows a good FREE online tutorial for learning to actually code in C (and C++ for that matter) I'd be much obliged if you could point it out to me. I'd love to be able to actually take a more direct part in development of this game. (As for the C++, I'd like to learn that so I can do some work with Starfleet Command and Starfleet Command Orion Pirates.)
« Last Edit: October 03, 2005, 03:20:44 pm by 2993 »
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Inquisitor

Hardware, C++, etc. (split from the other thread)
Apology accepted.

C and C++, there is at least the free compiler options (see sticky in this forum), good way to get started is to see if you can figure out the compiler and puzzle through the errors.

As for "learning" C++, there are a number of decent getting started books (learn C++ in 21 days, etc) that can be good for beginners.
No signature.

  

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
Yeah, well, you note my emphasis on the word "FREE"? I can't afford to get any books right now.

And before you ask, I owe the library money, too.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline aldo_14

  • Gunnery Control
  • 213
Hardware, C++, etc. (split from the other thread)
http://www.cplusplus.com/doc/tutorial/index.html
(C++ tutorial.  I started working on this, and then ended up working and lost track.  I think it's good, though)

http://nehe.gamedev.net/
(OpenGL tutorials; same as above :D.  Has lots of different language examples, too)

 

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
Thanks, Aldo. I'll be looking at that as soon as I can spare a decent blork of time. Looks good just from the table of contents.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Hardware, C++, etc. (split from the other thread)
Quote
Originally posted by CaptJosh
BTW, that reminds me of another feature request. Is there any way to have global control preferences in the game instead of each new pilot getting the defaults? I have a specific way I like my joystick buttons configged with my Top Gun Afterburner II stick for this game and it never changes. I imagine most folks are like that with their controls. Why should we have to set our controls up just so every time we make new pilots?

There is a way, but I'm not going to do it in the config rewrite.  I tend to use slightly different control configs for different mods so this would just be annoying for someone like me who does that same thing.  The controls configuration is kept with the pilot file though and is not mod specific so you can use one pilot, with the same control config, on multiple mods.  Even if you do use more pilots all you have to do is clone one that has your config, use it, and change the active campaign.  Cloning a pilot saves all of your config info in that new pilot file.

Most "FREE" C/C++ coding tutorials are absolute crap.  They will either be outright wrong in places or give advice that goes against the standard or advice that is very platform/compiler specific.  It's best to buy a really good/recommended/respected book and either just read it or use it as a reference.  You can possibly get by with just online tutorials but there is a chance that you'll suffer for it later.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
-C

 

Offline dizzy

  • 26
    • http://dizzy.roedu.net
Hardware, C++, etc. (split from the other thread)
And I also recommend the free Thinking in C++ books which they really are not absolute crap, they even cover latest additions of the standard like "template default parameters" or "mutable" keyword (volume 1 is probably what you want as it covers the language, volume2 deals more with designing and thinking into the language :)):
http://www.planetpdf.com/codecuts/pdfs/eckel/TIC2Vone.zip
http://www.planetpdf.com/codecuts/pdfs/eckel/TIC2Vtwo.zip

 

Offline CaptJosh

  • 210
Hardware, C++, etc. (split from the other thread)
Quote
Originally posted by WMCoolmon
Whee:
http://dynamic.gamespy.com/~freespace/fsdoc/index.php?pagename=CodingInC


Dude!

Thanks WMC! This should be useful once I can spare the time. Right now I have to focus on not getting thrown out of my apartment.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.