karajorma
2356f04f04
Yarn's fix for Mantis 3017 (Certain HUD elements don't work after the changes to strings.tbl). Not very happy with the way it fixes thing (it only solves problems for French, German and Polish, which kinda makes the changes to strings.tbl in r9761 somewhat pointless) but it makes sense to wait for SDL and truetype support and then fix everything properly then.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10496 387891d4-d844-0410-90c0-e4c51a9137d3
2014-03-30 12:39:54 +10:00
karajorma
bad6af8a3a
Yarn's fix for Mantis 2941 (Strings.tbms without the current language crash the game).
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10130 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-25 19:29:36 +10:00
niffiwan
797ffdf0f4
Fix mantis 2883
...
update hud_num_make_mono (& callers) to handle the font number
add partial support for specifying special char indexes for individual fonts
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9985 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-31 19:25:03 +10:00
niffiwan
7f7f857559
Add the Polish font01.vf checksum
...
Sourced from https://svn.icculus.org/freespace2/trunk
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9982 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-27 13:51:50 +10:00
niffiwan
019c18fab4
Coverity: fix some out-of-bounds access/read/write issues
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9876 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:30 +10:00
Goober5000
55c2f4b156
well crap, looks like I broke XSTR in r9809
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9859 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:28 +10:00
Goober5000
4bd10888ff
make localization more robust with additional checks on string length, more consting, and stronger typing and make XSTR const, since we don't want to modify the strings it translates and then CONST ALL THE THINGS
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9809 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-26 18:51:34 +10:00
Goober5000
6d6c82c652
make localization names consistent, and move medal localization into localize.cpp
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9787 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:33 +10:00
Goober5000
138e6b853f
yeesh... a veritable cascade of const-correctness
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9783 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:32 +10:00
karajorma
602e608065
Fix Mantis 2883 (All the 1's have vanished since r9761)
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9767 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-13 20:18:30 +10:00
karajorma
2691085f9f
Add support for other languages beyond French, German and Polish. Any non-unicode language should work now.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9761 387891d4-d844-0410-90c0-e4c51a9137d3
2013-09-03 21:01:26 +10:00
niffiwan
793cd89ad3
Fix for mantis 2801 from Mr_Maniac: increase buffer size to correctly handle localisation strings > 1024 chars
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9678 387891d4-d844-0410-90c0-e4c51a9137d3
2013-06-11 19:22:16 +10:00
karajorma
ac6796f5af
Add all the strings that had no translation.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk@9600 387891d4-d844-0410-90c0-e4c51a9137d3
2013-03-30 15:36:18 +10:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
Echelon9
dcbe91136b
GCC warning: variable set but not used (further)
2012-06-13 14:07:05 +00:00
The_E
c075661087
Mea culpa. I made a stupid mistake, goober's version was correct.
2012-03-06 12:35:12 +00:00
The_E
9b43020e26
Reverting 8581. If you are breaking freespace2.fc2, something is wrong with your code.
2012-03-06 12:20:59 +00:00
Goober5000
a01d54e808
another change to parsing of XSTR ids because an id can be one digit long
2012-03-06 04:52:14 +00:00
Goober5000
bc9023f5ad
fix a bug in the way XSTR ids were interpreted
2012-03-05 08:18:11 +00:00
Goober5000
02def13365
add SCP_string variants of parselo functions
2012-03-04 00:20:09 +00:00
Echelon9
4923b671f2
LLVM Warning fix: Value stored to num_offsets_on_this_line is never read. Btw no need to clear this specific variable as it is defined within the while() loop, unlike the others.
2012-01-21 06:36:52 +00:00
karajorma
5dbb9c3295
Make it possible to localise a couple of extra sentences.
2011-11-30 03:12:06 +00:00
The_E
531a7c71bb
Revert 7791. Something went wrong there.
2011-09-24 18:31:20 +00:00
The_E
a982eb153d
Remove more useless encryption stuff. NOTE FOR PROJECT FILE MAINTAINERS: parse/encrypt.(cpp|h) should no longer be part of the project.
2011-09-24 17:37:12 +00:00
Goober5000
750df36303
add slash and backslash
2011-02-19 04:51:02 +00:00
Goober5000
d03d5b95e7
this should fix the weird crashes in localization
2011-01-29 09:41:13 +00:00
The_E
4a414205a3
Fix for Mantis 2372 (+Description field in Ships.tbl is being ignored)
2011-01-23 21:20:04 +00:00
Zacam
09fad95070
Antipodes 7 Merge: HUD Overhaul, by Swifty.
2010-12-12 20:34:15 +00:00
Goober5000
8ba6a7035c
add SCP_string variants of sprintf, sexp_replace_variable_names_with_values, replace_one, replace_all, and lcl_replace_stuff
...
change the death message to use an SCP_string
change the set-death-message sexp to accept actual messages
2010-11-14 02:07:45 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06:24 +00:00
portej05
719825f80d
The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
...
I've tested this through compiling and through hand checking.
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
karajorma
a4e623db23
Portej05's preFAST warning fixes.
2009-05-17 11:50:48 +00:00
karajorma
c35da651ea
Fix Mantis 1753 (Using " or ; in briefings and messages causes them to either vanish or truncate the message)
...
Fix a bug that prevented lcl_replace_stuff() working properly when a message had two or more replacements of the same type.
2009-05-11 08:41:51 +00:00
Goober5000
6e4021888d
add apostrophes to contractions, lol
2009-04-10 07:49:12 +00:00
taylor
0253d298e9
only load tbls from tables/ (Mantis #1725 )
2008-10-13 06:34:48 +00:00
Goober5000
6ab0b17acc
added fixes for #1415 and #1483 , made sure every read_file_text had a corresponding setjmp, and sync'd the parse error messages between HEAD and stable
2007-09-02 02:10:29 +00:00
taylor
8b1ffdb5a0
add modular version of strings.tbl (*-lcl.tbm) (provides for Mantis #924 )
2007-04-11 18:11:21 +00:00
taylor
6ab6cd71ce
fixes for stuff_string() bounds checking
2006-09-11 01:17:07 +00:00
taylor
f09c7e2d03
fix things that strict compiling balked at (from compiling with -ansi and -pedantic)
2006-09-08 06:14:44 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
Goober5000
cf31373781
fix comm message localization
2006-03-01 04:01:37 +00:00
taylor
79e0e6b355
fix up cf_find_file_location() and related elements so that it's safer (based on WMC's work, but actually safe this time ;))
2005-12-28 22:06:48 +00:00
wmcoolmon
b00f5f9a55
Hardened cfile against array overflows
2005-10-16 23:15:47 +00:00
taylor
e1c087c41a
some basic Polish language support from the icculus.org version (Janusz Dziemidowicz)
2005-05-18 14:01:31 +00:00
taylor
3f6e13d20b
use vm_malloc(), vm_free(), vm_realloc(), vm_strdup() rather than system named macros
...
fixes various problems and is past time to make the switch
2005-05-12 17:49:18 +00:00
taylor
0bf7ee01dc
merge with Linux/OSX tree - p0131-2
2005-01-31 23:27:55 +00:00
Kazan
864e1b5922
remove MCD complete
2004-07-26 20:47:56 +00:00
Kazan
428b3dcbc9
MCD - define _MCD_CHECK to use memory tracking
2004-07-12 16:33:09 +00:00
Goober5000
f72b734d7a
fixed $quote and $semicolon... it was simply a matter of moving the spot where
...
the replacement occurred
--Goober5000
2004-05-10 06:14:40 +00:00
taylor
780c43a94e
runtime language selection, mantis:0000133
2004-03-28 17:49:55 +00:00