3883 Commits

Author SHA1 Message Date
Meep-Eep 4abc0588c6 Documenting SuperMelee teams file format.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3111 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-02-16 02:33:55 +00:00
mcmartin 598f1d41f9 Fixes for building on MSVS 2005 - these should also suffice for MSVC6.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3110 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-02-16 01:57:52 +00:00
mcmartin 6f395c9ed0 Update Windows build file
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3109 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-02-16 01:23:20 +00:00
mcmartin c4f404af0a Move the configure and keyconfig data into subtrees of the resource map. As a side effect, default key configurations are read directly from the content directory.
THIS IS AN INCOMPATIBLE CHANGE TO THE CONFIG FILES. Update content as well as src when upgrading here. Old configurations will be lost but the upgrade should otherwise be automatic.

Bumped version to 0.6.5 to commemorate the incompatible change.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3108 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-02-16 00:40:42 +00:00
mcmartin f2e4a8e223 Added routines to be able to save or reload fragments of a resource map.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3107 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-02-08 09:27:07 +00:00
mcmartin 67dc3becff Updated to reflect the past six weeks of commits
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3106 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-01-03 22:22:06 +00:00
mcmartin a53862ce81 All file access involving resource indices to operate on or create subtrees
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3105 8092fc87-c524-0410-9efc-e669fe64eaf9
2009-01-03 22:16:29 +00:00
mcmartin a0a5815884 3do videos now controlled as an addon pack.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3104 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-29 06:31:46 +00:00
mcmartin 713d534c39 Fixed a double-free bug in the new Legacy Video code and added files to
the Windows project file.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3103 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-29 06:19:11 +00:00
mcmartin 7ef692df98 Move DoFMV and its friends into the video library.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3102 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-29 04:09:20 +00:00
mcmartin 460aaa5b56 Created a 3DOVID resource type, which corresponds to LEGACY_VIDEO.
This resource may be passed to ShowPresentation and it will play it as
a video.  It can represent basic videos (intro/victory) as well as
spins.

All code that plays FMVs has been updated to deal with this new type.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3101 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-29 03:32:51 +00:00
mcmartin 5417b9f06a Changed VIDEO_REF from a DWORD to a pointer to an opaque structure.
This should provide better 64-bit cleanliness, and it also puts it in
line with the rest of the resources.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3100 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-29 00:50:53 +00:00
mcmartin d1832e6f66 Added a routine to interrogate resource types.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3099 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-24 00:09:54 +00:00
avolkov 5407575ef4 Allow reaching 999.9 over X in HSpace; Y fixed symmetrically and would be relevant if weren't inverted; bug #628
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3098 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-11-10 06:03:16 +00:00
Meep-Eep c99ef7b9ca Use system getopt_long() when available.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3097 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-18 18:57:19 +00:00
gewlitys a8d9aeb24e Added ogg and addon support for Symbian.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3096 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-18 17:35:09 +00:00
gewlitys d57f042526 Do not build getopt for Symbian.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3094 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-18 09:24:06 +00:00
gewlitys 2a2caf2f38 Do not open contentDir second time.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3093 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-17 22:00:17 +00:00
gewlitys 2f7bbc1d5f Added --addondir commandline option.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3092 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-17 21:48:14 +00:00
gewlitys a40a51cd71 Mounting packed ani/font files does not actually need to be relative to content mount.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3091 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-17 20:49:24 +00:00
Meep-Eep 72e31c75db Case insensitive matching for .uqm/.zip/.rmp. Also fixes an error in the regexp used before.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3090 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-15 17:45:17 +00:00
gewlitys 060acd4518 Added special mapping for starmap zoom keys.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3089 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-13 20:42:22 +00:00
gewlitys 173a2cfdf8 Symbian content package uses now packed anis and fonts
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3088 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 22:28:56 +00:00
Meep-Eep e253b0340e Remove 'TODO'. It's done.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3087 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 22:14:58 +00:00
Meep-Eep b3321c8c60 Added read-ahead buffering when reading zip index files.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3086 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 21:46:57 +00:00
gewlitys d82cd23ef5 Endian fix for zip detection
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3085 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 01:34:39 +00:00
gewlitys 64fd9db34e Added support for packed ani and font files
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3084 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-12 00:37:05 +00:00
Meep-Eep 98d0dadbb3 Fix double uio_close().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3083 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-11 19:49:46 +00:00
Meep-Eep c14c78e18f NetBSD support.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3082 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-11 18:33:28 +00:00
avolkov 1c6e58d98f DrawTracedText abstraction; bug #1029; from Nic, modified
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3081 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-05 20:07:37 +00:00
avolkov e97376aca3 HMalloc in topo scaler is a better choice anyway; no need for Symbian special case
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3080 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-05 19:27:26 +00:00
Meep-Eep 2dd47ba2e8 Separate calbacks for systems and planets to be called before and after recursing for their respective planets and moons.
Functions for tallying of resources.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3079 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-04 13:26:53 +00:00
Meep-Eep c5c8445bc4 Get rid of (spurious) "variable may be used uninitialized" warning.
This happens to work around a compiler bug in GCC 4.0 on (Motorola?) Macs too.



git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3078 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-10-03 20:13:38 +00:00
gewlitys 56c637d7cd SDL threadlib is now default also for Symbian
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3077 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-21 20:24:45 +00:00
gewlitys f03bb0508f Set stack size to maximum.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3076 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-21 18:37:27 +00:00
gewlitys 329265539c CallMainL() was used with wrong parameter for stack size
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3075 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-21 18:27:07 +00:00
gewlitys baf8a87d15 Avoid error messages about libmikmod when compiling for Symbian
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3074 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-19 23:32:56 +00:00
gewlitys 84769e71ad Removed unnecessary detections, support for S60 SDK version >3.0
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3073 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-19 22:29:30 +00:00
gewlitys 1448372b98 Do not force installation to c drive
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3072 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-13 17:10:39 +00:00
gewlitys f4c1083b67 Symbian does support long long nowadays.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3071 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-13 16:37:02 +00:00
Meep-Eep 77996b6e7a FreeBSD has been using 'sdl-config' for two years now.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3070 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-03 18:04:02 +00:00
gewlitys 86295bff30 Exits now instantly when killed, other misc tweaking
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3069 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-03 17:58:12 +00:00
gewlitys c16423c4b5 Updated email address.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3068 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-09-01 18:22:12 +00:00
gewlitys 934b3ad08c Added support for Symbian GCCE compiler
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3067 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 21:27:02 +00:00
Meep-Eep 29f55e2a5b Typo in comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3065 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 17:42:57 +00:00
gewlitys 50664a6f71 Experimental support for Symbian S60 3rd edition
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3064 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-31 00:34:29 +00:00
gewlitys 7310148db6 Disabled rotation profiling which was probably left accidentally.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3063 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 23:59:40 +00:00
Meep-Eep 649cc69c7f Hack for Symbian The Unholy, to make mkdirhier() work.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3062 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 21:08:16 +00:00
Meep-Eep a00336f6fc Dirty hack for Symbian The Unholy.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3061 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 20:52:57 +00:00
Meep-Eep 56fd1c48a4 Keep errno over uio_free().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3060 8092fc87-c524-0410-9efc-e669fe64eaf9
2008-08-30 19:23:43 +00:00