2582 Commits

Author SHA1 Message Date
meep-eep b6e74c20c4 Fixed comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1574 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-08 19:23:26 +00:00
meep-eep cfd005f8a9 Added '--version'
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1573 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-06 04:03:52 +00:00
meep-eep 4598d67e05 Correcting the last commit entry:
The bug was not limited to 1-character strings.
And this patch fixed bug #701.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1571 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-05 19:46:11 +00:00
meep-eep 9e580177b8 Fixed bug where a bad access would occur when a string was exactly 1
character long and the code relies on CharCount for determining the
string length.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1570 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-03-05 19:40:06 +00:00
meep-eep 3da6407d41 Compilation fixes for platforms without wint_t or wchar_t.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1569 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-27 13:41:48 +00:00
meep-eep 3d542c1311 DrawBattleCrewAmount also works for the top player.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1568 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-26 23:13:09 +00:00
meep-eep 478f567c27 #include "port.h"
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1567 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-26 22:35:14 +00:00
meep-eep 1fc8050ce0 Some detection improvements to the build system.
Also checks added form iswgraph(), wchar_t, and int_t.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1566 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-26 21:22:29 +00:00
avolkov df02337ba7 fixes zoomed-in SIS jitter introduced by previous attempt to fix rounding errors
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1556 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-22 04:17:11 +00:00
meep-eep 657f705c13 Corrected bug in energy calculation.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1553 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-21 17:00:53 +00:00
meep-eep 820ac4f8f3 Unicode support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1551 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-20 00:44:35 +00:00
meep-eep 7383a5f1d8 New resource files for Darwin, from Nic.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1549 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-19 18:47:18 +00:00
meep-eep 5ba7dd299d Some cleanups from Nic.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1548 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-19 18:40:24 +00:00
meep-eep 285208a1c4 Unicode support for fonts.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1546 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-19 01:11:37 +00:00
meep-eep 440fec6289 abort() on memory error
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1544 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-18 22:56:01 +00:00
avolkov 866b2159f4 type-size fix for better portability (in mostly dead code)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1541 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-16 21:43:12 +00:00
avolkov 2142dda48b Rounding error corrections in display lists; Also minor #ifdef OLD_ZOOM fixes to make it actually work
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1539 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-15 10:21:56 +00:00
avolkov 78e86e3bbd Rounding error corrections in offseting hotspots math
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1538 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-15 10:18:20 +00:00
avolkov e9403fa111 Rounding error correction in scaled size calc
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1537 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-15 00:19:01 +00:00
avolkov 49f8e058bd Misc gfx fixes: Better .ani transparency spec (bug #128); Reliable surface transparency in OpenGL mode; Colorkey transparency handling in 32bpp trilinear; --meleescale=nearest fixed (bug #126)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1536 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-14 10:27:12 +00:00
meep-eep 2d10c1c0e6 #include strlib.h for getCharFromString()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1535 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-12 14:54:37 +00:00
mcmartin 1bc33d31af Setup menu uses a background graphic now
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1532 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-11 08:52:52 +00:00
meep-eep 09e5811bf2 Removed nonsensical comment.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1531 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-10 21:06:43 +00:00
mcmartin d3756e7489 Nonexistent joysticks will not crash the game anymore (Bug #660)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1529 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-10 06:15:05 +00:00
avolkov ea6851e4d0 Fixed MAX_CHARS define to prevent overflows during casts
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1527 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-09 22:56:37 +00:00
meep-eep 36c117dcea bug fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1525 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-09 00:59:38 +00:00
mcmartin e470ed9ccd Modified controls so that category and option selection is consistent
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1523 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-08 08:07:26 +00:00
meep-eep 8446c194d1 Reorder fields for better alignment.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1520 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-07 19:17:41 +00:00
meep-eep 1f772f30a7 #include <stddef.h>
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1519 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-07 17:42:42 +00:00
meep-eep f54c233bf7 .
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1516 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-06 19:32:53 +00:00
meep-eep 92e49a1fd2 More unicode preparations.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1515 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-05 01:24:12 +00:00
meep-eep d04b023de3 Some preparations for unicode support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1513 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-04 21:04:24 +00:00
avolkov 17955f993f Changed colormap format to 256 x 24bit RGB to allow for richer gfx; first step towards fulfilling bug #314
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1509 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-03 07:20:45 +00:00
mcmartin 58cba1e5b4 Left-justified categories in the Options Menu, and fixed DCQ overload
problems therein.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1503 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-02-01 06:56:01 +00:00
mcmartin 51526dc79e Full support for dynamic reinitialization of video, with menu support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1502 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-31 06:57:20 +00:00
mcmartin d48346ebfa Setup menu now calls TFB_ReinitVideo as needed, and has more options.
TFB_ReinitVideo command does not currently do anything; this breaks
scanline selection temporarily.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1501 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-30 11:14:10 +00:00
avolkov b4de92b8a6 Added SIS w/ modules geberation, image rotation and scaling to presentation player; new commands
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1494 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-28 04:57:26 +00:00
avolkov c74a20eed4 Rotated image transparency fix; re-scale max size fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1493 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-28 04:52:57 +00:00
avolkov d547e5ec1a Precision-error correction in degrees to angle macros
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1492 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-28 04:23:33 +00:00
meep-eep ed954aed49 Use FULL_CIRCLE define.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1491 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-27 10:19:28 +00:00
avolkov 39d33361bb Re-added rotozoom files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1490 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-27 04:59:52 +00:00
avolkov 0939ed07ac re-added rotozoom.c file
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1489 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-27 00:42:08 +00:00
avolkov 5331f3cd3d New image rotation code
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1488 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-26 23:55:49 +00:00
avolkov d2ab767130 Degrees to game angle macros
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1487 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-26 23:55:11 +00:00
meep-eep ef3f8e8ebc Fixed bug introduced by the fix for #413.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1486 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-23 12:24:15 +00:00
meep-eep 38f02deb92 More cleanups, some warnings removed.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1485 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-23 12:16:21 +00:00
gewlitys 037b9433d4 Fix missing directive so comm.c isn't skipped
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1484 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 23:34:33 +00:00
gewlitys 728e8a5a22 Removed unused declaration so compiling with VC7 works
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1483 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 23:18:32 +00:00
meep-eep 51eda921a1 Version number on the main menu doesn't blink anymore when the
selection changes.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1482 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 22:28:18 +00:00
meep-eep 80d8ec30ec Last commit also corrected the default 3do/pc settings as seen with'--help'.
It's now generated.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1481 8092fc87-c524-0410-9efc-e669fe64eaf9
2005-01-22 21:55:02 +00:00