* svn properties

This commit is contained in:
tlh2000 2009-05-30 12:47:28 +00:00
parent f4726188b0
commit 8c0bb705fc
19 changed files with 230 additions and 230 deletions

View file

@ -22,37 +22,37 @@ msgid "You cannot reach building place"
msgstr "Не мога да достигна мястото за стоене."
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Не можете да стоите %s тук"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Няма достатъчно ресурси за строене %s"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Не може да строите повече единици %s"
#: src/action/action_build.cpp:255
#, c-format
#, c-forma
msgid "Unable to create building %s"
msgstr "Не мога да създам сградата %s"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Новата %s Завършена?e"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Има нужда от %s За поправка"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: Завършено"
@ -61,42 +61,42 @@ msgid "No Resources to Return."
msgstr "Няма ресурси за връщане."
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: Няма достатъчно мана: %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: Не мога да хвърля магията: %s"
#: src/action/action_train.cpp:170
#, c-format
#, c-forma
msgid "New %s ready"
msgstr "Новият %s Е готов?"
#: src/action/action_train.cpp:217
#, c-format
#, c-forma
msgid "Unable to train %s"
msgstr "Не мога да обуча %s"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Ъпгрейда на %s Отказ?"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Ъпгрейда на %s Завършен"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Играча \"%s\" напусна играта"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Играча \"%s\" Беше убит"
@ -157,7 +157,7 @@ msgid "No sync info for this replay !"
msgstr "No sync info for this replay !"
#: src/network/commands.cpp:826
#, c-format
#, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Replay got out of sync (%lu) !"
@ -170,7 +170,7 @@ msgid "End of replay"
msgstr "Край на повторението"
#: src/network/network.cpp:928
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "%s sent bad command"
msgstr "%s Sent Bad Command"
@ -179,7 +179,7 @@ msgid "Network out of sync"
msgstr "Network out of sync"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "Чакам играча \"%s\": %d:%02d"
@ -204,7 +204,7 @@ msgid "Total Unit Limit Reached"
msgstr ""
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr ""
@ -218,7 +218,7 @@ msgid "Do it! Do it now!"
msgstr "Направи го! Направи го сега!!"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Благодаря ви, че играхте Stratagus.\n"
@ -235,7 +235,7 @@ msgid "Unit training queue is full"
msgstr "Няма място пред опашката за трениране на единици."
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "MESSAGE:%s~!_"
@ -296,27 +296,27 @@ msgid "Screenshot made."
msgstr "Screenshot made."
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Last message repeated ~<%d~> times"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<?v?Event: %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Вие имате ~<%d~> %ss"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Вие имате ~<%d~> %s(s)"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s Атакуван"

View file

@ -24,37 +24,37 @@ msgid "You cannot reach building place"
msgstr "Bauplatz nicht erreichbar"
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Sie können %s hier nicht bauen"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Nicht genügend Ressourcen um %s zu bauen"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Kann nicht mehr Einheiten %s bauen"
#: src/action/action_build.cpp:255
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "Unable to create building %s"
msgstr "Nicht in der Lage, Gebäude zu errichten %s"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Bauen von %s abgeschlossen"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Wir benötigen zum Reparieren mehr %s"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: fertiggestellt"
@ -63,42 +63,42 @@ msgid "No Resources to Return."
msgstr "Keine Ressourcen zum zurückbringen."
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: Nicht genügend Mana für Spell: %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: Kann Spell nicht casten: %s"
#: src/action/action_train.cpp:170
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "New %s ready"
msgstr "%s einsatzbereit"
#: src/action/action_train.cpp:217
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "Unable to train %s"
msgstr "Nicht in der Lage, %s auszubilden"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Upgrade zu %s abgebrochen"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Upgrade zu %s fertiggestellt"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Spieler \"%s\" hat das Spiel verlassen"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Spieler \"%s\" wurde getötet"
@ -163,7 +163,7 @@ msgid "No sync info for this replay !"
msgstr "Keine Synchronisationsdaten für diese Aufnahme gefunden"
#: src/network/commands.cpp:826
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Aufnahme hat Synchronisation verloren (%lu) !"
@ -177,7 +177,7 @@ msgid "End of replay"
msgstr "Ende der Aufnahme"
#: src/network/network.cpp:928
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "%s sent bad command"
msgstr "%s hat ein schlechtes Kommando gesendet"
@ -187,7 +187,7 @@ msgid "Network out of sync"
msgstr "Netzwerk hat Synchronisation verloren"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "Warten auf Spieler \"%s\": %d:%02d"
@ -212,7 +212,7 @@ msgid "Total Unit Limit Reached"
msgstr ""
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr ""
@ -226,7 +226,7 @@ msgid "Do it! Do it now!"
msgstr "Tu es! Tu es jetzt!"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Danke, dass Sie Stratagus gespielt haben.\n"
@ -243,7 +243,7 @@ msgid "Unit training queue is full"
msgstr "Trainingsschlange ist voll."
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "MESSAGE:%s~!_"
@ -304,27 +304,27 @@ msgid "Screenshot made."
msgstr "Screenshot erstellt."
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Letzte Nachricht wurde ~<%d~> mal wiederholt"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<Ereignis: %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Sie haben ~<%d~> %ss"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Sie haben ~<%d~> %s(s)"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s wird attackiert"

