Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » C Programmers Wanted!
Re: C Programmers Wanted![message #100312] Thu, 11 March 2004 09:44 Go to previous messageGo to next message
Mouse_Master is currently offline Mouse_Master

 
Messages:31
Registered:March 2004
Location: Suitland, MD

Is using the source 'as is' the best course to take? I mean, should you use the MS compiler, or maybe convert the code to work in GCC?

Just a thought I would like to throw out, convert the code to build under GCC, and then maybe setup JA2 to use the SDL libs for sound/graphics. Doing this could also make JA2 cross platform to almost any system (Windows/Unix/Mac).

Probably a lot of work, but maybe not. I am sort of a programmer, but have never dealt with much in Windows, almost all in Unix, but I did pick up Wildfire specifically to look at the source, hoping it might have been the Linux source.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100313] Thu, 11 March 2004 12:23 Go to previous messageGo to next message
PegasusJF is currently offline PegasusJF

 
Messages:19
Registered:March 2004
Location: Northern IL
Hello, this is my first post after lurking for a long while.

I have some experience in C++, but that's several years old. Currently I work in PHP, so I can work with minor parts of code with my current knowledge.

However, I feel I can add more to this as my capacity as a artist. I currently am studying Animation at the Illinois Institute of Art Schaumburg. I own academic versions of Poser 4, and 3DS Max, so I can contribute art to whatever new actions you wish to code in.

I was a frequent visitor to the TerraVirtua Forums prior to JA2's initial release, and some suggested from playing the demo certain useful features like gathering objects from unconcious characters or pulling said characters out of the line of fire.

But it can go far more than that, honestly (and perhaps I'm talking rubbish, since I have virtuallly no experience what having the source code can accomplish) We can add more vertical levels like X-COM Apocalyse, increase the size of the tactical maps, make usable vechicles, more characters, even change the whole setting (like make at X-COM remake that is never made)

This may all be me in fantasy land, but playing the game several times I believe the engine is robust enough to do a lot more that what it currently does. I could go on and on with ideas, but well, you guys just asked for my programming skills, and well, what's above is what I can do code and art-wise. I'll save the ideas for another time.

God Bless!

PegasusJF

Report message to a moderator

Private
Re: C Programmers Wanted![message #100314] Fri, 12 March 2004 03:12 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Everyone is welcome. Although much of the groundwork must be done by C programmers, the next step will involve a lot more people.

And good ideas can come from everywhere, so feel free to join the discussion.

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100315] Fri, 12 March 2004 03:19 Go to previous messageGo to next message
Scorpius is currently offline Scorpius

 
Messages:36
Registered:March 2004
to Mouse:
JA has already been ported to Linux. I have a copy of it at home.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100316] Fri, 12 March 2004 03:27 Go to previous messageGo to next message
ja2source

 
Messages:6
Registered:March 2004
Location: Germany
Hi Shanga,

got two years of C expirience from technical school and six month experience from practical work in C.
Been working as a programer/administrator since summer 1999.

Practical Experience in:
Unix/Linux Shell-Scripting, Perl, Maintenance of C programes, Database programming in Oracle (PL/SQL) and MS Access (VB/VBA), and above all excessive JA2 Smile

From all the procedural languages I've written code in untill today C is still the one I like most. I know ANSI C, the standardized C from International Standards Organization (ISO) quite good but have never seen Microsoft C. My hope is that MS C is not too proprietery "enhanced" and that SirTech stayed true to the ANSI C ISO standard wherever they could. Today in the morning my copy of wildfire finally arrived and after work I'm gonna have a first look at the code to get an answer to some of my questions about it.

Two things came to my mind when thinking about JA2 development:

