Programming WitP
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
RE: Programming WitP
[X(]C. It's a very old school program.
Thanks, but I have another question...
Given that C isn't a object-oriented programming language, how do you have create the map?

- jwilkerson
- Posts: 8243
- Joined: Sun Sep 15, 2002 4:02 am
- Location: Kansas
- Contact:
RE: Programming WitP
The map is created in a paint program.
Actually we use a c++ complier (VS2005 for AE) but as Bill indicates there is very little "++" to the code.
Actually we use a c++ complier (VS2005 for AE) but as Bill indicates there is very little "++" to the code.
WITP Admiral's Edition - Project Lead
War In Spain - Project Lead
War In Spain - Project Lead
RE: Programming WitP
ORIGINAL: jwilkerson
The map is created in a paint program.
Actually we use a c++ complier (VS2005 for AE) but as Bill indicates there is very little "++" to the code.
Basically its still based off of the Pacific War engine that was written over a decade ago? Is that why you are still using the older coding language?
Distant Worlds Fan
'When in doubt...attack!'
'When in doubt...attack!'
- jwilkerson
- Posts: 8243
- Joined: Sun Sep 15, 2002 4:02 am
- Location: Kansas
- Contact:
RE: Programming WitP
ORIGINAL: Shark7
ORIGINAL: jwilkerson
The map is created in a paint program.
Actually we use a c++ complier (VS2005 for AE) but as Bill indicates there is very little "++" to the code.
Basically its still based off of the Pacific War engine that was written over a decade ago? Is that why you are still using the older coding language?
I'm not allowed to comment or the first part of the question - but I can say that AE is, of course, based on WITP and WITP does not use classes. That being said VS2005 is pretty current, I use that on most of my other (non-WITP-AE) projects, so I don't consider that "language" to be older. It is the coding style that is older. If we ever do a "from scratch" game then I'm sure this team at least, would use a class structure. I myself would vote for either c# (if Billy-ware) or j2ee (if scotty-ware).
WITP Admiral's Edition - Project Lead
War In Spain - Project Lead
War In Spain - Project Lead
RE: Programming WitP
ORIGINAL: jwilkerson
ORIGINAL: Shark7
ORIGINAL: jwilkerson
The map is created in a paint program.
Actually we use a c++ complier (VS2005 for AE) but as Bill indicates there is very little "++" to the code.
Basically its still based off of the Pacific War engine that was written over a decade ago? Is that why you are still using the older coding language?
I'm not allowed to comment or the first part of the question - but I can say that AE is, of course, based on WITP and WITP does not use classes. That being said VS2005 is pretty current, I use that on most of my other (non-WITP-AE) projects, so I don't consider that "language" to be older. It is the coding style that is older. If we ever do a "from scratch" game then I'm sure this team at least, would use a class structure. I myself would vote for either c# (if Billy-ware) or j2ee (if scotty-ware).
So its not the language itself, but the way in which the language is used. I believe I understand it now. [:)]
Distant Worlds Fan
'When in doubt...attack!'
'When in doubt...attack!'
RE: Programming WitP
Well, that makes one of us...[&:][&:][&:][:D][:D][:D]
We are all dreams of the Giant Space Butterfly.
-
Midnight19D
- Posts: 11
- Joined: Fri Jan 04, 2008 3:31 am
RE: Programming WitP
I'm programming school right now, and the .Net platform I believe, as well as more than 60% of my classmates, is a better language than any of the Java Family.
Fogive if i step on anyones toes with that statement, but i have found developement in C# to be easier, even when you dont use the visual editor. btw we use VS 2005/2008.
Fogive if i step on anyones toes with that statement, but i have found developement in C# to be easier, even when you dont use the visual editor. btw we use VS 2005/2008.
RE: Programming WitP
Remember that AE is a RE-WRITE, so programmers are kinda restricted in what they can use.
We are all dreams of the Giant Space Butterfly.
- niceguy2005
- Posts: 12522
- Joined: Mon Jul 04, 2005 1:53 pm
- Location: Super secret hidden base
RE: Programming WitP
The choice of language has to fit the application. In this day and age, when processor speed and memory resources are virtually infinite the features offered by .Net are quite nice. However, there are still some application areas (such as aerospace) where processor speed and memory are far from infinite and .Net is not an efficient technology.ORIGINAL: Midnight19D
I'm programming school right now, and the .Net platform I believe, as well as more than 60% of my classmates, is a better language than any of the Java Family.
Fogive if i step on anyones toes with that statement, but i have found developement in C# to be easier, even when you dont use the visual editor. btw we use VS 2005/2008.

Artwork graciously provided by Dixie
- jwilkerson
- Posts: 8243
- Joined: Sun Sep 15, 2002 4:02 am
- Location: Kansas
- Contact:
RE: Programming WitP
"choice of language"!!

I've been programming for longer than I will say - but I will say that "choosing the language" is not one of the things programmers much get to do in the real world .. I'd say I've choosen the language I would use on maybe 3 projects out of 1000. The language is usually already choosen by a predeccesor (as it ws on the AE project) or the "powers that be"!

