Commit Graph

5641 Commits (367110ec576397206faa70d61b5445f092d7adc9)

Author SHA1 Message Date
Dennis Schridde eec2db7b7e Fix autopackage desktop file
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@643 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 23:23:36 +00:00
Dennis Schridde a1057805a6 Move .desktop file to reflect naming changes
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@640 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 23:18:20 +00:00
Dennis Schridde e8d27a3dc2 Update the .desktop file to match changes of namings
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@639 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 23:17:11 +00:00
Dennis Schridde e117a62324 Use autoconf's config.h instead of an own version.c hack.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@638 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 22:27:26 +00:00
Dennis Schridde b356295340 Update version in configure.ac and date in ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@637 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 21:47:10 +00:00
Dennis Schridde fde163d9fe - Change << shifting from TILE_UNITS (bigger than size of shifted type) to TILE_SHIFT
- Cleanup debug.h


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@632 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 21:27:48 +00:00
Dennis Schridde 4208601a38 - Fix string stack reset for scripts
- Clean warnings and a wrapper function for widgets
- Add an assert to intDisplayMessageButton to catch crashes better


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@631 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 20:38:27 +00:00
Per Inge Mathisen c30b0a8784 Remove some dead code and fix two warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@630 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 16:58:49 +00:00
Dennis Schridde 9f5c1367aa Fix scanDataDirs to search in the correct path
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@629 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 15:47:53 +00:00
Dennis Schridde 95442679bf Dont buffer the --debugfile
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@628 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 13:20:57 +00:00
Dennis Schridde b908d81077 Windows had that problem with the missing dirSeperator before WZ_WRITEDIR, too.
Thus appending dirSeperator on Mac and Windows instead of hardcoding it to WZ_WRITEDIR, because PhysFS calls that unsafe on Windows and refuses to create such a dir.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@627 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 10:08:55 +00:00
Ari Johnson 185a1bdeb6 MacOS X changes:
- Application Support directory did not include the trailing slash when
   retrieved from the operating system
 - Renamed some files to 'warzone2100' base name
 - Renamed application bundle to 'Warzone 2100'
 - Included a smart script for finding library and framework dependencies
 - Split the application bundle and disk image script into two to facilitate
   testing the application bundle without having to create and mount a
   disk image


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@626 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 00:54:18 +00:00
Dennis Schridde 6eddfaeada Added bugtraq properties to all folders to be used by TortoiseSVN, WebSVN and others.
This makes entries like "bug #123" or "Bug #123" clickable in the SVN log.
You are transfered to the bugtracker on gna.org.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@625 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 00:16:59 +00:00
Dennis Schridde 5e2477adcd Workaround bug #6734 by disabling sequence display completely
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@624 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-24 23:16:47 +00:00
Dennis Schridde 320b4426d6 - Change binary name to warzone2100
- Remove revision output (and revision())
- Add --version cl option
- Commandline options are now all --long-opts (this makes future -s short-opts possible)
- -1024x768 has changed to --viewport 1024x768
- Reodered --help alphabetically


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@623 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-24 22:48:56 +00:00
Ari Johnson 7ae2fa08c0 Generalized MacOS X application support folder for portability
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@622 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-24 00:50:57 +00:00
Dennis Schridde 4d55a6821e Changed/unified namings.
Project: Warzone Resurrection Project
Product: Warzone 2100
Binary: warzone



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@621 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 17:48:47 +00:00
Ari Johnson 6585873f04 Made configure.ac much smarter about MacOS X OpenGL and OpenAL frameworks
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@620 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 15:51:33 +00:00
Dennis Schridde e52dba36cc Corrected false error messages, old printfs
netplay.c got a bunch of new LOG_NET debug()s whose effects on performance have not been tested


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@619 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 15:27:20 +00:00
Dennis Schridde bc6a921b84 Change a lonesome unsigned __int64 to uint64_t
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@618 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 14:29:34 +00:00
Dennis Schridde 3e6bf5924c Update ChangeLog for 2.0.4 (rc3?)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@617 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 14:17:05 +00:00
Dennis Schridde 6a4632e4d2 AutoMake 1.8 wants CHANGELOG to be named ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@616 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 14:15:46 +00:00
Dennis Schridde 3376c0909f Patch from Gentoo bug #141661 to not override Ogg's own --with-ogg switch (http://bugs.gentoo.org/show_bug.cgi?id=141661)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@615 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 13:53:47 +00:00
Dennis Schridde 62f76a1adf - Fix a deprecated warning on MSVC
- Make MinGW actually compile (it defines __MINGW32__ and not __MINGW__)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@614 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 13:01:17 +00:00
Dennis Schridde 0e288f45e7 - Replace all ASSERT(( )) with ASSERT( )
- Simplify definition of ASSERT(). Now is the same for GCC and MSVC.
  This may not work on versions older than MSVC 2005. If you experience this, please report it!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@613 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 12:58:48 +00:00
