Commit Graph
100 Commits
Author SHA1 Message Date
aurhat 1d7dd9df84 Cleanup 2017-10-15 12:14:20 +02:00
aurhat 3e59a6305e Add grenade state of clients
For example that fixes grenade attack animation, when in demo mode player
is spectated from 1st-person position. Till now there were visible
2 incomplete movements of the hand for throwing - first after activating
a grenade, second during throwing. Now there is visible one complete
movement, like in multiplayer.
2017-10-11 00:21:26 +02:00
aurhat 07d8d7657a Remove attack animation of clients during grenade activation 2017-10-09 20:09:42 +02:00
aurhat 323d8e8dd4 Fix rising of fly spectator 2017-09-19 22:41:53 +02:00
aurhat eec68e3253 Fix eyeheight during 3rd-person spectating
During 3rd-person spectating eyeheight of player1 was decreased sometimes
from "above head" of spectated player to his eyeheight.
2017-09-19 22:15:57 +02:00
aurhat a8a7987b8f Disable AR crosshair increasing during spectating
Because shots in a row are calculated only for local player.
2017-09-11 23:49:31 +02:00
aurhat 803517e2ef Improve maps menus
Map message moved on the right.
2017-09-04 22:49:01 +02:00
aurhat 87555d774a Update docs
Compatible with tree in assaultcube.github.io for #68e4c1b commit.
2017-07-19 21:13:00 +02:00
aurhat dbaff25341 Cleanup akimbo code 2017-06-11 01:15:53 +02:00
aurhatandac-stef 71a75a9dce Update keyboard menus 2017-05-24 02:09:09 +02:00
aurhat e126faef15 Cleanup 2017-05-21 22:08:04 +02:00
aurhat 8bc1a0121b Display description of references in menu footer 2017-05-21 21:43:33 +02:00
aurhat 782a885289 Fix and improve menu with keyinput items
1. Added background to description of selected keyinput item.
2. Added warning to menu footer, when user tries to bind already bound key.
3. Cleanup, fixed background color in description of selected active
menu items, when "menuitem" is absent in the menu.
2017-04-22 16:14:35 +02:00
aurhat 682c3b7425 Add number of pages in menu 2017-04-05 21:30:05 +02:00
aurhat 75e7481532 Play pull sound, when other players activate grenade 2017-03-28 21:53:40 +02:00
aurhat 419f667c0d Fix player model attack animations
Fixed animation of other players during following activities:
1. during jumping and attack - show attack animation;
2. during weapon reloading - don't show attack animation;
3. during grenade activation - don't show attack animation.
2017-03-21 23:50:45 +01:00
aurhat 0525981799 Limit docskip to doclines offset and reset it when docs disappears 2017-03-20 22:44:18 +01:00
aurhat 0c75b8ef4b Execute action after pressing Enter in menu text field 2017-03-20 22:42:21 +01:00
aurhat 4d2d326136 Cleanup 2017-02-18 22:40:07 +01:00
aurhat 7ca26bc458 Change limit of chars in server name used by sbconnect 2017-02-12 21:31:00 +01:00
aurhat da2d3ef4cc Update packaging/releasing resources/informations 2016-12-27 19:24:49 +01:00
aurhat ab43f7acd5 Add command to return CN of spectated player
Also cleanup and added key shortcut to "whois" spectated player
(bound to "I" by default).