View file

@ -21,37 +21,37 @@ msgid "You cannot reach building place"
msgstr "Et voi päästä rakennuspaikalle"
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Et voi rakentaa rakennusta %s tähan"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Ei tarpeeksi resursseja rakennuksen %s rakentamiseen"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Ei voida tuottaa enemman yksiköitä %s"
#: src/action/action_build.cpp:255
#, c-format
#, c-forma
msgid "Unable to create building %s"
msgstr "Rakennusta %s ei pystytty luomaan"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Uusi %s on valmis"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Tarvitaan enemmän resurssia %s korjaamiseen!"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: Valmis"
@ -60,42 +60,42 @@ msgid "No Resources to Return."
msgstr "Ei resursseja palautettavaksi"
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: Ei tarpeeksi manaa loitsuun %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: Ei voitu tehdä loitsua %s"
#: src/action/action_train.cpp:170
#, c-format
#, c-forma
msgid "New %s ready"
msgstr "Uusi %s valmis"
#: src/action/action_train.cpp:217
#, c-format
#, c-forma
msgid "Unable to train %s"
msgstr "Ei pystytty kouluttamaan %s"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Päivitys rakennukseksi %s keskeytetty"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Päivitys %s-muotoon valmis"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Pelaaja \"%s\" on lähtenyt pelistä"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Pelaaja \"%s\" on tapettu "
@ -156,7 +156,7 @@ msgid "No sync info for this replay !"
msgstr "Ei sykronointiinformaatiota tähan uudelleenpelaukseen!"
#: src/network/commands.cpp:826
#, c-format
#, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Uudelleenpelaus ei enää synkronoidu (%lu)!"
@ -169,7 +169,7 @@ msgid "End of replay"
msgstr "Uudelleenpelauksen loppu"
#: src/network/network.cpp:928
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "%s sent bad command"
msgstr "%s lähetti huonon komennon"
@ -178,7 +178,7 @@ msgid "Network out of sync"
msgstr "Verkko ei synkronoidu"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "Odotetaan pelaajaa \"%s\": %d:%02d"
@ -203,7 +203,7 @@ msgid "Total Unit Limit Reached"
msgstr ""
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr ""
@ -217,7 +217,7 @@ msgid "Do it! Do it now!"
msgstr "Tee se! Tee se nyt!"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Kiitos, että pelasit Stratagusta.\n"
@ -234,7 +234,7 @@ msgid "Unit training queue is full"
msgstr "Yksiköiden valmistusjono täyttyi"
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "VIESTI:%s~!_"
@ -295,27 +295,27 @@ msgid "Screenshot made."
msgstr "Kuvankaappaus tehty"
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Viimeinen viesti näytetty ~<%d~> kertaa"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<Tapahtuma: %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Sinulla on ~<%d~> %ss"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Sinulla on ~<%d~> %s"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s hyökkäyksen kohteena!"

View file

