Commit Graph
56 Commits
Author SHA1 Message Date
ac-stef f3e72b8fb7 remove gettext
DOCREF gettext
2015-06-10 14:28:50 +02:00
ac-stef 6be832db4f better map model rotation
Create the rotation matrix with quaternions to avoid gimbal lock. The
matrix is created in a way, which has pitch and yaw behave as before.

Some of the quaternion code is borrowed from sauer, some from Q47 of the
Quaternions FAQ at http://vamos.sourceforge.net/matrixfaq.htm.
2015-06-05 16:00:03 +02:00
ac-stef 3d1f7d9b95 fix mapmodel occlusion when using pitch and roll
may need a bit more work, though
2015-06-05 16:00:03 +02:00
ac-stef ae82b6b22e add attr5..7, add mapmodel pitch and roll
Keys 5, 6 and 7 (in combination with the scrollwheel) can be used to alter
the new entity attributes.

Pressing editmeta (LCTRL by default) speeds up the scrolling.

(Parts of the roll code are borrowed from Alejandro V. Garcia's commit
"Model rotations, experimental" from January 2013)

Note: coop edit is now broken between "next" and older clients, but I
  don't want to bump the protocol just yet.
2015-05-18 14:59:41 +02:00
Bukz 7480f036d3 persistidents fixes (plz review/test)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:43:47 +00:00
Alejandro V. Garcia d9bde7f0d9 Revert experimental model rotations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7034 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-06 00:18:27 +00:00
Alejandro V. Garcia c5e656fc9e Model rotations, experimental
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7029 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-04 09:41:15 +00:00
sireus b33116712c sane(r) command signatures (warning: huge commit)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-06 22:49:49 +00:00
sireus b5c863a900 persistidents - control whether newly defined idents are persistent (suggested by Bukz)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-09 13:28:52 +00:00
Lee Salzman be94c703f2 setsize -> shrink
setsizenodelete -> setsize
deletecontentsa -> deletearrays
deletecontentsp -> deletecontents
vrealloc -> growbuf



git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-11 23:06:26 +00:00
Lee Salzman 9256ee374b support for loading from zip files
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4717 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 00:53:19 +00:00
Lee Salzman e725e5ed8c string function cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 22:44:32 +00:00
driAn f2aff865b7 localized ui/user related strings
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4634 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-13 20:43:07 +00:00
Lee Salzman 95cad2c3d1 removed libGLU dependency
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3280 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-27 07:41:46 +00:00
Lee Salzman 6004e8f432 matrix stack cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3271 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-26 04:13:39 +00:00
Lee Salzman f1ace61eaf make sure modelattach.m is initialized to NULL
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3017 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-14 20:52:27 +00:00
Lee Salzman e11a5f5514 better hitbox testing
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2992 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-10-13 01:17:44 +00:00
Lee Salzman e6a4c3825b shadow pitch fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2669 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 21:27:46 +00:00
Lee Salzman b76491d06e vertex lighting option for mapmodels
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2656 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 03:34:58 +00:00
Lee Salzman 5811c51c1a cfg var cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2605 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-15 02:07:20 +00:00
Lee Salzman a5f4d3f2f8 shadow blending optimization
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2560 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-13 10:15:29 +00:00
Lee Salzman f52bf7e25e stencil shadows
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2551 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-13 02:24:48 +00:00
Lee Salzman 834e223154 model culling fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2536 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-12 01:57:54 +00:00
Lee Salzman b8686120bd model rendering optimizations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2532 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-12 00:41:44 +00:00
Lee Salzman 79f2de1d18 muzzle flashes on vweps
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2508 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-11 00:17:39 +00:00
Lee Salzman 3b05838c82 gcc 4.3 warning/bug fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2320 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-08-14 08:58:07 +00:00
Lee Salzman 2bb7a48296 support for alpha-tested models
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1890 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-05-06 20:10:55 +00:00
Lee Salzman 4e21ab0e89 simplified tag setup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1752 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-07 11:31:03 +00:00
Lee Salzman 25ebf59714 particle emitter stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1735 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-04-06 14:54:14 +00:00
Lee Salzman 2ed1e7366d better tag support
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1728 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-03-30 02:42:49 +00:00
driAn eb81f05ec9 crouching
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1419 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-11-11 14:20:52 +00:00
Lee Salzman 6a2f46aac8 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1352 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-10-13 19:08:38 +00:00
Lee Salzman b57d3cf723 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1277 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-30 05:31:24 +00:00
Lee Salzman 4431290dc6 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1272 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-22 12:55:19 +00:00
Lee Salzman ff0501d424 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1214 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-08-08 05:31:34 +00:00
Lee Salzman a13aadb796 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1177 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-07-26 01:17:04 +00:00
Lee Salzman 2bb92e9350 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1097 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-02 19:10:50 +00:00
Lee Salzman e3d5ba1e44 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@982 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-27 20:57:30 +00:00
Lee Salzman 4d4f063ed7 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@981 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-27 20:54:04 +00:00
Lee Salzman d6f61ad712 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@965 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-15 22:59:08 +00:00
Lee Salzman 6c6d6d43f3 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@964 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-15 22:58:31 +00:00
Lee Salzman 9e8711f1f3 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@955 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-11 12:06:56 +00:00
Lee Salzman af61bec22f *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@945 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-09 09:38:46 +00:00
Lee Salzman bf426ec134 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@939 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-07 02:04:38 +00:00
Lee Salzman 220bcccd58 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@926 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-05 22:16:15 +00:00
Lee Salzman b296653ae4 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@869 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-03-31 23:44:27 +00:00
Lee Salzman b316783db5 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@861 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-03-24 01:46:38 +00:00
Lee Salzman f5f0c7909b *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@822 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-01-16 00:16:45 +00:00
driAn b27dbf8f93 no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@821 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-01-15 23:56:54 +00:00
Lee Salzman 79512384cd *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@743 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-26 18:42:04 +00:00