Commit Graph
28 Commits
Author SHA1 Message Date
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 ea480a7b0c higher resolution for waterlevel
Interpret the waterlevel value as tenths of a cube.

This makes the waterlevel variable a float value to the user, while the
map file still stores an integer value - but now it is interpreted
differently - for example, a waterlevel value of 123 now means 12.3 cubes
instead of 123. Old map files are converted during loading.

Note: the values of waterlevel and hdr.waterlevel need to be in sync.

DOCREF waterlevel
2015-05-18 14:59:41 +02:00
ac-stef 0dbaddd344 engine tweak: cleaned up worldrender 2014-05-15 13:48:31 +02:00
ac-stef a37d437a2f nicer mipstat display
* display mistats in the hud instead of having them flood the console
* added display of 8x8 mips, just to show that they are possible

press F6 in editmode to see the difference
2014-05-15 13:48:30 +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
ac-stef e69a94cdd8 loop optimizations
also cut some overshooting lines
2014-01-31 00:53:12 +01:00
ac-stef d258b7c186 less annoying visualisation for tagclips
- press B to get the former filled volume view
- raise the value of tagnumfull to get both views simultaneously
- cubescript parameters should be cleaned up before release
2014-01-30 19:38:41 +01: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
Lucas GAUTHERON d3c8df87bf map overview spectate mode ?
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6425 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-05-14 12:12:28 +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 f1a6345d20 render_seg_new optimizations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4116 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 23:27:46 +00:00
Lee Salzman 47a5c4f7f3 stripify walls
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4114 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 22:18:39 +00:00
Lee Salzman 4d6ffecf29 reorganized sqr storage for better cache usage
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4113 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-01-04 18:42:09 +00:00
Lee Salzman b2811e4893 faster reading of world structure
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2655 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-09-17 01:42:40 +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 3f200a7009 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@932 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-06 08:59:50 +00:00
Lee Salzman d7d2daa922 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@887 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-04-02 06:04:04 +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 4b1d304312 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@754 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-30 19:31:56 +00:00
Lee Salzman fd80b610d9 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@634 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-13 03:40:21 +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 30460a0aad *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@544 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2006-11-08 18:54:20 +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
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 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