DOCREF spectatecn
2016-12-25 22:47:50 +01:00
aurhat 1663179a63 Update OpenAL-Soft library to v 1.17.2 2016-12-25 19:48:07 +01:00
aurhat ee7f75cc10 Add menu for spectate mode key binds 2016-11-29 20:10:35 +01:00
aurhat 55142cbe41 Add transparent 32x32 icon to AC window
It bases on .../docs/images/icon.png from AC website repository,
just removed empty space, edges changed to more noticeable.
Note: on Mac an icon from assaultcube.icns is used.
2016-11-19 18:19:45 +01:00
aurhat e52c7b4e6e Fix warnings in Xcode 2016-10-25 20:43:39 +02:00
aurhat 7c27ddd167 Update Xcode project
Note: in InfoPlist.strings there is current AC version.
2016-10-25 20:32:00 +02:00
aurhat 9849a73c26 Backport SDLmain files from SDL 1.2.15 for Xcode
Important: always custom code should be added to disable
error sounds because of SDL_ENABLEAPPEVENTS - after keys
pressing (see code below "ADDED SO IT DOESN'T BEEP BECAUSE
WE ENABLE SDL_ENABLEAPPEVENTS" comment).
2016-10-25 20:27:12 +02:00
aurhat eae2625f7c Add dev SDL 1.2.15+ framework for Mac only
Note: the last commit is from 07.09.2016:
http://hg.libsdl.org/SDL/changeset/0c1a8b0429a9
2016-10-25 20:24:25 +02:00
aurhat 507394fde9 Improve existing and add some new mapmodel definitions 2016-10-22 00:12:48 +02:00
aurhat c71420897e Update docs.cfg
Compatible with tree in assaultcube.github.io for #fe8b126 commit.
2016-10-14 22:52:45 +02:00
aurhat 72dfcd73fe Cleanup
"showminremain" enabled by default, "fovcompat" removed.

DOCREF showminremain fovcompat
2016-10-14 21:49:53 +02:00
aurhat 1d91e49bbe Add high-res player skins
Thanks protox aka PrimoTurbo, the author of the high-res player skins:
http://primoturbo.deviantart.com/art/AssaultCube-Protox-HQ-Reskin-202784715

High-res player skins are added in mod zip package.
They are disabled by default.
2016-10-10 15:57:15 +02:00
aurhat 923feb249a Add detection and setting resolution as in desktop
Partially the code is ported from Sauerbraten.
Commit changes also menu items in Display resolutions menu.

DOCREF setdesktopres
2016-10-08 20:40:19 +02:00
aurhat 3c5012e768 Don't check collision during spectating in 1st person view
It fixes the problem, that during spectating in 1st person view,
when spectated player collided (for example with wall) and crouched,
then his crouches weren't visible for player1.
2016-10-08 20:19:57 +02:00
aurhatandac-stef 4858e9db75 Fix displaying stats of previous weapon on the HUD
Earlier if player held grenade in the hands and other player
connected to server and started to spectate him, then this second
player always saw assault rifle stats on the HUD as previously
selected weapon. It happens, because new client doesn't know, what
was previous weapon of players on the server, which didn't switch
yet weapon after its connection, so GUN_ASSAULT is set by default.
So if first player used for e.g. sniper rifle, then displayed ammo
stats were 0/0. Now then are displayed stats of primary weapon.
2016-10-08 17:17:37 +02:00
aurhatandac-stef ab27d952d6 Adjust in-game menus
Introduced common parts of In-game and In-game admin menus, fixed showing
player skin in In-game admin menu (thx BrutalSystem).
2016-10-01 22:03:55 +02:00
aurhat 9e521dfd4a Fix setting random skin of RVSF bots
Also improve assignment bots to teams.
2016-09-17 18:25:33 +02:00
aurhat 9c964d95b4 Improve converting paths in pre v.1.2 map configs
The script converted paths only when "mapmodel" or "texture"
strings were at beginning of the lines, now that is changed,
in order to paths will be converted also in, for example,
commented out lines.
Also changed name of the script to more proper.
2016-08-29 23:21:43 +02:00
aurhat 2d55d5dc2a Cleanup new_content map
Fixed paths to models, adjusted map message, map saved
in format 10.
2016-08-27 20:23:38 +02:00
aurhat caa62a1214 Add shortcut in Start menu to profile folder
Also cleanups
2016-08-27 15:29:44 +02:00
aurhat 862cb25adf Add config files to CB and VS projects 2016-08-15 14:09:11 +02:00
aurhat 6a151001f4 Change name of VS project from cube to assaultcube 2016-08-15 11:52:39 +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
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
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
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
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
aurhat 4607af6438 Change IRC server in Travis settings 2015-10-20 22:30:34 +02:00
aurhat 747763fdf7 Show flag scores in "death camera" state 2015-10-20 21:57:16 +02:00
aurhat cf554261b9 Update licensing informations 2015-10-13 20:24:23 +02:00
aurhat b06a5209e3 Add background to description of active menu items
DOCREF menuselectiondescbgcolor
2015-09-21 20:36:12 +02:00
aurhat fa047595b6 Add header to alternate views in serverbrowser
Also clean up SEARCH category.
2015-09-21 20:33:50 +02:00
aurhat cbddcf05cf Add searching for map and demo in menu
Searching is by map/demo names and descriptions (also custom descriptions,
in case of demo).

DOCREF menudirlist
2015-09-21 20:29:15 +02:00
aurhat 6268f5c118 Remove/adjust dependencies on Windows 2015-09-20 13:13:01 +02:00
aurhat 07ad1cedda Update xcode project - replace libcurl 2015-09-20 01:28:19 +02:00
aurhat 6c99a9d2a3 Show "whois" info in one line 2015-09-18 21:27:16 +02:00
aurhat 7bba47a0dd Show on minimap indicative arrow at editing local player 2015-09-12 12:52:27 +02:00
aurhat 03a39feab8 Don't show players outside of map on minimap
When client connected to server (or started to play demo), where there was
a player dead since this client connecting, then position of the player
on minimap (and radar) was displayed wrongly outside of the map, sometimes
for the whole match. Now such positions will be hidden.
2015-09-08 15:09:24 +02:00
aurhat 2fb111adf4 Fix wall clock with 12h format
Stock strftime doesn't use capitalized "P", so for example on Windows
the wall clock didn't appear for 12h format. PM and AM are converted
to lowercase.
2015-09-08 01:05:54 +02:00
aurhat b7643a5200 Remove obsolete dependency on wldap32
wldap32 was linked to removed libcurl, so it's unnecessary now.
2015-09-08 01:05:54 +02:00
aurhat f10342fa80 Improve game time and wall clock display
1. Counting backward for gametimedisplay = 1 and forward for 2. The setting
added to HUD menu.
2. Changed name from clockdisplay to gimetimedisplay, in order to
distinguish clocks with system time and game time.
3. Added to wall clock options with UTC/GMT time and 12h format.

DOCREF clockcount clockdisplay gametimedisplay
2015-09-06 22:09:00 +02:00
aurhat 3456304702 Fix formatting of menu footer in second and next lines
In second and next lines server description lost formatting, so also
colors, and it could be cut.
Now text in footer will be also divided by spaces, and not characters
(not applicable in case of long continuous strings).
2015-08-22 13:54:56 +02:00
aurhat c27e5e05d2 Fix displaying LAN servers
LAN servers should be always visible, when user opens serverbrowser with
LAN servers only. And don't allow to switch from there to alternate views,
because for searchlan = 2 it doesn't make sense.
2015-08-22 13:50:20 +02:00
aurhat cf2a8018ff Fix colour of team messages in non-team mode
When spectator will send in non-team mode a message in team chat, then
other spectators will see it in blue colour - earlier was wrongly green,
like for normal chat.
2015-08-17 22:07:06 +02:00
aurhat 3a4edff826 Cleanup
Among other things it fixes masterserver compiling.
2015-08-16 16:44:18 +02:00
aurhat 673286d25b Fix custom packages downloading on Windows 2015-08-16 16:44:04 +02:00
aurhat 24043589fc Improve setadmin
Don't kick, when player typed "setadmin 1" without any password.
2015-08-16 16:43:46 +02:00
aurhat 62072d9887 Update Code::Blocks project for Windows 2015-08-16 15:27:23 +02:00
aurhat 798b0a6582 Fix camera1 after player disconnection
When player1 spectated alive player and this watched player disconnected,
then camera1 pointed out still this non-existing player, for one main loop.
It had such negative effects, that hudgun could disappear to AC restart,
also AC crashed sometimes.
Tested mainly in tosok, on last alive player in a team.
2015-08-16 14:18:21 +02:00
aurhat 6605a20e00 Add a wall clock with local time
It uses strftime formatting from "wallclockformat" alias.

DOCREF wallclockformat
2015-08-06 21:08:46 +02:00
aurhatandac-stef ac32f7e2f7 Remove outdated gettext dependencies 2015-08-03 20:58:00 +02:00
aurhat b2845b7c15 Improve "clean" screenshot
The parameter of blankouthud is "frames", so for example 1000 will take
20 seconds at 50 fps or 1 second at 1000 fps.

DOCREF blankouthud
2015-08-01 22:17:40 +02:00
aurhat 47485bea24 Add rewind menu 2015-07-28 22:17:32 +02:00
aurhat 577d6a00d2 Fix arenaintermission reset
Arenaintermission was reset only after own spawn, now it will be reset
also during being in team spectator (in multiplayer or demo mode).
2015-07-16 23:13:05 +02:00
aurhat 54c09b8c48 Remove/adjust gibnum in preset gfx settings 2015-07-15 21:58:36 +02:00
aurhat 5df5fec352 Reorder and cleanup gamma settings
Remark: "gamma" command changes gamma only temporary, to next map start.
2015-07-15 21:57:44 +02:00
aurhat 048e951a38 Update .gitignore's 2015-07-15 21:57:05 +02:00
aurhat 297b5c69f8 Improve audibility of sounds
It's solution for missing hit/shot/etc. sounds:
1. decrease priority of ambient sounds to low, in order to hear more
non-ambient sounds with priority greater than low;
2. increase amount of sound channels to hear more sounds. Newer sound
cards on PC should be able to use more channels than only 32;
3. improve preset sound settings.

Remark: after these changes for default value of mapsoundrefresh (10)
break in playing ambient sounds, caused by playing sounds with greater
priority, isn't practically audible. The break is audible for greater
value, for example for mapsoundrefresh=1000.
2015-07-15 21:56:15 +02:00
aurhat f8d4e1b769 Show flag icon in scoreboard at flag carrier 2015-07-04 22:19:39 +02:00
aurhat ea067d54cb Add radaricons font 2015-07-04 22:17:47 +02:00
aurhat ea5e947052 Allow to switch in intermission from DEATHCAM to other SPECT modes 2015-07-04 11:31:49 +02:00
aurhat 9c0f99f2a1 Cleanup
Remarks:
1. Changed order in keycmds lets to keep alphabetical order in saved.cfg .
2. Earlier long information in docs about arguments of command could be
invisible for low aspect ratio (example: "weapon" command), now it's fixed.
2015-07-04 11:30:58 +02:00
aurhat d82b54de7e Show CN on HUD, if name of spectated player is a duplicate 2015-06-23 20:03:00 +02:00
aurhat 0197cea1ea Fix initial values of botsshoot and idlebots
Before values of botsshoot and idlebots were showed wrong, when bot mode
wasn't earlier triggered, and later these values were overwrote after
start of bot mode (thx harps).
2015-06-21 10:36:36 +02:00
aurhat c1b10536c6 Don't duplicate bot names (almost) 2015-06-21 10:36:19 +02:00
aurhat dc1b920820 Cleanup bot code (server related) 2015-06-21 10:36:08 +02:00
aurhat 9613098697 Cleanup bot code 2015-06-21 10:34:07 +02:00