Commit Graph

546 Commits (554bf6b380bd7668eb6014167ab6a94fa15bd7e9)

Author SHA1 Message Date
Per Inge Mathisen 554bf6b380 Fix build warnings 2011-09-25 23:55:24 -04:00
Cyp f282cc289c Fix some warn-unused-result warnings.
Wasn't compiling with -Werror.
2011-09-02 12:07:18 +02:00
Per Inge Mathisen ca8595f25a Make sure that structure IDs are never zero for converted maps. Fixes ticket:2833 2011-07-31 22:49:55 +02:00
safety0ff bc26936424 Further improve documentation of map/pngsave.h. 2011-07-30 17:29:31 +00:00
safety0ff 6bf33d2000 Fix autotools compilation of map2preview (reverts some parts of 65e00db411). 2011-07-30 17:29:31 +00:00
dak180 a899f46775 Add the map tools to the xcode project. 2011-07-30 00:39:56 -04:00
safety0ff 65e00db411 Remove Qt dependency from map tools.
Place origin at the top of the preview image.
Fix bug for ARGB32 method for map tool png saving rootines and add RGB888 method.
No longer stretch the preview image.
2011-07-29 22:16:59 +00:00
safety0ff e1f78ed5fb Fix comments and documentation of variables whose meaning and name were modified.
Also remove use of inexistant variable.
2011-07-27 23:25:02 +00:00
Rene Jochum dd96412f66 The CMakeLists.txt for 7b20e5c8bf. 2011-07-28 05:11:04 +02:00
Rene Jochum 7b20e5c8bf Improve cmake in tools/map by Safety0ff,
remove some unused includes from vector.h.
2011-07-28 05:03:42 +02:00
Rene Jochum 1c15b75073 Remove the converting requirement in tools/map/map2preview. 2011-07-28 03:30:27 +02:00
Rene Jochum cbe8c925b6 Add support for plain dir maps in tools/map. 2011-07-28 02:43:41 +02:00
Per Inge Mathisen 23b4d3e8a1 Add map/tools to ordinary build system. 2011-07-28 01:32:09 +02:00
Rene Jochum b50744261c Fix intention in map/tools. 2011-07-28 01:36:08 +02:00
Rene Jochum 064c7fcd85 Add some more improvements to the map tool. 2011-07-27 06:28:31 +02:00
Rene Jochum 4a227a1b5b Add a map preview tool, fix various things in tools/map. 2011-07-27 02:39:50 +02:00
Per Inge Mathisen b04a07cbf7 Ignore height value set in ini savegames for features, recalculate it on load every time instead. 2011-07-16 20:32:24 +02:00
Per Inge Mathisen e94d8b5743 Initial mapconv changes for .gam to .ini support. 2011-07-11 20:39:21 +02:00
Per Inge Mathisen 29dd80d936 Split references to player index and player start position on map in savegames. This has already
been done in the codebase earlier. This cleans up any remaining confusion and hacks related to
how players are indexed, and closes ticket:2806
2011-07-03 13:15:31 +02:00
Per Inge Mathisen 09eb6e79f3 Convert structures in savegames to ini file format. 2011-07-02 14:30:51 +02:00
Per Inge Mathisen f73a699bf2 Update map conversion utility for structures. 2011-07-02 14:30:51 +02:00
Per Inge Mathisen cc0e183b96 Fix unit tests 2011-06-12 12:04:27 +02:00
Per Inge Mathisen b70dfe8885 Convert features to ini format. Fix IDs of droids in existing maps. 2011-06-11 21:57:49 +02:00
Per Inge Mathisen ff31f8d395 Change unit.ini -> droid.ini, since "unit" is an unused concept in Warzone. 2011-06-11 19:19:43 +02:00
cybersphinx 5e803e4de5 Remove outdated lobby servers.
The current one is at https://github.com/pcdummy/wzlobbyserver-ng.
2011-04-08 01:17:21 +02:00
Cyp 6f6ec2ea86 Add IMAGE_GN_N for N up to 15. 2011-01-13 15:58:46 +01:00
Per Inge Mathisen 9b6e542bfa Remove pietoaster 2010-12-31 23:42:53 +01:00
Per Inge Mathisen b15addfcf1 simplipie: Add warning when not all polygons in a mesh do not use the same number of frames for texture animation. 2010-12-31 22:26:45 +01:00
Per Inge Mathisen 3d7a7b397b simplipie: Fix error when fixing face culling and tessellation at the same time. 2010-12-31 18:20:51 +01:00
Per Inge Mathisen 22bbd8dd51 simplipie: Fix missing space in frame animation directive print out. 2010-12-31 17:12:17 +01:00
Per Inge Mathisen 2133cd5ec6 simplipie: Add support for triangle tessellation 2010-12-31 16:53:05 +01:00
buginator c560f8a3e9 Fix typo 2010-12-06 21:14:00 -05:00
Per Inge Mathisen 7de25a9d5b Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See ticket:2310 2010-12-04 15:57:26 +01:00
Per Inge Mathisen 26d51104f9 simplipie: Remove old style team colour information if tcmask is used. 2010-11-12 22:23:05 +01:00
Giel van Schijndel 9d973acc20 Debianize the two ticket-related Trac plugins
Turn the ticketnotifications and ticketvalidemail Trac plugins into
Debian packages, allowing for slightly easier management of these
plugins.