And do I like one more than the other - nah - most of them can do anything - some can do somethings easier than others - java, c#, c++ not much difference to me, mostly in the "vendor supplied classes" .. but they can all do the same things, they just spell them a bit differently.
I've been programming for longer than I will say - but I will say that "choosing the language" is not one of the things programmers much get to do in the real world .. I'd say I've choosen the language I would use on maybe 3 projects out of 1000. The language is usually already choosen by a predeccesor (as it ws on the AE project) or the "powers that be"!
And do I like one more than the other - nah - most of them can do anything - some can do somethings easier than others - java, c#, c++ not much difference to me, mostly in the "vendor supplied classes" .. but they can all do the same things, they just spell them a bit differently.
WITP Admiral's Edition - Project Lead
War In Spain - Project Lead
War In Spain - Project Lead
RE: Programming WitP
In any case, for any actual game, programming in anything else than C++ is like telling customers with old PCs: "go and buy a new rig". Just imagine WitP in Java and being executed on its actual minimum requirements. You'd have WitP in real time. [:D]
BShaftoe
RE: Programming WitP
I myself would vote for either c# (if Billy-ware) or j2ee (if scotty-ware).
Me too. I'm no expert, but people say that C# is only marginally slower than C++, and that one sees the difference primarily in big honking 3D games, not a 2D app like WITP. Some "actual games" have been released in C#, and more are on the way. I prefer working with C# myself, as I find I code faster with it and I make fewer mistakes.

-
bradfordkay
- Posts: 8686
- Joined: Sun Mar 24, 2002 8:39 am
- Location: Olympia, WA
RE: Programming WitP
"Just imagine WitP in Java and being executed on its actual minimum requirements. You'd have WitP in real time."
We pretty much do anyway. Chez and I have been very consistent with our game, and have played 17 months of game time in 15 months of real time - only slightly faster than real time!
We pretty much do anyway. Chez and I have been very consistent with our game, and have played 17 months of game time in 15 months of real time - only slightly faster than real time!
fair winds,
Brad
Brad
RE: Programming WitP
ORIGINAL: Midnight19D
I'm programming school right now, and the .Net platform I believe, as well as more than 60% of my classmates, is a better language than any of the Java Family.
Fogive if i step on anyones toes with that statement, but i have found developement in C# to be easier, even when you dont use the visual editor. btw we use VS 2005/2008.
ORIGINAL: niceguy2005
The choice of language has to fit the application. In this day and age, when processor speed and memory resources are virtually infinite the features offered by .Net are quite nice. However, there are still some application areas (such as aerospace) where processor speed and memory are far from infinite and .Net is not an efficient technology.
Anyplace where you have an embedded system (from aerospace, to the computers in your car, to your TV remote), resources are almost always scarce. Sometimes being as efficient as possible is absolutely critical.
That was my world for many years. I've worked on phones, aircraft systems, home appliances, and other things. The situation with PCs as far as memory and processor power goes can make a programmer lazy. Depending on the language, so much is done for you.
It may be my experience, but I do prefer languages that aren't too abstracted. Languages like Java, which are designed to be portable to any system are highly abstracted, assembly isn't abstrcted at all, while languages like C and C++ are kind of in the middle. I did a fair bit of assembly back in the day, but prefer C and C++ now. I can get under the hood if I have to, but most of the time I can be somewhat abstracted from the underlying system.
Bill
WIS Development Team
- jwilkerson
- Posts: 8243
- Joined: Sun Sep 15, 2002 4:02 am
- Location: Kansas
- Contact:
RE: Programming WitP
Well depends on what we mean when we say "c++" ... in the modern Billyware World ... c++, c#, etc. mean dotnet ... which means dotnet classes, which means differences are minimal and mostly superficial.
WITP Admiral's Edition - Project Lead
War In Spain - Project Lead
War In Spain - Project Lead
RE: Programming WitP
ORIGINAL: wdolson
ORIGINAL: Midnight19D
I'm programming school right now, and the .Net platform I believe, as well as more than 60% of my classmates, is a better language than any of the Java Family.
Fogive if i step on anyones toes with that statement, but i have found developement in C# to be easier, even when you dont use the visual editor. btw we use VS 2005/2008.ORIGINAL: niceguy2005
The choice of language has to fit the application. In this day and age, when processor speed and memory resources are virtually infinite the features offered by .Net are quite nice. However, there are still some application areas (such as aerospace) where processor speed and memory are far from infinite and .Net is not an efficient technology.
Anyplace where you have an embedded system (from aerospace, to the computers in your car, to your TV remote), resources are almost always scarce. Sometimes being as efficient as possible is absolutely critical.
That was my world for many years. I've worked on phones, aircraft systems, home appliances, and other things. The situation with PCs as far as memory and processor power goes can make a programmer lazy. Depending on the language, so much is done for you.
...
Bill
Absolutely. And the things that made me absolutely crazy when working in that world were the people who insisted on tracking code metrics, especially LOC/hr. I once worked for over three weeks to REMOVE a single line of code from an embedded inner loop; when monthly LOC/hr went negative it really drove the beancounters (aka "Process Pukes", I really have nothing against accountants [:D]) crazy
RE: Programming WitP
We pretty much do anyway. Chez and I have been very consistent with our game, and have played 17 months of game time in 15 months of real time - only slightly faster than real time!
Yep, but that's because you have obligations outside the game. You've got a job (I hope!!), maybe wife, kids, and all those little hindrances that keep you to devoting all your life to the game. So most of the time, the computer does nothing. So let me reword the comparison: Just imagine WitP in Java and being executed on its actual minimum requirements in a computer versus computer game. You'd have WitP in real time.
BShaftoe






