ac-stef
612a6291f1
new command sortmapmodelslots
...
* sorts all mapmodel slots alphabetically
* combines (merges) slots with the same model and parameters
DOCREF sortmapmodelslots
2016-08-22 15:08:20 +02:00
ac-stef
a8c06d1510
new command sorttextureslots
...
* sorts all (but the first five) slots alphabetically
* combines slots with the same texture and scale factor
DOCREF sorttextureslots
2016-08-22 15:08:20 +02:00
ac-stef
4df01cbd06
fix restoring xmaps
2016-08-22 15:08:20 +02:00
ac-stef
71132e3d35
escape dollar chars in strings
...
not escape the char, but trigger the quotes, actually
2016-08-22 15:08:20 +02:00
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
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-stef and aurhat
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-stef and aurhat
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
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
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
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
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
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
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
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
535b9df746
define gamemode bitmasks
2016-02-07 18:34:32 +01:00
ac-stef
7f86ae8d9f
new command getclosestent
...
getclosestent
Returns the entity index number of the closest entity (or of the
pinned entity, if one exists). Returns -1, if no entities are on the map.
Returns always exactly the entity, that edit commands like delent
will use next.
DOCREF getclosestent
2016-02-07 18:34:32 +01:00
ac-stef
ecf178866e
new command addentity
...
addentity <type>
Adds an entity of the specified type at the current camera position
and returns the index number of the new entity, so that the other
attributes can be set by editentity.
DOCREF addentity
2016-02-07 18:34:32 +01:00
ac-stef
697197bd5b
generalise sorting of lists of integer sets
2016-02-07 18:34:31 +01:00
ac-stef
4da510f51d
fix http line recovery
...
this fixes the reconnect attempt after a http tcp connection was lost
2016-02-07 17:36:03 +01:00
aurhat
730b0ed7ee
Fix state of player1 during watching a demo with arena mode
...
That fixes switching to edit mode during demo watching.
Also some minor fix added.
2016-01-17 22:18:59 +01:00
aurhat
e4d5c2d361
Improve accuracy info and some elements of the HUD
...
Accuracy will be displayed only then, if scoreboard will be enabled, and
only for current weapon - in order to focus attention of players more on
gameplay/work for team than personal stats.
Added "accuracyinfo" command to see accuracy of all used weapons in
output console.
Added some cleanups and fixed memory leak.
2015-12-31 22:57:16 +01:00
aurhat
cc2ac85dd5
Improve order of displaying on HUD
...
Now command console over hudmessages, hudmessages over flag icons/scores
and player's stats.
Also fixed length of the line in command console.
2015-12-13 22:10:30 +01:00
aurhat
957f1e49ca
Cleanup
...
Note: abbreviation of minutes and seconds in HUD messages in ktf is
needed, because for 5:4 aspect ratio messages could not fit in display.
2015-12-13 22:08:16 +01:00
ac-stef and aurhat
1917a07dfa
fix flag visibility for htf on maps without bases
...
- fixes issue #140
- also removed some stale debug code
2015-12-12 22:22:01 +01:00
aurhat
99ee7d10ef
Change user data path for the dev version on Mac
...
Also one more directory level.
2015-11-16 21:03:48 +01:00
gy_be
5d1a9cac19
Fix a memory leak in command.cpp
...
Do not forget to free command name and its arguments if
it's not allowed in current execution context.
2015-11-09 10:20:24 +03:00