@ -21,37 +21,37 @@ msgid "You cannot reach building place"
msgstr "Vous ne pouvez pas atteindre l'emplacement de construction"
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Vous ne pouvez pas construire %s ici"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Pas assez de ressources pour construire %s"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Ne peut créer plus d'unités %s"
#: src/action/action_build.cpp:255
#, c-format
#, c-forma
msgid "Unable to create building %s"
msgstr "Impossible de construire le batiment %s"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Construction de %s terminée"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Nous avons besoin de plus de %s pour réparer"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: completé"
@ -60,42 +60,42 @@ msgid "No Resources to Return."
msgstr "Pas de ressouces à ramener."
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: Pas assez de mana pour ce sort : %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: Ne peut invoquer le sort : %s"
#: src/action/action_train.cpp:170
#, c-format
#, c-forma
msgid "New %s ready"
msgstr "Entraînement de %s terminé"
#: src/action/action_train.cpp:217
#, c-format
#, c-forma
msgid "Unable to train %s"
msgstr "Impossible d'entrainer %s"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Optimisation de %s annulé"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Optimisation de %s completé"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Joueur \"%s\" a quitté le jeu"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Joueur \"%s\" a été tué"
@ -156,7 +156,7 @@ msgid "No sync info for this replay !"
msgstr "Pas d'info de synchronisation pour ce replay !"
#: src/network/commands.cpp:826
#, c-format
#, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Replay hors de synchronisation (%lu) !"
@ -169,7 +169,7 @@ msgid "End of replay"
msgstr "Fin du Replay"
#: src/network/network.cpp:928
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "%s sent bad command"
msgstr "%s envoie une mauvaise commande"
@ -178,7 +178,7 @@ msgid "Network out of sync"
msgstr "Désynchronisation réseau"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "En attente du joueur \"%s\": %d:%02d"
@ -203,7 +203,7 @@ msgid "Total Unit Limit Reached"
msgstr "Nombre total d'unités atteint"
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr "Limite de %d atteinte pour ce type d'unité"
@ -217,7 +217,7 @@ msgid "Do it! Do it now!"
msgstr "Faites-le ! Faites-le maintenant !"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Merci d'avoir joué à Stratagus.\n"
@ -234,7 +234,7 @@ msgid "Unit training queue is full"
msgstr "La file d'attente est pleine."
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "MESSAGE:%s~!_"
@ -295,26 +295,26 @@ msgid "Screenshot made."
msgstr "Capture d'écran sauvegardé."
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Dernier message répété ~<%d~> fois"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<Événement : %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Vous avez ~<%d~> %ss"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Vous avez ~<%d~> %s(s)"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s attaqué"

View file

@ -21,37 +21,37 @@ msgid "You cannot reach building place"
msgstr "Nie możesz dotrzeć do miejsca budowy"
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Nie można tu wybudować: %s"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Za mało złóż by wybudować: %s"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Nie można zbudować więcej jednostek: %s"
#: src/action/action_build.cpp:255
#, c-format
#, c-forma
msgid "Unable to create building %s"
msgstr "Nie można utworzyć budynku: %s"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Gotowa jednostka: %s"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Potrzebujemy więcej %s do naprawy!"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: gotowe"
@ -60,42 +60,42 @@ msgid "No Resources to Return."
msgstr "Brak złóż do zwrócenia."
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: za mało many dla czaru: %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: nie można rzucić czaru: %s"
#: src/action/action_train.cpp:170
#, c-format
#, c-forma
msgid "New %s ready"
msgstr "Wytrenowano: %s"
#: src/action/action_train.cpp:217
#, c-format
#, c-forma
msgid "Unable to train %s"
msgstr "Nie można wytrenować jednostki: %s"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Ulepszenie do %s anulowane"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Ulepszenie do %s ukończone"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Gracz \"%s\" opuścił grę"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Gracz \"%s\" został zabity"
@ -156,7 +156,7 @@ msgid "No sync info for this replay !"
msgstr "Brak informacji o synchronizacji dla tej powtórki!"
#: src/network/commands.cpp:826
#, c-format
#, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Powtórka niezschynronizowana (%lu) !"
@ -169,7 +169,7 @@ msgid "End of replay"
msgstr "Koniec powtórki"
#: src/network/network.cpp:928
#, fuzzy, c-format
#, fuzzy, c-forma
msgid "%s sent bad command"
msgstr "%s wysłał złą komendę"
@ -178,7 +178,7 @@ msgid "Network out of sync"
msgstr "Sieć niezschynronizowana"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "Oczekiwanie na gracza \"%s\": %d:%02d"
@ -203,7 +203,7 @@ msgid "Total Unit Limit Reached"
msgstr ""
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr ""
@ -217,7 +217,7 @@ msgid "Do it! Do it now!"
msgstr "Zrób to! Zrób to teraz!"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Dziękujemy za grę w Stratagus.\n"
@ -234,7 +234,7 @@ msgid "Unit training queue is full"
msgstr "Kolejka trenowania jednostek jest pełna"
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "WIADOMOŚĆ:%s~!_"
@ -295,27 +295,27 @@ msgid "Screenshot made."
msgstr "Zrzut ekranu wykonany."
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Ostatnia wiadomość powtórzona ~<%d~> razy"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<Zdarzenie: %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Masz ~<%d~> %sów"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Masz ~<%d~> %s(ów)"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s zaatakowany"

View file

