Commit Graph
6941 Commits
Author SHA1 Message Date
ac-stef 3865affb0b additional way of clipping areas: tagclips
In addition to the existing clip- and plclip-entities, this patch provides
a new approach to provide the same: clip areas by tagging cubes.
Each cube of a map has a parameter "tag". All tags in all existing ac maps
are currently zero. It is a leftover from cube 1. This patch uses the tag value
to determine, if a cube (from floor to ceiling) should be forbidden for
players (tag 0x80) or every moving object (tag 0x40). Tagclips have several
advantages over classic clip entities: they are fast to establish (mark
area, then /edittag 0x80) and are "cheap" for the engine. Tagclips do not
increase the number of entities. As tagclips are always floor to ceiling,
they can't be used to build stairs or platforms. Tagclips should be
preferred over clip entities, but can coexist without problems.

Technically, setting the tag value to 0x40 or 0x80 causes the physics
engine to handle the cube like a "solid".
2014-01-28 01:12:52 +01:00
ac-stef c3d4713904 clean up map header handling
Older versions of ac did not obey the map header field "headersize".
When a map was written, only the "version" field was updated, even if
the new written header had a different size. Thanks to bigger headers
in map versions 7 & 8 (and now smaller headers again in 9), the headersize
of basically all official maps is bogus. This fix makes sure, only proper
headersizes are written. It also makes the game tolerate different (bigger)
headers - and keeps their content untouched. Future map format extensions
can use this to add header information without breaking existing map parsers.

This patch establishes a new map format 10, which is identical to format 9,
with the exception that the headersize field is guaranteed to be correct.
Format 10 also allows any amount of additional header data.

This patch also cleans up the transformation routines for old map entities.
2014-01-27 23:01:23 +01:00
ac-stef 6e4b23734f fix clang warnings 2014-01-27 23:01:23 +01:00
aerkefiende c22263c8a1 Merge branch 'master' of https://github.com/ac-stef/AC into ac-stef-master 2014-01-27 22:01:17 +01:00
RandumKiwi 154213c20f Remove a dependancy. 2014-01-28 01:33:07 +13:00
RandumKiwi 38eb2f549f Fix fail. 2014-01-27 23:01:17 +13:00
RandumKiwi 2b699d227d Final travis config! 2014-01-27 22:52:31 +13:00
RandumKiwi 047ac289f5 Travis testing, MOAR. 2014-01-27 21:51:02 +13:00
RandumKiwi 874fd48a2f travis MOAR test 2014-01-27 20:19:08 +13:00
RandumKiwi b77e1bca2d Tweak travis settings, less IRC spam. 2014-01-27 18:00:57 +13:00
RandumKiwi 9e1b08759c travis IRC 2014-01-27 17:40:51 +13:00
RandumKiwi 53467f6422 Travis #2 2014-01-27 16:40:20 +13:00
RandumKiwi 6cd5815fe4 test for travis 2014-01-27 15:42:59 +13:00
ac-stef b63e870539 fix rendering of higher mips at the edges of a map
fixes some assumptions of the engine about the rendering
 of mipmapped solid areas at the edge of the world
