From c109c858fa2abc5141580ddf9a5c62cb943a3c38 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Sat, 23 Nov 2002 01:32:16 +0000 Subject: [PATCH] minor extensions git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@235 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/COPYING | 35 ++++++++++++++++++++++++++++++----- sc2/TODO | 13 ++++++++----- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/sc2/COPYING b/sc2/COPYING index d60c31a97..039d65188 100644 --- a/sc2/COPYING +++ b/sc2/COPYING @@ -1,3 +1,28 @@ + + The Ur-Quan Masters + Copyright (C) 1992, 2002 Toys for Bob, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be entertaining, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. A copy of the + General Public License is included at the end of this document. + + The content -- voiceovers, dialogue, graphics, and music -- are + copyright (C) 1992, 1993, 2002 Toys for Bob, Inc. or their + respective creators. The content may be copied freely as part of + a distribution of The Ur-Quan Masters. All other rights are reserved. + + (Side Note: The content will become more freely redistributable + and reusable in later releases.) + +---------------------------------------------------------------------------- + GNU GENERAL PUBLIC LICENSE Version 2, June 1991 @@ -55,7 +80,7 @@ patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. - + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION @@ -110,7 +135,7 @@ above, provided that you also meet all of these conditions: License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - + These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in @@ -168,7 +193,7 @@ access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - + 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is @@ -225,7 +250,7 @@ impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - + 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License @@ -278,7 +303,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest diff --git a/sc2/TODO b/sc2/TODO index 325bcb587..529c63f79 100644 --- a/sc2/TODO +++ b/sc2/TODO @@ -10,11 +10,6 @@ Serious bugs (crash the game, high priority): - Communication screens nonrepeatably but inevitably hang the system. This is probably a deadlock issue. - Often more probable when heavy color table transformations are going on -- Script bugs where a voice is expected yet not specified appear to make - the game catatonic (e.g. ZoqFotPik's "Good bye Captain." "See ya.") -- When trying to skip past a a speech that's composed of multiple parts, - the game hangs. (NOTE: This isn't true for the Zoq-Fot-Pik, which is - unusual - EVERY line by the ZFP is like that.) - Load/save code doesn't work perfectly, hangs sometimes when after loading trying to enter some star first time etc - OpenGL mode might cause lockups when entering a star system, while @@ -67,6 +62,9 @@ Glitches (don't crash the game, medium priority): when not being near of it - In Linux, when the audio device isn't available, you can play the game, but it will hang on termination +- Subtitles in conversation will sometimes hang off the end (e.g. the + Ilwrath reacting to the Ur-Quan Drone) or not appear at all (e.g. the + Yehat). - ZFP graphics synchronisation messed up when fast forwarding speech - Melee menu's 5x5 ship selection grid doesn't show up always - On win32, works with release build, not debug @@ -90,6 +88,9 @@ Stuff still to do (large): the alternate scripts (even the basic dialogue is not identical) - make stuff endian-safe In particularly 24-bits scaling is known to be unsafe. + Furthermore, saving and loading games uses cread and cwrite, which is + not endian-safe, and which is writing out values of heap pointers. This + really should be cleaned up just in general and made endian safe to boot. - 3d planet view when entering orbit - some packaging system for resources. zlib looks like something which is suitable for this. @@ -125,6 +126,8 @@ Stuff still to do (medium size): Stuff still to do (small): - make sure save files are independant of endianness, so that Mac savefiles can be used on the pc (and the other way around). + - Also remove the values that are pointers into the heap, since those get + cached and restored by the load routine anyway. - make a file types.h, which defines non-confusing integer types. There are at the moment 3 systems: int16, DWORD, and Sint16. I suggest we keep int16, as 'word' is confusing. Sint16 is an SDL define