Commit Graph
7463 Commits
Author SHA1 Message Date
ac-stef d5bd896189 properly adjust texlists when deleting texture slots
check texlists during save (and print warning, if errors were corrected)

also add (undocumented) command to patch messed up texlists
2016-08-20 14:45:41 +02:00
ac-stef d48675911f fix too thin walls on several maps
one more too thin wall, on ac_shine at pos (87|163) can't be fixed
without visual changes

thx Robtics
2016-08-18 17:29:04 +02:00
ac-stef 9f284ac746 fix rendering error on ac_outpost 2016-08-16 23:09:15 +02:00
ac-stef c18306da1c fix buffer overread in jpeg encoder
for image resolutions not divisible by 8
pad with black area
2016-08-16 23:06:29 +02:00
ac-stef 0fd9603dcc switch to connected server in serverinfo display by pressing 'c'
one more undocumented feature :)
2016-08-16 23:03:45 +02:00
aurhat 862cb25adf Add config files to CB and VS projects 2016-08-15 14:09:11 +02:00
ac-stefandaurhat 158a33caed cleanup config files
* moved compatibility.cfg and autosave.cfg to config/opt/
* firstrun.cfg merged into defaults.cfg

DOCREF compatibilitymode alive currole curmode getclientmode curteam
DOCREF findpn pstat_score orderscorecolumns
2016-08-15 11:52:49 +02:00
aurhat 6a151001f4 Change name of VS project from cube to assaultcube 2016-08-15 11:52:39 +02:00
ac-stefandaurhat 46e659d4e0 fix rendering error on ac_desert 2016-08-15 11:52:29 +02:00
ac-stefandaurhat 938c2ccc87 fix pickup sound
hardwire armour sound for helmet - it's the same sound
2016-08-15 11:52:19 +02:00
aurhat 9eb0ec8177 Improve Visual Studio project 2016-08-15 11:51:46 +02:00
aurhat 4131a5a641 Add support for VS 2010
And drop support for VS 2008.
2016-08-15 11:50:58 +02:00
aurhat 9a309b78ac Update scripts for preparing Windows installer
Added windows batch file for portable use and removed batch without
profile directory.
2016-08-15 11:49:50 +02:00
ac-stef 7f9e2b19c9 fix glext command hanging without argument 2016-08-08 19:04:18 +02:00
ac-stef c96a983b65 fix edit selection height while grid is disabled
also: hide cleanshot helper scripts

DOCREF disablehud enablehud
2016-08-07 22:49:08 +02:00
ac-stef 27ebcdfeac fix dbgpos during spectating 2016-08-07 00:47:15 +02:00
ac-stef 6392527cb6 fix ktf indicator during spectating
also, disable ktf indicator during editing and enable damageblend, -roll
and -indicator during spectating

DOCREF ktfindicatoralpha
2016-08-07 00:26:29 +02:00
ac-stef 37ce06cd1c fix score calculation during spectating 2016-08-06 23:39:13 +02:00
ac-stef be4855cdcc show ktf indicator during reload 2016-08-06 00:57:52 +02:00
ac-stef 6b95708718 simpler damage indicator calculation 2016-08-05 16:27:41 +02:00
ac-stef 639067a003 add new ktf flag direction indicator
enabled by default, disable with "hidektfindicator 1"

DOCREF hidektfindicator
2016-08-05 16:26:24 +02:00
ac-stef 192a918844 add settings menu for crosshair effects 2016-08-05 13:33:28 +02:00
ac-stef f36c1661d8 less ugly screenshot type slider code
also: persistent
2016-08-05 01:42:02 +02:00
ac-stef 25d09990c8 fix accidental map changes
thx BrutalSystem
2016-08-04 22:38:02 +02:00
ac-stef ca0a868acd improve damageindicator
* now eight instead of four directions
* ignore self-inflicted damage
2016-08-04 22:01:12 +02:00
ac-stef 2fbbb04b76 move menu background texture to packages/misc
so that altering the menu background does not change maps that use it
as texture

packages/textures/makke/menu.jpg is being kept, because maps use it
2016-08-04 20:59:03 +02:00
ac-stef e9099965c1 fix render bug on ac_outpost
(easier to fix the map than to fix the renderer)

thx BrutalSystem
2016-08-04 20:54:53 +02:00
ac-stef 59d4f4d847 add embedded license information to all official maps
also add script to generate a summary map license file