(confirm bug with an 8x8 solid in the corner of a /newmap)
2014-01-26 20:44:14 +01:00
ac-stef 9066c36b89 physics fix: clean up invisible cubes
have the physics engine take the same shortcuts as the render engine
2014-01-26 20:36:06 +01:00
ac-stef 0c233458c7 g++ warning fix 2014-01-26 20:22:36 +01:00
Ronald Reagan 4d5503be95 No spectate respawn timer evasion. Closes #20 2014-01-23 12:56:56 -08:00
Ronald Reagan 1caf38e898 Added command line history. New file 'history' used in the config folder 2014-01-23 12:09:05 -08:00
Ronald Reagan 305ef19887 Removing lasttarget 2014-01-23 09:23:40 -08:00
Lucas GAUTHERON 5feb0daae5 rewind command crash fix (Closes #2) 2014-01-18 22:47:29 +01:00
RandumKiwi c2b6aee935 Add .gitignore's for empty directories 2014-01-17 01:35:17 +13:00
James Harris 5e639fdec2 Fix bug #510 "Wrong CN is displayed ("-1"), when "whois -1" is executed." ty gren
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7688 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-12-27 09:08:29 +00:00
James Harris 6db804ea19 Fix server sorting (official maps option) and grammar/punctuation fixes to securemapcheck
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7687 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-12-26 23:15:06 +00:00
Lucas GAUTHERON 8361e43415 escape special characters in MS requests
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7685 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-12-16 12:50:50 +00:00
ac-cleaner 2e985711cb makkE's mapmodel "picture": Fixed reverted faces, no longer allowing shoot through.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7683 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 12:10:44 +00:00
Alejandro V. Garcia ace4d2b11a mapmodel updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7682 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 12:06:32 +00:00
Alejandro V. Garcia fc07151d9a mapmodel updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7681 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 09:10:19 +00:00
Alejandro V. Garcia 8cc5adc6d4 mapmodel updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7680 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 04:55:44 +00:00
Alejandro V. Garcia 0c55d1561f mapmodel updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7679 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 04:48:39 +00:00
Alejandro V. Garcia fb4ebd58aa wood beam mapmodel update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7678 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-29 04:08:14 +00:00
Alejandro V. Garcia b39fe5d68d mapmodels update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7677 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-28 09:37:37 +00:00
Alejandro V. Garcia 1bdcb033f3 mapmodels update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7676 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-28 09:37:09 +00:00
Alejandro V. Garcia 1bd9aeb11b new windows bins
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7675 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-16 12:21:35 +00:00
Alejandro V. Garcia 4d093af454 revert makefile changes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7674 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-16 11:00:23 +00:00
Lucas GAUTHERON c9273f2b4a libcurl.lib revert
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7673 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-16 10:46:27 +00:00
Alejandro V. Garcia 7e3b74474c revert
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7672 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-16 10:45:08 +00:00
Alejandro V. Garcia 4159e323f7 libcurl.dll v7.30 (for zlib1 not libz-1)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7671 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-15 23:04:22 +00:00
Alejandro V. Garcia 1e65fec6da libcurl.dll v7.30
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7670 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-15 22:55:11 +00:00
Alejandro V. Garcia ac6e230a20 rollupdoor model
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7669 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-15 22:21:10 +00:00
Alejandro V. Garcia 37272f1b2f mingw & vc++ compatible curl library, binaries created with vc++ express (testing needed)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7668 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-15 12:51:38 +00:00
James Harris 486d32c03a Updated docremarks for forceteam and weapon
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7666 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-11 15:01:05 +00:00
aerkefiende 76eb03172f Windows binaries for the 1.2.0.2 release
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7659 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 19:29:55 +00:00
RandumKiwi 6709d95dfc minor change to pkg script
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7658 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 19:15:02 +00:00
aerkefiende 221a7aef78 Windows binaries for the 1.2.0.2 release
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7657 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 19:06:40 +00:00
RandumKiwi 86a63fc554 Fix for some buggy libcurl versions (linux).
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7656 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 18:54:27 +00:00
aerkefiende 75aa782616 Windows binaries for the 1.2.0.2 release (incl. ACAC)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7655 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 17:51:29 +00:00
aerkefiende a2a542e6b4 dummy update
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7654 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 17:17:59 +00:00
aerkefiende e60cada905 Updated changelog.txt for 1.2.0.2
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7652 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 17:08:36 +00:00
aerkefiende e9b7904087 Updated NSIS-script for release of 1.2.0.2
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7651 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 16:38:46 +00:00
aerkefiende 6fd0a8f929 Deleted install.sh as it doesn't work as it should
Updated assaultcube.sh for release (wrong config directory)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7650 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-11-10 16:37:47 +00:00