Pages: [1]
|
|
|
Author
|
Topic: Questions about the source code (Read 2344 times)
|
Anarchy_Balsac
Zebranky food
Offline
Posts: 8
|
1). Do you need all 3 of the files specified in the downloads section to modify and compile it, or just one?
2). Does anyone know what the function that defines the kohr-ah death march looks like or is called?
3). Same as #2, but this time I'm looking for the one that periodically subtracts fuel as your travelling.
|
|
|
Logged
|
|
|
|
|
Anarchy_Balsac
Zebranky food
Offline
Posts: 8
|
Hmm, these appear to be libraries rather than actual programs. What programming language do I need then? C or C++? I have C++(though not with me at the moment), but could easily get C if I had to. Still, I need to know which.
|
|
|
Logged
|
|
|
|
|
|
Anarchy_Balsac
Zebranky food
Offline
Posts: 8
|
Alright, So far I've found these:
if (dx == 0 && dy == 0) { // Arrived at the victim's home world. Cleanse it. TemplatePtr->ShipInfo.ship_flags &= ~(GOOD_GUY | BAD_GUY); TemplatePtr->ShipInfo.actual_strength = 0; }
if (best_dist < 0 && best_dx == 0 && best_dy == 0) { // All spheres of influence are gone - game over. GLOBAL (CurrentActivity) &= ~IN_BATTLE; GLOBAL_SIS (CrewEnlisted) = (COUNT)~0;
SET_GAME_STATE (KOHR_AH_KILLED_ALL, 1); }
Those are the main problem. Although I should be able to eliminate the function altogether without problem.
Lastly, I may as well ask how to make sure my compiler compiles the whole source code, instead of just one file. Oh and where the game decrements fuel when landing on planets(cus that's annoying too).
|
|
« Last Edit: December 18, 2005, 01:51:02 am by Anarchy_Balsac »
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|