new (undocumented) debug commands:
  loadmap <mapname>
    loads a map directly, easy to use from scripts

  debugline <filename> <text>
    writes text to file (no path names allowed)
2016-07-30 01:47:30 +02:00
ac-stef 0083c51b3b add menus to assign licenses to maps 2016-07-28 00:35:43 +02:00
ac-stef 611303b890 fix crash on failed write in writemapmodelattributes 2016-07-27 12:24:58 +02:00
ac-stef 3c2cac6121 simplify curmap command
no argument: just return the filename

DOCREF curmap
2016-07-27 12:23:56 +02:00
ac-stef a860cc58b0 add a map license and comment string to the map header
Two new string variables, mapinfo_license and mapinfo_comment, are stored
withing the header of a map file.

The variables are automatically read and written during loading and
saving maps. Default values are empty strings. The comment string is
ignored, as long as no license string is set. The license string is meant
to hold an abbreviated name of the license, picked from a list of
known map licenses.

DOCREF mapinfo_license mapinfo_comment
2016-07-26 15:41:40 +02:00
ac-stef 13ec9d692f strip embedded config files and optimise clip entities
* strip unused mapmodel, texture and sound slots from config files
* clip stair mapmodels with sloped clip entities
* remove double clipping

dev_douze has been replaced by a version from the AC 1.0 era, including
flag bases - but with no team spawns. Corners now utilise higher mips
where possible.

dev_stellar has not been optimised.
2016-07-25 23:06:21 +02:00
ac-stef a807716ecf convert official maps to format 10
* renamed (temporarily) to dev_*
* embedded all config files
* changed as many clip entities to tagged clips as possible

On ac_toxic and ac_venison all other clip entities also have been
optimised. Some bugs and unnecessary quirks on venison have been removed.

* toxic now uses 135 clipped entities (instead of 221)
* venison now uses 115 clipped entities (instead of 393)
2016-07-23 19:13:38 +02:00
ac-stef 112e3ad399 add tagclipped corner extension
new physics for tagclipped corner cubes:

* corners between non-solids: tagclips extend the corner
	 (visualisation does not reflect that, yet)
* corners between solids: fully clipped (like before)
2016-07-23 18:42:15 +02:00
ac-stef 7016cc81c8 fix display bug for texture previews
thx Robtics
2016-07-21 14:04:41 +02:00
aurhat c1e9daee1e Cleanup 2016-07-17 13:27:10 +02:00
aurhat 0b5180c628 Fix centring the 512x512 scope image 2016-07-03 13:19:52 +02:00
aurhat df0b0bbdfe Update docs.cfg
Compatible with tree in assaultcube.github.io for #4209cfe commit.
2016-06-19 13:03:28 +02:00
ac-stef 5fe69aa4b4 drop cube 1 media package support
Drop support for maps outside packages/maps and for package config files.
(never been used in AC anyway)

also: generate all map related filenames with proper path separators
2016-06-13 23:22:33 +02:00
aurhat 703d2413e9 Fix extension of files from zip config template 2016-06-12 16:24:25 +02:00
aurhat 8b798e0b9b Add .gitattributes file
Exclude unneeded files from "git archive" exports.
2016-05-28 21:46:31 +02:00
aurhat 1829ebff17 Improve settings for crosshairs
Also change resetmenu to resetcurmenu and some cleanups.
2016-05-22 23:06:24 +02:00
aurhat 3b0813412b Show on serverbrowser number of all players on the servers 2016-05-21 11:42:35 +02:00
aurhat baa24e0795 Show info about changing player only in multiplayer or demo mode 2016-05-10 22:00:05 +02:00
aurhat 35009a4eee Complete and change mapmodel config files
Added keywords and description.
2016-05-09 22:41:13 +02:00
ajonmuandaurhat 3b7e7b9027 Mapmodel config file changes
Added keywords and description. CRLF converted to LF.
2016-05-05 21:36:36 +02:00
ac-stef 32ffd3a4cd replace non-thread-safe functions
replace all uses of strtok, localtime, gmtime and readdir

on platforms without safe versions, use homebrew or unsafe...
2016-02-28 23:14:47 +01: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 d107aa3cd6 added mapmodel menus sorted by author and distribution
all generated automatically from mapmodel attributes

also:
* fixed typo in model config
* concatuniq now works fine with spaces
2016-02-13 18:52:18 +01:00