@ -20,37 +20,37 @@ msgid "You cannot reach building place"
msgstr "Du kan inte nå byggplatsen"
#: src/action/action_build.cpp:177
#, c-format
#, c-forma
msgid "You cannot build %s here"
msgstr "Du kan inte bygga en %s här"
#: src/action/action_build.cpp:197
#, c-format
#, c-forma
msgid "Not enough resources to build %s"
msgstr "Inte tillräckliga resurser för att bygga en %s"
#: src/action/action_build.cpp:215
#, c-format
#, c-forma
msgid "Can't build more units %s"
msgstr "Kan inte bygga fler enheter av %s"
#: src/action/action_build.cpp:255
#, c-format
#, c-forma
msgid "Unable to create building %s"
msgstr "Kunde inte bygga byggnaden %s"
#: src/action/action_build.cpp:515
#, c-format
#, c-forma
msgid "New %s done"
msgstr "Ny %s klar"
#: src/action/action_repair.cpp:84
#, c-format
#, c-forma
msgid "We need more %s for repair!"
msgstr "Vi behöver mer %s för reparationer!"
#: src/action/action_research.cpp:103
#, c-format
#, c-forma
msgid "%s: complete"
msgstr "%s: färdig"
@ -59,42 +59,42 @@ msgid "No Resources to Return."
msgstr "Inga resurser att lämna tillbaka."
#: src/action/action_spellcast.cpp:181
#, c-format
#, c-forma
msgid "%s: not enough mana for spell: %s"
msgstr "%s: inte tillräckligt med magikraft för besvärjelse: %s"
#: src/action/action_spellcast.cpp:185
#, c-format
#, c-forma
msgid "%s: can't cast spell: %s"
msgstr "%s: kan inte kasta besvärjelse: %s"
#: src/action/action_train.cpp:170
#, c-format
#, c-forma
msgid "New %s ready"
msgstr "Ny %s är redo"
#: src/action/action_train.cpp:217
#, c-format
#, c-forma
msgid "Unable to train %s"
msgstr "Kunde inte träna %s"
#: src/action/action_upgradeto.cpp:199
#, c-format
#, c-forma
msgid "Upgrade to %s canceled"
msgstr "Uppgradering till %s avbröts"
#: src/action/action_upgradeto.cpp:207
#, c-format
#, c-forma
msgid "Upgrade to %s complete"
msgstr "Uppgradering till %s färdig"
#: src/action/command.cpp:1319
#, c-format
#, c-forma
msgid "Player \"%s\" has left the game"
msgstr "Spelaren \"%s\" har lämnat spelet"
#: src/action/command.cpp:1321
#, c-format
#, c-forma
msgid "Player \"%s\" has been killed"
msgstr "Spelaren \"%s\" har dödats"
@ -158,7 +158,7 @@ msgid "No sync info for this replay !"
msgstr "Ingen synkinfo för denna omspelning!"
#: src/network/commands.cpp:826
#, c-format
#, c-forma
msgid "Replay got out of sync (%lu) !"
msgstr "Omspelning blev osynkroniserad (%lu) !"
@ -172,7 +172,7 @@ msgid "End of replay"
msgstr "Slut på omspelning"
#: src/network/network.cpp:928
#, c-format
#, c-forma
msgid "%s sent bad command"
msgstr "%s skickade felaktig kommando"
@ -181,7 +181,7 @@ msgid "Network out of sync"
msgstr "Osynkroniserat nätverk"
#: src/network/network.cpp:1256
#, c-format
#, c-forma
msgid "Waiting for player \"%s\": %d:%02d"
msgstr "Väntar på spelaren \"%s\": %d:%02d"
@ -206,7 +206,7 @@ msgid "Total Unit Limit Reached"
msgstr "Gräns för totalt antal enheter nåddes"
#: src/stratagus/player.cpp:569
#, c-format
#, c-forma
msgid "Limit of %d reached for this unit type"
msgstr "Gränsen för %d nåddes för den här enhetstypen"
@ -220,7 +220,7 @@ msgid "Do it! Do it now!"
msgstr "Gör det! Gör det nu!"
#: src/stratagus/stratagus.cpp:812
#, c-format
#, c-forma
msgid "Thanks for playing Stratagus.\n"
msgstr "Tack för att du spelar Stratagus.\n"
@ -238,7 +238,7 @@ msgid "Unit training queue is full"
msgstr "Träningskön för enheter är full"
#: src/ui/interface.cpp:95
#, c-format
#, c-forma
msgid "MESSAGE:%s~!_"
msgstr "MEDDELANDE:%s~!_"
@ -300,29 +300,29 @@ msgid "Screenshot made."
msgstr "Skärmbild tagen."
#: src/ui/mainscr.cpp:971
#, c-format
#, c-forma
msgid "Last message repeated ~<%d~> times"
msgstr "Senaste meddelandet upprepades ~<%d~> gånger"
#: src/ui/mainscr.cpp:1047
#, c-format
#, c-forma
msgid "~<Event: %s~>"
msgstr "~<Händelse: %s~>"
#: src/ui/mouse.cpp:1904
#, c-format
#, c-forma
msgid "You have ~<%d~> %ss"
msgstr "Du har ~<%d~> %ss"
#: src/ui/mouse.cpp:1908
#, c-format
#, c-forma
msgid "You have ~<%d~> %s(s)"
msgstr "Du har ~<%d~> %s(s)"
#: src/unit/unit.cpp:2990
#, c-format
#, c-forma
msgid "%s attacked"
msgstr "%s attackeras"

