starfighter/gfx
onpon4 e95f55565c Improvements to text display.
Starfighter uses an absurdly crude method for wrapping text which
basically fails very frequently when large words are chosen. The only
reason it got away with it is because text strings don't vary. Well,
I've been quite annoyed by having to test for this and rework my
text so much, so I've added in a secondary system: if it's really
close to the edge, and the next three characters are going to be
letters, it adds a hyphen and moves on to the next line. This still
isn't 100% fool-proof, but it should catch most problems.

Also removed the "temp fix" which shifted the letters by a pixel in
code, and just shifted them in the actual image. I don't understand
why the "temp fix" was there in the first place, to be honest.
2015-06-15 23:56:20 -04:00
..
aimFighter1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
aimFighter2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
alienDevice.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowEast.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowNorth.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowNorthEast.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowNorthWest.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowSouth.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowSouthEast.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowSouthWest.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
arrowWest.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
asteroid1.png Changed blacks in asteroids to dark gray. 2015-03-07 14:46:59 -05:00
asteroid2.png Changed blacks in asteroids to dark gray. 2015-03-07 14:46:59 -05:00
asteroid3.png Changed blacks in asteroids to dark gray. 2015-03-07 14:46:59 -05:00
barrier.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
buyIcon.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
cargo1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
chainLink.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
cloakShip1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
cloakShip2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
credits.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
cursor.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
dollar.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
drone1.png Updated drone and pod graphics. 2011-08-29 11:01:40 +02:00
drone2.png Updated drone and pod graphics. 2011-08-29 11:01:40 +02:00
dualFighter1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
dualFighter2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
elec1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
elec2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
elec3.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
elec4.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
eliteFighter1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
eliteFighter2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
escort1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
escort2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
evilUrsula1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
evilUrsula2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
execTrans1.png Update Executive Transport and Pluto boss graphics. 2011-08-27 22:13:55 +02:00
execTrans2.png Update Executive Transport and Pluto boss graphics. 2011-08-27 22:13:55 +02:00
explode1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode3.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode4.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode05.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode06.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode07.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode08.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode9.png Updated explosion graphics. 2011-08-27 17:28:58 +02:00
explode10.png Updated explosion graphics. 2011-08-27 17:28:58 +02:00
explode11.png Updated explosion graphics. 2011-08-27 17:28:58 +02:00
explode12.png Updated explosion graphics. 2011-08-27 17:28:58 +02:00
explode13.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode14.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode15.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
explode16.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
eyananth.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
face_chris.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_crew.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_kline.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_krass.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_phoebe.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_sid.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
face_ursula.png Added the rest of the face updates by Lachlan Cartland. 2015-06-11 08:10:44 -04:00
firefly-big.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
firefly1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
firefly2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateBody1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateBody2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateGun11.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateGun12.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateGun21.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
frigateGun22.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
gameover.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
goodTrans1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
goodTrans2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
greenDir.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
heart.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon3.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon4.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon5.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon6.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon7.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon8.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon9.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon10.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon11.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon12.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon13.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon14.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon15.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon16.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon17.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon18.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon19.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon20.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon21.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon22.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon23.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon24.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon25.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
icon26.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
iconBase.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
kline11.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
kline12.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
merc1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
merc2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mine.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBoss1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBoss2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing11.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing12.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing21.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing22.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing31.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing32.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing41.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mineBossWing42.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
miner1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
miner2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
missileBoat1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
missileBoat2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mobileCannon1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mobileCannon2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mobileShield1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mobileShield2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
mordor.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
ore1.png Added LICENSES, gave it graphics license info, replaced badly-licensed stuff 2015-02-27 12:09:51 -05:00
ore2.png Added LICENSES, gave it graphics license info, replaced badly-licensed stuff 2015-02-27 12:09:51 -05:00
ore3.png Added LICENSES, gave it graphics license info, replaced badly-licensed stuff 2015-02-27 12:09:51 -05:00
planet_blue.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
planet_green.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
planet_orange.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
planet_red.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
planet_sun.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plasmaAmmo.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plasmaDamage.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plasmaGreen.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plasmaRate.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plasmaRed.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
plutoBoss1.png Update Executive Transport and Pluto boss graphics. 2011-08-27 22:13:55 +02:00
plutoBoss2.png Update Executive Transport and Pluto boss graphics. 2011-08-27 22:13:55 +02:00
pod.png Updated drone and pod graphics. 2011-08-29 11:01:40 +02:00
prlogo.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rebelCarrier1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rebelCarrier2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
redDir.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rocket.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rocket1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rocket2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
rocketAmmo.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
sellIcon.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
sflogo.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
sid1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
sid2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
slaveTrans1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
slaveTrans2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
smallFont.png Improvements to text display. 2015-06-15 23:56:20 -04:00
sol.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
spirit.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss11.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss12.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss21.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss22.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss31.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
splitBoss32.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
startUp.jpg Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
stunBolt.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
superCharge.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
targetText.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
transport1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
transport2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
tug1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
tug2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
wingmate1.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00
wingmate2.png Add DFSG-compatible replacement graphics. 2011-08-27 16:20:42 +02:00