Commit Graph
24 Commits
Author SHA1 Message Date
ac-stef b33ad603d4 cleanup
c removed

DOCREF c
2017-05-12 01:33:55 +02:00
ac-stef 98d01d1f34 fix some errors and warnings for GCC 6
* do not use std::abs() because math.h includes one, that converts ints
  to double. Use own iabs(), which directly uses labs() instead.
* don't use the word "gamma" as name for variables
* don't use a homebrew round() function
2016-02-27 22:50:06 +01:00
ac-stef 50d1413d5c fix some warnings
Removed homebrew round() - now we just use the math library.
2015-08-03 20:57:50 +02:00
ac-stef f4a4b843de engine tweak: quadrupling occlusion resolution without much computing effort
this patch gives the same occlusion resolution as NUMRAYS 2048, but still
maintains a table with only 512 entries
also, the 1536 additional rays start their search at the nearest already
found solid
2014-05-15 13:48:31 +02:00
ac-stef eb60302e67 cleanup
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
   up the mess himself)
- fix crash in substr
- whitespace cleanup

there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
Lucas GAUTHERON 8f3041de28 uninitialized variables in isoccluded fix, assumed to be treated as 0 (thanks SKB)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7507 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-07-20 13:40:43 +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
Lee Salzman 54cc44c3db revising pch setup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:42:37 +00:00
Lee Salzman 2f27cba52c isoccluded optimizations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4112 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 17:18:09 +00:00
Lee Salzman 280fe814f0 removed !ocull check from inner loop
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4111 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 15:32:59 +00:00
Lee Salzman 30fa16ed7f inline tweaks
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4106 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 14:55:46 +00:00
Lee Salzman 7363a42bf2 fixed dynfov culling bug
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2177 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-06-28 12:17:17 +00:00
driAn 9c3e74cbdf huge weapon-code cleanup (buggy!), pch, demo fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-24 21:38:53 +00:00
Lee Salzman 18750f7922 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@946 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-09 10:05:51 +00:00
Lee Salzman cd34a82291 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@884 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-02 03:32:23 +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 f41fe58279 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@645 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-13 21:01:30 +00:00
Lee Salzman 2a0dc62900 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@615 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-12 19:19:29 +00:00
Lee Salzman fefc21a9e6 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@483 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-06 12:44:53 +00:00
Lee Salzman 2c916e47e8 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-06 12:40:51 +00:00
Lee Salzman 1802cace77 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@472 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-05 17:41:27 +00:00
driAn 3d4ea805d3 no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@302 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-06-09 12:22:46 +00:00
driAn 8632edcc8f *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@285 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-04-27 19:44:12 +00:00
driAn c6e385ea38 This commit was generated by cvs2svn to compensate for changes in r13,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@14 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2005-06-23 21:57:56 +00:00