Pages: [1]
|
|
|
Author
|
Topic: Minor fixes. pstarmap.c and spathi.c (Read 2891 times)
|
nemo
Zebranky food
Offline
Posts: 7
|
I sent this to the person who wrote HACKING, but that occurred to me it was probably the wrong forum, so reproducing here.
The documentation notes that clipping is bounding box at the moment so Spathi butt missiles are likely to hit you if not aimed precisely. I found increasing their distance from the rear of the spathi ship in the spathi.c by about 50% made them much more usable, if a little less realistic in their magical appearance away from the ship.
Btw, HACKING lists a mailing list. Is there by any chance an IRC channel? Maybe on OpenProjects.net?
In src/sc2code/planets/pstarmap.c 493c493,494 < && GLOBAL (autopilot.y) != ~0) --- > && GLOBAL (autopilot.y) != ~0 > && LOBYTE (GLOBAL (CurrentActivity)) != IN_BATTLE)
Otherwise the auto pilot banner flickers annoyingly and distractingly through a battle if it was engaged when an encounter occurred.
Well, just got this, so nothing much more to contribute. Mmmm StarControl2, I loved thee so...
Oh. Wait, maybe something more - planet transparency is incorrect for the "encounter in space" black square around the planet instead of space background. Will look at that after I play some more. Spathi are so dang cute
|
|
|
Logged
|
|
|
|
Parker
*Many bubbles*
Offline
Posts: 122
|
Bounding box has already been eliminated in CVS in favor of pixel-perfect collision detection. As for the IRC channel, it is #sc2 at irc.freenode.net (formerly openprojects.net).
|
|
|
Logged
|
|
|
|
nemo
Zebranky food
Offline
Posts: 7
|
Sweeet! Will have to grab the CVS version. That way I can avoid redundant posts. And thanks for the IRC channel. now if only I could snag the nick "nemo" on freenode :-/
|
|
|
Logged
|
|
|
|
nemo
Zebranky food
Offline
Posts: 7
|
Sigh. Dunno. must be on crack tonight. Thought the banner disappeared in that one battle sequence, but then it appeared again. Oh well, back to drawing board.
|
|
|
Logged
|
|
|
|
nemo
Zebranky food
Offline
Posts: 7
|
Yes! Ok. had to fire up debugger on the damn thing, but this is the correct location In clock.c 136c136,137 < && GLOBAL_SIS (CrewEnlisted) != (COUNT)~0) --- > && GLOBAL_SIS (CrewEnlisted) != (COUNT)~0 > && LOBYTE (GLOBAL (CurrentActivity)) != IN_ENCOUNTER)
|
|
|
Logged
|
|
|
|
nemo
Zebranky food
Offline
Posts: 7
|
Also, modified pngs to correctly display degree sign (for content/lbm) http://m8y.org/sc2/
|
|
|
Logged
|
|
|
|
Mika
Core Team
*Many bubbles*
Offline
Gender:
Posts: 121
|
Autopilot problem has also been already fixed in CVS. Read http://sc2.sourceforge.net/contributing.html, don't post patches here in the future and use latest CVS version or all will be rejected.
|
|
|
Logged
|
|
|
|
nemo
Zebranky food
Offline
Posts: 7
|
Sorry about that one too then. I had thought since Parker had only mentioned the first one was fixed, that the second one was still in there.
Well, that was a couple of hours wasted last night (well, familiarizing with code is never wasted...)
will use CVS in future.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|