-- Programming Guidelines -> comments in code, readability of code, maybe programming in hungarian notation (speaking variable names, prefix, suffix, etc., see http://web.umr.edu/~cpp/common/hungarian.html)

I think programming guidelines are important for every software project. They make the code easier readable to every programer out there. Good experienced programers automatically comment their code when writing it because they already know that maybe a year and three software projects later they'll have to work again on the same code for another update/enhancement/bugfix. Comments in code help everybody. Same goes for variable names. They can be chosen in a way that nobody knows what they're there for. On the other side a variable name can reflect what the variable was introduced for and that makes reading code much easier in my opinion.

-- Project Management -> which projects shall be implemented, who does what, timelines, teams and groups

The main thing about managing ja2 development would be to avoid incompabilities between modified or newly implemented source code. This incompabilities happen naturally when different programers change the same piece (or dependant parts) of code. Without defined projects and teams every programer is gonna start modifying what comes first to his mind and thus we're gonna have many incompatible derivates of JA2 soon.

After installing MS VS 6.0, reviewing the JA2 code and building it with some help from Digicrab's already made experience (see http://www.ja-galaxy-forum.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=5&t=000802) I'll be able to say if I can really handle it.
But I'm interested as hell and greedy to see JA2 from the inside, as you can guess by my lengthy reply.

Regards
Ivan

Report message to a moderator

Private
Re: C Programmers Wanted![message #100317] Fri, 12 March 2004 06:23 Go to previous messageGo to next message
Digicrab is currently offline Digicrab

 
Messages:253
Registered:December 2003

Uh, I'm a programmer so yes I know C. I did (and will again do in a few months) programming for EA. How's that?

I'm not sure what's going to come out of this team thing that's getting organized, but I'm probably going to be mucking around the src regardless if I'm alone or on a team. It would be really nice to work with others though.

With regards to people wanting to switch to gcc and whatnot, I don't agree. Everything works now, I don't see what can be gained by moving the src to a diffrent compiler.

Report message to a moderator

Master Sergeant
Re: C Programmers Wanted![message #100318] Fri, 12 March 2004 08:03 Go to previous messageGo to next message
Dev. Dale Danger is currently offline Dev. Dale Danger
Messages:1
Registered:March 2004
My buddy Arno told me about this and I'd be more then happy to help out.

C++ is where most of my experience lies but I've have done some C coding.

Report message to a moderator

Civilian
Re: C Programmers Wanted![message #100319] Sat, 13 March 2004 00:27 Go to previous messageGo to next message
Mouse_Master is currently offline Mouse_Master

 
Messages:31
Registered:March 2004
Location: Suitland, MD

Quote:
Originally posted by Scorpius:
to Mouse:
JA has already been ported to Linux. I have a copy of it at home.
Unfortunately, we did not get the Linux source though..... I figured we would not since an outside company (Titan) did the port.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100320] Sat, 13 March 2004 00:40 Go to previous messageGo to next message
Mouse_Master is currently offline Mouse_Master

 
Messages:31
Registered:March 2004
Location: Suitland, MD

Quote:
Originally posted by Digicrab:
With regards to people wanting to switch to gcc and whatnot, I don't agree. Everything works now, I don't see what can be gained by moving the src to a diffrent compiler.
GCC, a compiler available to everyone for free, that is the biggest gain.

Moving away from the other libs, well, that is more of a CYA move, you don't want to release your fixed up version of JA, and have a software company come sue you because you used their IP without paying. SDL is not the only option, but many other source packages moved to SDL as an option.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100321] Sat, 13 March 2004 06:16 Go to previous messageGo to next message
XXXSHADOW is currently offline XXXSHADOW

 
Messages:39
Registered:November 2002
Location: Hell
I can c


but i can't compile the code yet :bawling:

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100322] Sat, 13 March 2004 06:32 Go to previous messageGo to next message
Digicrab is currently offline Digicrab

 
Messages:253
Registered:December 2003

@XXXSHADOW

Why can't you compile code?

Report message to a moderator

Master Sergeant
Re: C Programmers Wanted![message #100323] Sat, 13 March 2004 07:26 Go to previous messageGo to next message
XXXSHADOW is currently offline XXXSHADOW

 
Messages:39
Registered:November 2002
Location: Hell
I don`t have VC so i use dev++
so if i want compile a file he can't found files(not the mss) or must I compile a special file


I have all the time write programms but I had no the problem


@ link for dev++ http://download.com.com/3000-2069-1683220.html?tag=lst-0-5)http://download.com.com/3000-2069-1683220.html?tag=lst-0-5 :bawling: Iam stupid

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100324] Sat, 13 March 2004 07:44 Go to previous messageGo to next message
ZaPPPa is currently offline ZaPPPa

 
Messages:25
Registered:January 2004
Location: San Jose, CA
Can't anyone create a good .dsp file with all the correct includes? I don't want to mess up the general includes list in my VC++ options...

Also, does anyone intend to use a CVS system to merge code? Otherwise it could turn into a giant mess if everyone is hacking away without organising it.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100325] Sat, 13 March 2004 07:50 Go to previous messageGo to next message
joker_pl is currently offline joker_pl

 
Messages:35
Registered:March 2004
Location: Poland - Cracow

@Mouse_Master : bout porting JA to linux
there is something like IsometriX its open source isometric game engine. it was used to make JA working in linux. it was coded in java.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100326] Sat, 13 March 2004 07:57 Go to previous messageGo to next message
joker_pl is currently offline joker_pl

 
Messages:35
Registered:March 2004
Location: Poland - Cracow

and to all (sorry for ne reply)
i think that there should be a new forum in BPF bout coding. it should be closed. and access to that forum should have only peoples who REALY wants to make something with that code. but its only MY opinion.
so what im trying to do now??
i will try to "translate" sources from \Build\TileEngine to c++. i hope that someone else will also try to "translate" other part to c++ to make it more "user frendly"

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100327] Sat, 13 March 2004 08:28 Go to previous messageGo to next message
ZaPPPa is currently offline ZaPPPa

 
Messages:25
Registered:January 2004
Location: San Jose, CA
What do you intend to 'translate' exactly?

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100328] Sat, 13 March 2004 09:05 Go to previous messageGo to next message
joker_pl is currently offline joker_pl

 
Messages:35
Registered:March 2004
Location: Poland - Cracow

emmm make it more user friendly. make just like it should be done in c++ for ex. make classes and such a things. make source "clear".

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100329] Sat, 13 March 2004 09:27 Go to previous messageGo to next message
Digicrab is currently offline Digicrab

 
Messages:253
Registered:December 2003

You know, C is an actual viable language. People used to write programs in it and still do. =)

There's nothing wrong with C. next thing someone will want to port JA2 to VB or something.

Report message to a moderator

Master Sergeant
Re: C Programmers Wanted![message #100330] Sat, 13 March 2004 11:27 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Ok, people, I've moved every topic of interest to the Whiteboard.

Also, if I've left anyone out of that forum, who think that can actively participate, say so.

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100331] Sat, 13 March 2004 13:55 Go to previous messageGo to next message
Headshot is currently offline Headshot

 
Messages:176
Registered:May 2002
Location: Los Angeles ( Hollywood )...

@Shanga

I have to say moving to the white board is very frustrating. I am not a C programer but I can easily read and understand most of what I have read in the source code. I do understand Basic, Visual Basic, Hex and machine language from back in the days of the Commodore 64 and Amiga and pick up languages pretty fast.

When a discussion on the white board cant have a question asked, nor a comment made it just seems to exclusive, and I for one think it is wrong. This is after all supposed to be a public source code work, and as such should not just include current C programmers.

Case in point: Under the heading ... The move to data-driven dynamics

The discussion is on making it modder friendly to add or remove items and the difficulties involved. One metioned thing was about the item code for sungoggles and how they work throughout the program. Great... I see how changing that item would be difficult, but in order to make a modifiable data base table with items that are NOT directly hard coded should not be a problem.

Also to Digicrab when he says that the indices of the objects would be shifted if something were removed that is not always true, as a place holder of null data could be placed where the removed item was thus keeping the list intact.

Another:

I read a post that asked to have the AIM mercs not to be killed off when they have not been hired. OK easy

The code to be changed is simple:

Here is the original code in the source. ( from the tactical / campaign data )

// handles possible death of mercs not currently working for the player
void HandleUnhiredMercDeaths( INT32 iProfileID )
{
UINT8 ubMaxDeaths;
INT16 sChance;
MERCPROFILESTRUCT *pProfile = &(gMercProfiles[ iProfileID ]);


// if the player has never yet had the chance to hire this merc
if ( !( pProfile->ubMiscFlags3 & PROFILE_MISC_FLAG3_PLAYER_HAD_CHANCE_TO_HIRE) )
{
// then we're not allowed to kill him (to avoid really pissing off player by killing his very favorite merc)
return;
}

// how many in total can be killed like this depends on player's difficulty setting
switch( gGameOptions.ubDifficultyLevel )
{
case DIF_LEVEL_EASY:
ubMaxDeaths = 1;
break;
case DIF_LEVEL_MEDIUM:
ubMaxDeaths = 2;
break;
case DIF_LEVEL_HARD:
ubMaxDeaths = 3;
break;
default:
Assert(FALSE);
ubMaxDeaths = 0;
break;
}

// if we've already hit the limit in this game, skip these checks
if (gStrategicStatus.ubUnhiredMercDeaths >= ubMaxDeaths)
{
return;
}


The variables are defined at the top and the info to change is simple.

Make the statements for Easy, Medium, Hard all the same.

ubMaxDeaths = 0;

As the default is set to zero no matter what difficulty level is selected the game will never kill off any AIM merc while on assignment elsewhere in the world.

It does not take a C programer to see this. I would have liked to suggest it to the " Programers on the White Board " but alas I am not allowed nor is anyone else not selected to be On The List.

Gee thanks...
:argue:

Headshot

Report message to a moderator

Staff Sergeant
Re: C Programmers Wanted![message #100332] Sat, 13 March 2004 17:40 Go to previous messageGo to next message
Tox is currently offline Tox

 
Messages:249
Registered:February 2000
Location: www.webcodesign.de
haven't checked if I'm allowed, but I must say that I agree with Headshots point. I think it would be better to have a very strict moderator.

Report message to a moderator

Sergeant 1st Class
JA2STI Creator
Re: C Programmers Wanted![message #100333] Sat, 13 March 2004 18:28 Go to previous messageGo to next message
Digicrab is currently offline Digicrab

 
Messages:253
Registered:December 2003

I can see why it's possible to be frustrated at this point. However, I believe as things settle down, the people who form the core of the modding effort will need a place to talk where discussion will stay focused. Right now, each of us is doing our own thing, so the format is not suited well for that.

Report message to a moderator

Master Sergeant
Re: C Programmers Wanted![message #100334] Sat, 13 March 2004 22:55 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
That's why I kept two boards open. One for programming talk only, one for the more general issues.

@Headshot - if you think you can contribute to the Whiteboard, just say so. I'll give you write access. There are 3000 users on this forum and a public talk will be VERY hard to keep focused, trust me. Just rememeber all the UC threads that degenerated... In fact, you've got access right now.

@Tox - you asked for it, you've got it.

As I've said, access to writing on the Whiteboard will be freely given to anyone interested in programming talk. But... if people begin to stray off the path, I'll start removing acces rights. It's that simple. This is something new we are trying here, so have a little patience...

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100335] Sat, 13 March 2004 23:19 Go to previous messageGo to next message
bold is currently offline bold

 
Messages:30
Registered:March 2004

hi.

i am new here but i can speak / write c and c++ and i played ja very excessive.

i would say we need a cvs server for coordinating our work.

and i think we should add each other to our icq or something like that so we can see who is online etc.

btw is there a irc channel for bears pit the ja2 sourcecode project?

bye

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100336] Sat, 13 March 2004 23:35 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Welcome bold. I've added to you to the Whiteboard white-hats.

Yes, we need a CVS. I think Andrei is looking into that. But as for chats, the Abdul is Quakenet staff so he can set up anything we want.

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100337] Sat, 13 March 2004 23:41 Go to previous messageGo to next message
bold is currently offline bold

 
Messages:30
Registered:March 2004

well, thank you. so, is there any irc channel for the project?

btw i am running linux so i am for rewriting the code for the sdl library Wink

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100338] Sat, 13 March 2004 23:44 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
#ja-galaxy on Quakenet is the official Bear's Pit channel.

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100339] Sun, 14 March 2004 01:43 Go to previous messageGo to next message
osk is currently offline osk

 
Messages:24
Registered:April 2000
Location: Malmoe, Sweden
Hey.. I'm a C coder (see http://www.student.lu.se/~nbi98oli/), and I hope I have some time to contribute to project. I'm like bold interested in porting the game to linux, but judging from posts in the source forum this might prove to be quite hard/timeconsuming.

Oskar Liljeblad (oskar@osk.mine.nu)

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100340] Sun, 14 March 2004 02:10 Go to previous messageGo to next message
pythagoras is currently offline pythagoras

 
Messages:7
Registered:March 2004
Location: Paris, France
Greetings to the group,

First of all, let me say that i'm absolutely thrilled by the availability of the JA2 source code. I've always been a fan and as a programmer myself i've always dreamed of peeking at the mechanics of such a great game.
Even more, as i've made a hobby out of isometric programming, it's even more interesting to see how the guys at Sir-Tech built their own iso engine.
After a day of browsing through the code and experiencing a bit, i'm willing to join the common effort of making JA2 an even better game.
I've a good experience of C/C++ and a few other languages and it's been a few years that i've been making isometric engines (i know there are a few here who had a look at an old engine of mine, namely IsometriX from http://www.isometrix.org ).
Digicrab and a few others have already began to document parts of the code and i think this is the way we should follow for the beginning.
When things will be more clear and the directions to follow defined, a cvs server will need to be set up to avoid overlapping of modifications.
But i guess all this will come in good time. In the meanwhile, i think we will all be experiencing a bit more to get a more intuitive feeling for the code.


Pythagoras (aka Mister Y)

Report message to a moderator

Private
Re: C Programmers Wanted![message #100341] Sun, 14 March 2004 02:11 Go to previous messageGo to next message
Boomer is currently offline Boomer

 
Messages:114
Registered:February 2004
Location: In the heart of Transilva...
Quote:
Originally posted by osk:
I'm like bold interested in porting the game to linux

Oskar Liljeblad (oskar@osk.mine.nu)
JA2 is already ported to Linux for more than a couple of years now, and the Windows version works just fine with winex3.1 (the JA2 demo runs just fine too) so no need to be ported. Instead, I would like too see DL or UC installing and running in Linux... No need to think about it, it was just wishfull thinking! Very Happy

Report message to a moderator

Sergeant
Re: C Programmers Wanted![message #100342] Sun, 14 March 2004 02:41 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Whoohooo... We have the man who made IsometriX aboard guys! I've seen your work and please allow me to say I'm more than thrilled to have you join this effort.

Access for osk and Pythagoras to the Whiteboard coming right now...

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100343] Sun, 14 March 2004 04:57 Go to previous messageGo to next message
pythagoras is currently offline pythagoras

 
Messages:7
Registered:March 2004
Location: Paris, France
Thanks Shanga Wink

IsometriX as an engine was nothing special though (mainly educational). The web site was more useful in many ways.
Anyway, thanks again for the access. When things will settle down, it would be good for each member to decide which domain of the code he feels more confortable with (graphical engine, ai, interface, sound, etc.) according to his own abilities, and maybe create sub-teams.
What do you all think ?

Report message to a moderator

Private
Re: C Programmers Wanted![message #100344] Sun, 14 March 2004 05:24 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Read my mind. Check "Project steps" in Whiteboard... Very Happy

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100345] Mon, 15 March 2004 17:57 Go to previous messageGo to next message
ggeorgo is currently offline ggeorgo
Messages:4
Registered:January 2003
Location: Athens, Greece
Hello gyus,

I downloaded the sources and compiled without problems...
I run the new exe and .... tadaaaa!!!!....
It works!!!...... wow!

I even managed to comment out the code for the splash screens, to start straight without them...

I am a professional programmer working in a private firm in Athens Greece.
I know very well C and C++ and I would be very interested to participate in a modification of the original JA2

my emails: ggeorgo@internet.gr, ggeorge@srb.gr

Report message to a moderator

Civilian
Re: C Programmers Wanted![message #100346] Mon, 15 March 2004 20:29 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Welcome to the project

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100347] Tue, 16 March 2004 04:18 Go to previous messageGo to next message
DaViLLaN is currently offline DaViLLaN

 
Messages:12
Registered:October 2003
Location: CT
I want in!!

I write code for NEC, designing their digital phone systems . Been writing in C for 8+ years, although its embedded code its not much different.

Also, Im working on expanding my huge assortment of real world weapon sounds. Ill make them available soon. Also, maybe we can change the bit depth of the sound files, or make them .mp3s???

DaViLLaN

Report message to a moderator

Private
Re: C Programmers Wanted![message #100348] Tue, 16 March 2004 04:24 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Ok, here's your free hat... now get to work! Where's that slave-driver whip of mine?! Very Happy

Report message to a moderator

Captain
Re: C Programmers Wanted![message #100349] Tue, 16 March 2004 04:31 Go to previous messageGo to next message
bold is currently offline bold

 
Messages:30
Registered:March 2004

we don t want mp3 s we want ogg s because mp3 is not free and the quality of ogg is better. but doesn t matter. Wink

welcome.

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100350] Tue, 16 March 2004 07:14 Go to previous messageGo to next message
jEbUs is currently offline jEbUs

 
Messages:36
Registered:November 2003
Location: Brugge, Belgium
I've gone and advertised a little on the DAC and NMA boards about this project. Let's hope it brings in new recruits...

Report message to a moderator

Private 1st Class
Re: C Programmers Wanted![message #100351] Wed, 17 March 2004 04:15 Go to previous messageGo to previous message
Dass is currently offline Dass

 
Messages:6
Registered:March 2004
i know nothing about C/C++ but i wanted to wish you good luck


(can i have a whitehat too now? ) Smile

Report message to a moderator

Private
Previous Topic: Compiler Problem
Next Topic: JA2 Code Documentation and doubts?
Goto Forum:
  


Current Time: Sat Jan 25 01:34:22 GMT+2 2025

Total time taken to generate the page: 0.02380 seconds