Commit Graph

516 Commits (dacc1de1caca2d7794c512031e212f9a3827bb7a)

Author SHA1 Message Date
Dennis Schridde 9ad1a20e36 Updated ChangeLog. Missing items for 2.0.4 and new items for 2.0.5
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@668 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 21:15:47 +00:00
Per Inge Mathisen d483c052b2 Add basic map editing functions. When in cheat mode, you can use 'w' and 'a' to
raise and lower tile height, and use 'k' to flip tiles. You must trash your
keymap again before you can use this.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@667 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 21:12:44 +00:00
Dennis Schridde fc147e9bd6 Add a --shadow toggle to commandline options to enable or disable shadows. Patch by Suprano.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@666 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 19:31:50 +00:00
Roman C 63303fa4e2 Fix: should compile under linux now
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@665 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 17:41:39 +00:00
Roman C d10c3bb0bd Ctrl+MouseWheel makes game speed up or slow down,
Using mouse wheel over radar makes radar zoom in/out, 
Added ability to put beacons using the radar, 
Tweaked beacon placement coordinates.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@664 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 17:02:58 +00:00
Per Inge Mathisen 0aea40e84b Remove some dead code, and silence some warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@663 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 15:06:49 +00:00
Dennis Schridde a18890b6dd Quick fix for http://wz.rootzilla.de/forum/index.php?topic=62.0
Troman, please revise this!

Do we need to (and can) call something similar to eventFireCallbackTrigger((TRIGGER_TYPE)CALL_VIDEO_QUIT); to notify scripts that the video has ended? (eventFireCallbackTrigger() can't be called here because we are called from a trigger.)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@662 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-29 19:57:34 +00:00
Dennis Schridde 6bc302b059 Don't use an .exe extension for Linux binaries in Makefile.raw builds. Patch by Christian Ohm.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@661 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-29 16:15:11 +00:00
Dennis Schridde 5007fb9570 Fix bug #6758 and make shadow rendering faster.
Christian Ohm also reported that this fixes a bug in shadow rendering:
"And a shadow error (a shadow painted between the object casting it and
the floor where the shadow is) seems to be gone."


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@660 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-29 16:10:06 +00:00
Dennis Schridde d635b5c013 Fif unitialized value reported in bug #6781.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@659 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-29 16:07:56 +00:00
Ari Johnson c8ca8384e3 Minor fix to MacOS X application bundle script
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@658 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-28 17:15:12 +00:00
Dennis Schridde 0b527d49e2 Fix compile stoper from r649.
Ari: Please have a look at this! If this is wrong fix it please.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@657 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 20:32:40 +00:00
Dennis Schridde 76b6d70f6d Remove any occurences of GetTickCount() (a Windows function) with SDL_GetTicks() which was used on non MSVC anyway.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@656 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 19:09:35 +00:00
Dennis Schridde 7f3693b592 Revised framecounting to give correct results and use more informative names.
Also removed some unused framecounting functions.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@655 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 19:01:34 +00:00
Dennis Schridde 9e0f9ee8a2 Don't call glEndList() if glNewList() was not called.
Related to bug #6758


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@654 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 16:16:57 +00:00
Roman C b3112a95a6 Fixed 1.10 AI bug in event "useLasSat" which caused an infinite loop when script was trying to use LasSat while it was still under construction (one of the bugs mentioned in bug #6760)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@653 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-27 14:58:26 +00:00
Dennis Schridde a6acb6de78 Fix description of commandline parameters. (bug #6757)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@652 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 22:07:48 +00:00
Roman C e70448bc0d Fixed a #define inside of a Bison grammar rule
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@651 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 21:45:21 +00:00
Roman C c1c801383e Fixed compilation on GCC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@650 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 20:51:54 +00:00
Ari Johnson 9e2d33420f Endianness fixes for saved games
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@649 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 18:36:19 +00:00
Roman C c3eae9e73f Fixed bug #6753 ,
Define DEBUG_SCRIPT to get some more Bison/Flex debug output

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@648 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 17:14:04 +00:00
Roman C a9a74444a1 Added beacons for skirmish and multiplayer, default key combination: Alt+H.
Allied players send vision to each other automatically (only once)
Fixed caching problems for variables of type GROUP
Some other scripting engine updates and cleanups

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@647 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 15:50:47 +00:00
Dennis Schridde 1c6ef2d789 - Fix VERSION for Makefile.raw
- Fix location of config.h for Makefile.raw
- Remove netlobby* from MSVC project


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@646 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 15:21:40 +00:00
Dennis Schridde 63c54d4300 Fix desktop file and debian build rules for correct filenames
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@645 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 13:23:01 +00:00
Dennis Schridde d2ad2fc74e Improve Makefile.raw build slightly to support .rc files better.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@644 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 13:00:09 +00:00
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