ghaushe
32c0bf4723
Fixed some variable initialization issues (in do not care conditions, but still)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@568 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-19 03:03:53 +00:00
ghaushe
62d84d85db
Fixed a hFree without a corresponding allocate
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@567 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-19 02:14:06 +00:00
ghaushe
2975dd0e52
Implemented voice-over subtitle synchronization
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@565 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 23:08:39 +00:00
mcmartin
f585650073
DCQ optimization - phase 3 of 3
...
Replaced one big struct with tagged-union structure
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@564 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 20:15:12 +00:00
ghaushe
c26c318c7b
Patch to display ship stats (ala PC) in outfit screen, from Nic
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@563 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 04:45:32 +00:00
mcmartin
e5aa5677a4
DCQ optimization (Phase 2 of 3)
...
This has dropped the .bss segment of the final binary by nearly 16MB.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@562 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-18 03:17:06 +00:00
mcmartin
2b2551f161
First phase in a DCQ optimization scheme (will have at least three phases)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@558 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 15:59:46 +00:00
ghaushe
568ce92ec3
Added patch to implement vertical text alignment (for subtitles) - from Nic
...
- adds alignment to Commander, Druuge, illwrath, yehat, and Utwig
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@557 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 04:30:25 +00:00
ghaushe
97f0989378
Added support for infinity symbol/ 'UNLIMITED' when showing RUs (Nic, fOSSiL)
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@556 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-16 04:07:52 +00:00
gewlitys
35cc1d41d4
Fixed a problem in Create_Screen()
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@555 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-15 15:02:04 +00:00
mcmartin
0b6470b809
New header file, explicitly for DrawCommands.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@554 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-14 14:24:42 +00:00
meep-eep
6d2fd94cfd
Fix to command-line parsing.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@552 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 12:49:42 +00:00
ghaushe
982ae7ec88
-Updated menu system to support multiple hierarchies.
...
- fixed the PCmenu hierarchy for The Main Starmap, Manifest, and Scan menus
- most menu functions now reside in menu.c (new file) instead of sis.c
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@551 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 05:13:44 +00:00
ghaushe
654b62a865
Protect checking clock state with a mutex to prevent deadlock condition
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@550 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-13 04:42:25 +00:00
ghaushe
1d133995b5
Renamed DrawText function to prevent name collisions in OSX - from peterb
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@548 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 22:46:38 +00:00
ghaushe
39ddda171e
Added minor PCMenu cleanups (Gradient Colors, Outfit Screen) from Nic
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@547 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 22:22:32 +00:00
meep-eep
993bc36790
Some symbol renames to avoid conflicts with Carbon on OSX.
...
The naming isn't very consistant now, but all this code will be redone
anyway with the new resource system.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@546 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 20:44:56 +00:00
mcmartin
0a6d03fcae
Streamlined and refactored DCQ interface
...
The DrawCommands have changed slightly, and a battery of interface
routines for enqueuing commands has been added to gfx_common.c. This
code is relatively independent of the underlying graphics library, and
has been taken out of the sdl/3do* files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@545 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 18:50:41 +00:00
gewlitys
1b7a8c8827
Fixed OpenGL colors on MacOS X
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@544 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 18:09:52 +00:00
ghaushe
9d829033c8
Changed cmd-line options once again (hopefully for the last time)
...
- new options are of format --opt=pc/3do
- availiable options are --menu, --cscan, --font, --music
- only --music has a 'short' version (-m) -e has been removed
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@543 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 03:44:35 +00:00
ghaushe
0e471c82cd
Added alternating-pixel font effect (used for lander text messages)
...
- currently this is only enabled for PC, since the 3DO needs color changes
- added new obbkgnd.21.png which is the correct background for pc lander txt
Changed "CAPTAIN", "FUEL", and "CREW" fonts (SIS) to be correct for PC
Set black background for flagstat.0.png to be true black
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@542 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-12 00:27:54 +00:00
ghaushe
d3f142632b
Added support for Gradiated fonts (as in 'FUEL', 'CREW')
...
- added option to use Gradiated font for Ship-name (as in PC version)
Changed cmd-line options for PC settings: now '--pcopt=font,menu,scan'
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@541 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-11 19:49:43 +00:00
meep-eep
f9e93e95de
Timing fixes, from fOSSiL.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@540 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-10 22:37:24 +00:00
ghaushe
dc52203d01
minor PCMenu fixes from Nic, fOSSiL, and PhracturedBlue
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@537 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-08 14:26:13 +00:00
ghaushe
b1c28f2a41
Updated mingw directions, and made build process easier
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@536 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-08 05:53:47 +00:00
ghaushe
9dacb5c6ee
added settings menu to PCMenus, use correct font for PCMenus.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@535 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-07 18:55:54 +00:00
ghaushe
611f3286b5
Added 'b' option to use PC Menus (text). See TODO for limitations
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@534 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-06 02:53:43 +00:00
ghaushe
8f91cb52f6
Initialize TimeCounter to 0 on load-game (this ensures the gameclock isn't
...
running in the savegame)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@532 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-05 23:19:52 +00:00
ghaushe
bd8d3053d2
Added '-a' switch to support 'PC-style' course-scan (i.e. use text instead
...
of images)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@531 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-05 05:21:21 +00:00
meep-eep
fa6448e719
Fix for MS Windwos when a path contains a drive letter.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@530 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-04 23:41:34 +00:00
ghaushe
7f0251ba4d
Replaced CondVar with a Semaphore in the new Signalling code.
...
This removes the race between releasing the bank semaphore and starting the
WaitCondVar (which was causing deadlocks in Windows)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@529 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-04 16:55:31 +00:00
mcmartin
578cf23ba3
FlushGraphics now tracks and wakes each thread individually, lessening
...
the stuttering when multiple threads are performing Flush operations.
Also, a number of comments have been reworked for accuracy.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@527 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-03 12:14:19 +00:00
meep-eep
c4ae25cccd
No longer use SHGetFolderPath on MS Windows.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@525 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-03 00:51:10 +00:00
gewlitys
67212a7491
Readded key repeat as the previous problem with it is now fixed
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@524 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 20:39:29 +00:00
gewlitys
00e66a6815
Reverted key repeat because of some problems
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@523 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 19:31:39 +00:00
gewlitys
0427622e3a
Key repeat is now enabled when typing text, some little cleanups, from
...
slayne
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@521 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 16:58:59 +00:00
gewlitys
74bebe800e
Capital letter bug in new input code fixed, from slayne
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@520 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 16:07:32 +00:00
gewlitys
ef48bf8645
small fix to prevent overflows
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@519 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 03:18:43 +00:00
gewlitys
218150a809
Oscilloscope now reacts to music when speech is disabled
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@518 8092fc87-c524-0410-9efc-e669fe64eaf9
2003-01-02 02:02:34 +00:00
gewlitys
8a87a67578
bumped version to 0.13
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@516 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-31 23:53:43 +00:00
gewlitys
f8df19dbcd
Rewritten input code, from slayne
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@515 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-31 21:02:27 +00:00
meep-eep
77ead938c3
Whitespace correction.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@512 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-31 00:21:43 +00:00
meep-eep
72c1e54fe9
Removed some warnings.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@511 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-31 00:18:13 +00:00
gewlitys
ab8d18a5f3
Improved biadapt scaling, from fOSSiL
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@509 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 23:38:46 +00:00
meep-eep
acbfe6b08f
Get rid of some compilation warnings, from steve@blckknght.org.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@508 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 23:17:46 +00:00
gewlitys
2de1fc1023
Biadapt fix for 24bpp, some minor bilinear optimizations
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@506 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 20:08:26 +00:00
gewlitys
8af4655064
Biadapt scaling for pure mode, from fOSSiL
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@505 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 18:13:42 +00:00
meep-eep
30c5af555e
Show the location of the saved games at startup.
...
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@504 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 17:46:09 +00:00
meep-eep
51419e5ee7
Saving user data in "%APPDATA%/Application Data" on windows.
...
Some cleanups.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@503 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-30 01:40:44 +00:00
meep-eep
1769162f34
Delete the temporary files on sudden exit. Can be removed once we have
...
proper exiting.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@494 8092fc87-c524-0410-9efc-e669fe64eaf9
2002-12-28 22:42:47 +00:00