View file

@ -1,10 +1,10 @@
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / /
* /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ /
* \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/
/* _______ __ __ __ ______ __ __ _______ __ __
* / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\
* / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / /
* / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / /
* / /_// /\ / /_// / // / // /_/_ / / // / // /\_/ / // / | / /
* /______/ //______/ //_/ //_____/\ /_/ //_/ //_/ //_/ //_/ /|_/ /
* \______\/ \______\/ \_\/ \_____\/ \_\/ \_\/ \_\/ \_\/ \_\/ \_\/
*
* Copyright (c) 2004, 2005 darkbits Js_./
* Per Larsson a.k.a finalman _RqZ{a<^_aa
@ -44,7 +44,7 @@
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES _Pa,)!f/<[]/ ?"
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT _2-..:. .r+_,.. .
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ?a.<%"' " -'.a_ _,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ^
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN

View file

@ -371,7 +371,7 @@ static void AppendLog(LogEntry *log, CFile *dest)
{
LogEntry **last;
// Append to linked list
// Append to linked lis
last = &CurrentReplay->Commands;
while (*last) {
last = &(*last)->Next;
@ -401,7 +401,7 @@ static void AppendLog(LogEntry *log, CFile *dest)
** @param y optional y map position.
** @param dest optional destination unit.
** @param value optional command argument (unit-type,...).
** @param num optional number argument
** @param num optional number argumen
*/
void CommandLog(const char *action, const CUnit *unit, int flush,
int x, int y, const CUnit *dest, const char *value, int num)
@ -496,7 +496,7 @@ void CommandLog(const char *action, const CUnit *unit, int flush,
log->SyncRandSeed = SyncRandSeed;
// Append it to ReplayLog list
// Append it to ReplayLog lis
AppendLog(log, LogFile);
}
@ -554,7 +554,7 @@ static int CclLog(lua_State *l)
lua_pop(l, 1);
}
// Append to linked list
// Append to linked lis
last = &CurrentReplay->Commands;
while (*last) {
last = &(*last)->Next;

View file

@ -1,9 +1,9 @@
// ____ _ __
// ____ _ __
// / __ )____ _____ | | / /___ ___________
// / __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
// / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
// /_____/\____/____/ |__/|__/\__,_/_/ /____/
//
// / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
// /_____/\____/____/ |__/|__/\__,_/_/ /____/
//
// A futuristic real-time strategy game.
// This file is part of Bos Wars.
//

View file

@ -51,7 +51,7 @@
**
** Tile is number defining the graphic image display for the
** map-field. 65535 different tiles are supported. A tile is
** currently 32x32 pixels. In the future is planned to support
** currently 32x32 pixels. In the future is planned to suppor
** animated tiles.
**
** CMapField::SeenTile
@ -71,7 +71,7 @@
** ::MapFieldHuman human player is the owner of the field used for
** walls.
** ::MapFieldLandAllowed land units are allowed.
** ::MapFieldCoastAllowed coast units (transporter) and coast
** ::MapFieldCoastAllowed coast units (transporter) and coas
** buildings (shipyard) are allowed.
** ::MapFieldWaterAllowed water units allowed.
** ::MapFieldNoBuilding no buildings allowed.
@ -87,7 +87,7 @@
** Note: We want to add support for more unit-types like under
** ground units.
**
** CMapField::Cost
** CMapField::Cos
**
** Unit cost to move in this tile.
**
@ -175,8 +175,8 @@ public:
#endif
/// Check if a field for the user is explored.
bool IsExplored(const unsigned int player_index) const
//bool IsExplored(const CPlayer *const player, bool NoFogOfWar = false) const
bool IsExplored(const unsigned int player_index) cons
//bool IsExplored(const CPlayer *const player, bool NoFogOfWar = false) cons
{
//return IsTileVisible(player, index) > 0;
#if 1

View file

@ -37,7 +37,7 @@
class CFont;
enum {
TitleFlagCenter = 1 << 0, /// Center Text
TitleFlagCenter = 1 << 0, /// Center Tex
};
class TitleScreenLabel {

View file

@ -52,7 +52,7 @@ struct CUnitCache {
CUnitCache() : Units() { Units.clear();}
inline size_t size() const
inline size_t size() cons
{
return Units.size();
}
@ -60,7 +60,7 @@ struct CUnitCache {
{
Units.clear();
}
inline CUnit * operator[] (const unsigned int index) const
inline CUnit * operator[] (const unsigned int index) cons
{
//Assert(index < Units.size());
return Units[index];
@ -77,7 +77,7 @@ struct CUnitCache {
* such that @p pred(*i) is true, or NULL if no such iterator exists.
*/
template<typename _T>
inline CUnit *find(const _T &pred) const
inline CUnit *find(const _T &pred) cons
{
#if __GNUC__ < 4
if(Units.size()) {
@ -94,7 +94,7 @@ struct CUnitCache {
int n = (size+3)/4;
const CUnit **cache = (const CUnit **)Units.data();
switch (size & 3) {
case 0:
case 0:
do {
unit = *cache;
if(pred(unit))
@ -143,7 +143,7 @@ struct CUnitCache {
int n = (size+3)/4;
CUnit **cache = (CUnit **)Units.data();
switch (size & 3) {
case 0: do {
case 0: do {
functor(*cache++);
case 3: functor(*cache++);
case 2: functor(*cache++);
@ -174,7 +174,7 @@ struct CUnitCache {
if(size) {
int n = (size+3)/4;
switch (size & 3) {
case 0:
case 0:
do {
if(!functor(Units[count]))
return count;
@ -266,7 +266,7 @@ struct CUnitCache {
}
}
}
/**
** Insert new unit into tile cache.
** Sorted version for binary searching.

View file

@ -64,7 +64,7 @@ private:
----------------------------------------------------------------------------*/
extern CUnit *UnitSlots[]; /// All possible units
extern unsigned int UnitSlotFree; /// First free unit slot
extern unsigned int UnitSlotFree; /// First free unit slo
extern CUnitManager UnitManager; /// Unit manager

View file

@ -44,7 +44,7 @@ static inline float deg2rad(int degrees) {
CChunkParticle::CChunkParticle(CPosition position, Animation *smokeAnimation) :
CParticle(position), initialPos(position), nextSmokeTicks(0), age(0),
CParticle(position), initialPos(position), nextSmokeTicks(0), age(0),
height(0.f)
{
float radians = deg2rad(MyRand() % 360);
@ -76,20 +76,20 @@ void CChunkParticle::draw()
CPosition screenPos = ParticleManager.getScreenPos(pos);
Uint32 color = ColorBlack;
Video.DrawRectangleClip(color, (int)screenPos.x - 1,
Video.DrawRectangleClip(color, (int)screenPos.x - 1,
(int)calculateScreenPos(screenPos.y, height) - 1, 2, 2);
}
static float getHorizontalPosition(int initialVelocity,
static float getHorizontalPosition(int initialVelocity,
float trajectoryAngle, float time)
{
return (initialVelocity * cos(trajectoryAngle)) * time;
}
static float getVerticalPosition(int initialVelocity,
static float getVerticalPosition(int initialVelocity,
float trajectoryAngle, float time)
{
return (initialVelocity * sin(trajectoryAngle)) * time -
return (initialVelocity * sin(trajectoryAngle)) * time -
(gravity / 2.0f) * (time * time);
}
@ -115,7 +115,7 @@ void CChunkParticle::update(int ticks)
float time = age / 1000.f;
float distance =
float distance =
getHorizontalPosition(initialVelocity, trajectoryAngle, time);
pos.x = initialPos.x + distance * direction.x;
pos.y = initialPos.y + distance * direction.y;

View file

@ -1,9 +1,9 @@
// ____ _ __
// ____ _ __
// / __ )____ _____ | | / /___ ___________
// / __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
// / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
// /_____/\____/____/ |__/|__/\__,_/_/ /____/
//
// / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
// /_____/\____/____/ |__/|__/\__,_/_/ /____/
//
// A futuristic real-time strategy game.
// This file is part of Bos Wars.
//
@ -37,7 +37,7 @@
TitleScreen **TitleScreens; /// Title screens to show at startup
static bool WaitNoEvent; /// Flag got an event
static bool WaitNoEvent; /// Flag got an even
/**

View file

@ -61,7 +61,7 @@ CBuildRestrictionOnTop *OnTopDetails(const CUnit *unit, const CUnitType *parent)
i != unit->Type->BuildingRules.end(); ++i) {
if ((ontopb = dynamic_cast<CBuildRestrictionOnTop *>(*i))) {
if (!parent) {
// Guess this is right
// Guess this is righ
return ontopb;
}
if (parent == ontopb->Parent) {
@ -72,7 +72,7 @@ CBuildRestrictionOnTop *OnTopDetails(const CUnit *unit, const CUnitType *parent)
i != andb->_or_list.end(); ++i) {
if ((ontopb = dynamic_cast<CBuildRestrictionOnTop *>(*i))) {
if (!parent) {
// Guess this is right
// Guess this is righ
return ontopb;
}
if (parent == ontopb->Parent) {
@ -88,7 +88,7 @@ CBuildRestrictionOnTop *OnTopDetails(const CUnit *unit, const CUnitType *parent)
/**
** Check And Restriction
*/
bool CBuildRestrictionAnd::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) const
bool CBuildRestrictionAnd::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) cons
{
for (std::vector<CBuildRestriction*>::const_iterator i = _or_list.begin();
i != _or_list.end(); ++i) {
@ -102,7 +102,7 @@ bool CBuildRestrictionAnd::Check(const CUnitType *type, int x, int y, CUnit *&on
/**
** Check Distance Restriction
*/
bool CBuildRestrictionDistance::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) const
bool CBuildRestrictionDistance::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) cons
{
CUnit *table[UnitMax];
int n;
@ -171,7 +171,7 @@ bool CBuildRestrictionDistance::Check(const CUnitType *type, int x, int y, CUnit
return false;
}
inline bool CBuildRestrictionAddOn::functor::operator() (const CUnit *const unit) const
inline bool CBuildRestrictionAddOn::functor::operator() (const CUnit *const unit) cons
{
return (unit->Type == Parent &&
unit->X == x && unit->Y == y);
@ -180,7 +180,7 @@ inline bool CBuildRestrictionAddOn::functor::operator() (const CUnit *const unit
/**
** Check AddOn Restriction
*/
bool CBuildRestrictionAddOn::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) const
bool CBuildRestrictionAddOn::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) cons
{
int x1;
int y1;
@ -216,7 +216,7 @@ inline bool CBuildRestrictionOnTop::functor::operator() (CUnit *const unit)
return true;
}
bool CBuildRestrictionOnTop::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) const
bool CBuildRestrictionOnTop::Check(const CUnitType *type, int x, int y, CUnit *&ontoptarget) cons
{
#if 0
CUnit *table[UnitMax];
@ -280,7 +280,7 @@ CUnit *CanBuildHere(const CUnit *unit, const CUnitType *type, int x, int y)
const int width = type->TileWidth;
int w, h = type->TileHeight;
bool success = false;
CMapField *mf;
CMapField *mf;
// Need at least one coast tile
unsigned int index = Map.getIndex(x, y);
@ -294,7 +294,7 @@ CUnit *CanBuildHere(const CUnit *unit, const CUnitType *type, int x, int y)
}
++mf;
} while(!success && --w);
index += Map.Info.MapWidth;
index += Map.Info.MapWidth;
} while(!success && --h);
if (!success) {
return NULL;
@ -335,7 +335,7 @@ bool CanBuildOn(int x, int y, int mask)
return (Map.Info.IsPointOnMap(x,y) && !Map.CheckMask(x, y,mask));
}
extern int
extern in
MapFogFilterFlags(CPlayer *player, const unsigned int index, int mask);
/**
@ -345,7 +345,7 @@ MapFogFilterFlags(CPlayer *player, const unsigned int index, int mask);
** @param type Building unit-type.
** @param x X tile map position.
** @param y Y tile map position.
** @param real Really build, or just placement
** @param real Really build, or just placemen
**
** @return OnTop, parent unit, builder on true, NULL false.
**
@ -394,7 +394,7 @@ CUnit *CanBuildUnitType(const CUnit *unit,
}
if (player && !real) {
//testmask = MapFogFilterFlags(player, x + w, y + h, type->MovementMask);
testmask = MapFogFilterFlags(player,
testmask = MapFogFilterFlags(player,
index + x + w, type->MovementMask);
} else {
testmask = type->MovementMask;

View file

@ -45,7 +45,7 @@
----------------------------------------------------------------------------*/
CUnit *UnitSlots[MAX_UNIT_SLOTS]; /// All possible units
unsigned int UnitSlotFree; /// First free unit slot
unsigned int UnitSlotFree; /// First free unit slo
CUnitManager UnitManager; /// Unit manager
@ -72,9 +72,9 @@ void CUnitManager::Init()
}
/**
** Allocate a new unit
** Allocate a new uni
**
** @return New unit
** @return New uni
*/
CUnit *CUnitManager::AllocUnit()
{
@ -104,7 +104,7 @@ CUnit *CUnitManager::AllocUnit()
}
/**
** Release a unit
** Release a uni
**
** @param unit Unit to release
*/

View file

@ -150,7 +150,7 @@ void SaveOrder(const COrderPtr order, CFile *file)
if (order->HasGoal()) {
CUnit *goal = order->GetGoal();
if (goal->Destroyed) {
/* this unit is destroyed so it's not in the global unit
/* this unit is destroyed so it's not in the global uni
* array - this means it won't be saved!!! */
printf ("FIXME: storing destroyed Goal - loading will fail.\n");
}
@ -183,18 +183,18 @@ void SaveOrder(const COrderPtr order, CFile *file)
case UnitActionResource :
case UnitActionReturnGoods :
if (order->CurrentResource) {
file->printf(", \"current-resource\", \"%s\",",
file->printf(", \"current-resource\", \"%s\",",
DefaultResourceNames[order->CurrentResource].c_str());
if(order->CurrentResource == WoodCost) {
file->printf(" \"resource-pos\", {%d, %d}",
order->Arg1.Resource.Pos.X, order->Arg1.Resource.Pos.Y);
} else {
if (order->Arg1.Resource.Mine->Destroyed) {
/* this unit is destroyed so it's not in the global unit
/* this unit is destroyed so it's not in the global uni
* array - this means it won't be saved!!! */
printf ("FIXME: storing destroyed Mine - loading will fail.\n");
}
file->printf(" \"resource-mine\", \"%s\"",
file->printf(" \"resource-mine\", \"%s\"",
UnitReference(order->Arg1.Resource.Mine).c_str());
}
}
@ -219,7 +219,7 @@ void SaveUnit(const CUnit *unit, CFile *file)
file->printf("\nUnit(%d, ", UnitNumber(unit));
// 'type and 'player must be first, needed to create the unit slot
// 'type and 'player must be first, needed to create the unit slo
file->printf("\"type\", \"%s\", ", unit->Type->Ident.c_str());
if (unit->Seen.Type) {
file->printf("\"seen-type\", \"%s\", ", unit->Seen.Type->Ident.c_str());
@ -361,11 +361,11 @@ void SaveUnit(const CUnit *unit, CFile *file)
if (unit->NextWorker) {
if (unit->NextWorker->Destroyed) {
/* this unit is destroyed so it's not in the global unit
/* this unit is destroyed so it's not in the global uni
* array - this means it won't be saved!!! */
printf ("FIXME: storing destroyed Worker - loading will fail.\n");
}
file->printf(" \"next-worker\", \"%s\",",
file->printf(" \"next-worker\", \"%s\",",
UnitReference(unit->NextWorker).c_str());
}
@ -401,7 +401,7 @@ void SaveUnit(const CUnit *unit, CFile *file)
SaveOrder((COrderPtr)(&unit->NewOrder), file);
//
// Order data part
// Order data par
//
switch (unit->CurrentAction()) {
case UnitActionStill:
@ -412,11 +412,11 @@ void SaveUnit(const CUnit *unit, CFile *file)
file->printf(", \"data-resource\", {\"assigned\", %d", unit->Data.Resource.Assigned);
if (unit->Data.Resource.Workers) {
if (unit->Data.Resource.Workers->Destroyed) {
/* this unit is destroyed so it's not in the global unit
/* this unit is destroyed so it's not in the global uni
* array - this means it won't be saved!!! */
printf ("FIXME: storing destroyed Worker - loading will fail.\n");
}
file->printf(", \"first-worker\", \"%s\"",
file->printf(", \"first-worker\", \"%s\"",
UnitReference(unit->Data.Resource.Workers).c_str());
}
file->printf("}");

View file

@ -60,7 +60,7 @@ static inline void PutPixel(void *const pixels,
};// __attribute__ ((nothrow,nonnull (1)));
template <const int BPP>
static inline void
static inline void
PutPixelDouble(void *pixels, const unsigned int index, Uint32 color)
{
if(BPP == 1) {
@ -88,7 +88,7 @@ PutPixelDouble(void *pixels, const unsigned int index, Uint32 color)
};// __attribute__ ((nothrow,nonnull (1)));
template <const int BPP>
static inline void
static inline void
PutPixelQuatro(void *pixels, unsigned int index, Uint32 color)
{
if(BPP == 1) {
@ -169,7 +169,7 @@ static inline void DrawHLine(void *pixels, unsigned int index,
#endif
}
#ifdef __x86_64__
else if(BPP == 4 && ((uintptr_t)pixels) & BPP) {
else if(BPP == 4 && ((uintptr_t)pixels) & BPP) {
PutPixel<BPP>(pixels, index, color);
index++;
--width;
@ -302,15 +302,15 @@ class CRenderer : public CPrimitives {
#else
Uint32 *p = (((Uint32 *)pixels) + index);
/*
* FIXME:
* Two Pixels Blend for litle endian and
* FIXME:
* Two Pixels Blend for litle endian and
* big endian may be broken.
*/
unsigned int d1, s1 = color & 0xff00ff;
unsigned int dp = *p;
d1 = dp & 0xff00ff;
color &= 0xff00;
color &= 0xff00;
color = (color >> 8) | (color << 8);
d1 += (s1 - d1) * alpha >> 8;