Dennis Schridde ed62f97175 debug.c: Add callback to output to a win32 debugger. (Registered in main.c)
frame.h: Sync MAX_PATH with windef.h and require IE5 for SHGetFolderPath
types.h: Use stdint.h on MinGW and use __int* types on MSVC
lib/netplay/: Remove empty files
main.c: Use "Documents and Settings\Username\My Documents\Warzone 2.0" (in local lang) as writedir on Windows

Fix double definitions in last commit.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@612 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 12:19:17 +00:00
Dennis Schridde f4d639b8e4 Cleanup redefinitions of inline and strcasecmp on MSVC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@611 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 23:32:18 +00:00
Dennis Schridde 776226572c multisync.c: Fix uninitialized values.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@610 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 23:23:42 +00:00
Roman C fe5085565d Skirmish messages are now shown,
Ability to process console commands (trivial implementation right now), 
Implemented ability for AIs to save their game experience to simulate learning

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@609 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 22:46:15 +00:00
Dennis Schridde 62ae49b0ce Replaced all occurences of DBMB, DBPRINTF and DBERROR with their former define.
( DBPRINTF(("Message")); becomes debug( LOG_NEVER, "Message" ); )



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@608 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 14:28:49 +00:00
Roman C 3e6428377c Fixed bug #6540: 5 research facilities should always be available now
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@607 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 11:58:31 +00:00
Dennis Schridde cdf3cf2eb2 Fix Gentoo bug #141661 (http://bugs.gentoo.org/show_bug.cgi?id=141661)
Configure could fail to detect ogg-vorbis due to a missing "test".


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@606 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-22 11:24:49 +00:00
Roman C da8c573fd4 Fixed debug() for scripts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@605 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 22:13:13 +00:00
Dennis Schridde c78526b67c New debugging system.
You can now register any callback function to the debug facility.
You will then recieve every preprocessed debug string for which part debugging was enabled.
Offers the possibility to output debugging info to any medium you can think of.

See debug_callback_stderr and debug_callback_file* for an example.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@604 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 21:27:12 +00:00
Roman C aee8ea47f7 Fixed bug #6687,
Added debug() for scripts, 
Plus some cosmetic changes

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@603 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 21:20:17 +00:00
Dennis Schridde 68bbc0971c Add request for host/connect commandline options to TODO
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@602 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 20:54:54 +00:00
Dennis Schridde c27e649a8a Fix last commit for Linux/GCC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@601 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 16:49:32 +00:00
Roman C 8447972580 Added new scripting functions, cleaned up flex debug output
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@600 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 15:33:49 +00:00
Ari Johnson 52a52fdd30 Moved MacOS user directory to the Library/Application Support tree
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@599 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 15:31:36 +00:00
Ari Johnson b67900399b Reverted to AC_CONFIG_HEADER and made a note in macosx/README.BUILD.txt regarding the required version of automake
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@598 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 11:15:27 +00:00
Roman C 433d707927 Fixed missing player names in multiplayer messages,
cleaned up Bison logs
enabled logs for loading .slo and .vlo files

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@597 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-21 09:34:42 +00:00
Dennis Schridde b6c5dd9eaa Clean last commit to compile on Linux/GCC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@596 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 20:37:26 +00:00
Roman C e4883dabb9 Scripting engine update:
-added new scripting function
-added new callbacks
-added new member variables
-players controlled by AI now receive (and send) multiplayer messages and can process them

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@595 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 14:48:14 +00:00
Ari Johnson 8f8c461df4 Updated changelog to reflect previous three commits
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@594 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:18:48 +00:00
Ari Johnson 89959394d6 Fixed bug that caused garbage to be read from asScrTypeTab, which could confuse
the script parser.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@593 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:17:51 +00:00
Ari Johnson 737f37663e AM_CONFIG_HEADER replaces AC_CONFIG_HEADER to avoid complaints from automake
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@592 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:16:40 +00:00
Ari Johnson 8917cea6cb Runtime script parse errors now report a filename and line number rather
than just an inaccurate line number.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@591 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:15:55 +00:00
Dennis Schridde a026b6118d Make both MSVC and GCC use a very similar define for ASSERT.
I am afraid that I reverted the changes made by Per. Will try to recover them tomorrow.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@590 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 22:45:58 +00:00
Dennis Schridde 3210bebd6b - configure.ac, configure.mk: Define NDEBUG for non debug builds (disables assert())
- mem.c: Beautify memFree ASSERT(())


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@589 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 22:24:07 +00:00
Dennis Schridde e989a55798 Change define of _CONSOLE to _WINDOWS for a full Windows app.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@588 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 21:17:20 +00:00