Signed-off-by: Giel van Schijndel <giel@wz2100.net>
2010-10-04 19:39:13 +02:00
Safety0ff 72464dfe24 mapconv: Fix an small error in an error output.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11714 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-20 18:34:42 +02:00
Safety0ff 746ffaa836 obj2pie: Fix last obj face duplication bug.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11681 4a71c877-e1ca-e34f-864e-861f7616d084
2010-09-18 23:07:47 +02:00
Buginator aabcb5f2fb Commit patch #2065 by FastDeath, with slight modifications by me.
Fixes some issue with the wzmasterserver, see ticket for details.

Closes ticket:2065


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11483 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-15 22:07:18 +02:00
Giel van Schijndel ccbd9c56c7 wzmasterserver.py: change the `__author__` value to "The Warzone 2100 Project"
This used to be a list of authors.  Ego-boosting can always be performed by the AUTHORS file, no need to boost it all over the place ;-)

Suggested by Fastdeath's patch, see #1985

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11369 4a71c877-e1ca-e34f-864e-861f7616d084
2010-08-03 09:38:30 +02:00
Buginator edb644a03b Fix (and add missing) headers to files.
2009  Warzone Resurrection Project -> 2010  Warzone 2100 Project

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11298 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-28 18:58:33 +02:00
Per Inge Mathisen 33afe5bc3d simplipie: Make it accept multiple filenames as arguments to make mass-conversions simpler.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11171 4a71c877-e1ca-e34f-864e-861f7616d084
2010-07-11 23:04:18 +02:00
Safety0ff 35995c8c27 obj2pie:
- Add PIE 3 support.
- Add tcmask pie type option.
- Fix rounding of PIE 2 texture coordinates.
- Tolerate vertex normals.
- Use duplicate faces instead of deprecated flag.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10812 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 11:17:06 +02:00
Safety0ff 5c74291bab qwzm:
-Check that file is open before trying to write to it.
-Remove unnecessary include.
-Use 256 for fallback texture dimensions when writing a pie 2.
-Fix rounding when exporting to pie 2.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10759 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:51 +02:00
Safety0ff 1ade59528c qwzm:
-Touch up r10748 and fix a typo it introduced.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10754 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:50 +02:00
Safety0ff dfdb343064 QWZM:
-Reviewed loadPIE and savePIE functions.
-Improved documentation of savePIE function.
-Added bounds checking to prevent currentFrame being an invalid value.
Refs #1763.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10748 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:42 +02:00
Safety0ff 78a9b96ea6 QWZM: Unclobber indentation (refs r10729,r10740.)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10747 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Safety0ff ec73038633 QWZM:
Copy display/wzmutils .c & .h to the qwzm folder so that they can be modified for cpp/Qt/QWZM.
Revert r10279 for display/wzmutils .c & .h so that they work like wzmviewer expects them to.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10741 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Safety0ff 2c08757b1c QWZM: Apply UI improvement patch by Emdek.
Modifications I made to it:
-Fixed the mesh selection issue in the patch.
-Witheld renaming the program (needs more discussion,) and changed version string.
Refs #1763.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10740 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Safety0ff f146e9c044 QWZM:
-Added experimental PIE export.
-Added experimental PIE 3 import.
-Merged PIE and WZM opening into one dialog.
-Fixed ambiguous shortcuts.
-Single mesh display.
-Turned on alpha blending (for textures with alpha.)
-Improved (but not removed,) use of hardcoded paths for texture finding.
-Fixed some memory leaks.
-Way less potential program exits.
-Disabled (i.e. grayed out) buttons that don't currently do anything.
-Fixed some warnings.

Possibly other stuff, and probably new bugs. ;P
Refs #1763




git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10729 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-28 07:52:18 +02:00
Per Inge Mathisen 455fd8a613 Modify MOTD for 2.2 to make it nicer looking
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10635 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-19 12:52:42 +02:00