100 Commits
Author SHA1 Message Date
aurhatandaurhat 4aa520515c check more map parameters 2021-10-04 22:41:36 +02:00
aurhatandaurhat 45180a73dc Fix setting the player skin 2021-03-28 14:35:09 +02:00
aurhat 2f61ff92d3 Fix number of downloaded packages 2021-03-08 00:39:13 +01:00
aurhatanddrian b8b0eb96bd Hide spectator reflection and fix moving in 3rd person perspective
Earlier in third person perspective:
1. reflection of the spectator (player1) was visible on the water (at least
after full cycle of spectate mode switching);
2. it was possible to move position of the invisible spectator's (player1)
ghost, although he should be attached to spectated player. Bug was visible
on the water (the reflection moved) and in some cases on minimap - when
player executed "spectate" and later "spectatemode 1", then camera stayed
in the same position, but player position changed.

Thanks BrutalSystem
2021-02-15 05:29:36 +01:00
aurhatanddrian 973e1fa87c Fix blinking in menu
Thanks BrutalSystem
2021-02-15 05:25:41 +01:00
aurhatanddrian f1eb081383 Fix water blinking
Blinking was good visible and annoying in edit mode, for example for
alpha=255. Backport from Sauerbraten.
Thanks BrutalSystem
2021-02-15 05:22:22 +01:00
aurhatanddrian e26af31d46 Hide damage indicator when different spectated player is followed
Also reset damage indicators on spawn.
2021-02-14 20:04:32 +01:00
aurhatanddrian 01c5c98328 Fix flag icon displaying on the radar 2021-02-14 20:03:14 +01:00
aurhatanddrian db18caba16 Fix grenade icon alignment for enabled oldfashionedgunstats
Now, if oldfashionedgunstats is enabled, then ammo stats > 99 won't collide
with grenade icon on modern monitors with aspect ratio > 1.5 . It will
collide still on older monitors, because of lack of the free space on HUD.
2021-02-14 19:46:14 +01:00
aurhat 4ce73125c2 Upgrade SDL2 to v. 2.0.14 2021-02-06 17:10:53 +01:00
aurhat 8bb1aba638 Fix warnings for gcc 9.3 2020-11-03 22:15:34 +01:00
aurhat 2ecb3646e1 Fix warning for clang 10 2020-11-03 12:52:37 +01:00
aurhat 5d7035a14b Fix libpng 1.6 warnings
AC printed "libpng warning: iCCP: known incorrect sRGB profile" for PNG
images with incorrect profile. To fix it the iCCP chunk was removed from
the images, using the command: mogrify file.png
2020-11-02 22:42:00 +01:00
aurhat 9b41c110c6 Fix clang warnings and crashes 2020-11-02 22:42:00 +01:00
aurhat c2e09cac76 Abide by the rules for reference objects
It fixes crashes on certain maps (also official).
It bases on 3ec0b1218d
2020-11-02 22:42:00 +01:00
aurhat ae65a64828 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

It bases mainly on 98d01d1f34
2020-11-02 22:42:00 +01:00
aurhat 05003f9238 Update readme 2020-07-19 14:20:25 +02:00
aurhat 98922de3b2 Fix libpng 1.6 warnings
AC printed "libpng warning: iCCP: known incorrect sRGB profile" for PNG
images with incorrect profile. To fix it the iCCP chunk was removed from
the images, using the command: mogrify file.png
2020-06-21 09:08:11 +02:00
aurhat 8813521fad Replace *.ac-akimbo.net pck servers by packages.cubers.net 2020-02-02 08:35:19 +01:00
aurhat a6a8292c87 Remove remnants of Keys menu in the launcher for Mac 2020-01-26 13:53:33 +01:00
aurhat 6d5d0ff59c Upgrade SDL2 to v. 2.0.10 and SDL2_image to v. 2.0.5 2020-01-26 13:53:05 +01:00
aurhat 479df61060 Upgrade Ogg and Vorbis frameworks from SDL2_mixer v. 2.0.4 2019-01-12 23:47:03 +01:00
aurhat bd55b17292 Upgrade SDL2_image library to v. 2.0.4 2019-01-12 23:46:55 +01:00
aurhat 3478605cd1 Upgrade SDL2 library to v. 2.0.9 2019-01-12 23:46:35 +01:00
aurhat f58ea22b46 Replace *.ac-akimbo.net pck servers by packages.cubers.net 2018-05-20 12:26:21 +02:00
aurhat 6ded50464d Upgrade SDL2_image library to 2.0.3 version
Note: SDL2_image.lib, zconf.h, zlib.h, have no changes.
2018-05-04 11:21:18 +02:00
aurhat 5ee4d970fe Upgrade SDL2 library to 2.0.8 version 2018-05-04 11:18:48 +02:00
aurhat c565139b17 Improve installer for Windows 2018-05-02 17:00:44 +02:00
aurhat 11efe9f883 Update Ogg and Vorbis frameworks
Taken from SDL2_mixer v.2.0.2
2018-02-10 11:28:51 +01:00
aurhat 7da7efcbd8 Upgrade SDL2_image library to 2.0.2 version 2018-02-10 11:28:51 +01:00
aurhat 61170c787f Upgrade SDL2 library to 2.0.7 version 2018-02-10 11:28:50 +01:00
aurhat b19a761347 Workaround for travis-ci/travis-ci#8317 2018-02-10 11:28:50 +01:00
aurhat a720a98faa Fix looking up on Mac using SDL 2.0.6 framework 2018-02-10 11:28:50 +01:00
aurhat a06c939405 Upgrade SDL2 library to 2.0.6 version 2018-02-10 11:28:50 +01:00
aurhat e2bb588807 Update Xcode project 2018-02-10 11:28:50 +01:00
aurhat bf733615f7 Update Xcode project to SDL2
Used original 64-bit frameworks: SDL2 v.2.0.5, SDL2_image v.2.0.1,
and from SDL2_mixer v.2.0.1: Ogg v.1.3.1 and Vorbis v.1.3.3.
For potential custom compiling AC for 32-bit Mac there will be needed
self-compiled 32-bit frameworks.
Launcher has to be compiled as 32-bit, otherwise it won't start
nowadays.
2018-02-10 11:28:49 +01:00
aurhat 8b144afb4e Upgrade VS project to SDL2
Used SDL2 v. 2.0.5 and SDL2_image v. 2.0.1
2018-02-10 11:28:49 +01:00
aurhat 9f537b0876 Fix unquoted semicolons
Thanks Robtics
2018-01-27 09:35:07 +01:00
aurhat f53f110926 Fix crash in client compiled in CB 17.12 on Windows
It happened for -O3 compiler flag.
2018-01-27 09:35:07 +01:00
aurhat 4cbc4ab7dc Improve installer for Windows 2017-12-12 21:31:46 +01:00
aurhat c9d9b752a1 Update scripts for preparing Windows installer
Also cleanup
2017-11-25 03:06:06 +01:00
aurhat a9c73cb50b Update docs
Compatible with the tree in assaultcube.github.io for #49dacb0 commit.
2017-11-25 00:43:47 +01:00
aurhat 7cc454c11a Define working directory in VS project 2017-11-19 13:34:34 +01:00
aurhat 830f8c0cf7 Cleanup
Thanks DADSGETNDOWN for the report for maps/mapmodel configs.
2017-11-18 14:04:59 +01:00
aurhat d3bd26a62d Fix animation during quicknadethrow attack
1. Before animation of the moving hand for throwing the grenade was cut,
now it's complete, like for normal grenade throw. To do that the code for
switching to previous weapon has changed location. selectweapon() isn't
used there, because if player has more grenades than 1, then after a throw
for a moment a grenade appeared in a hand, and just later previous weapon.
2. The changed code in quicknadethrow() prevents from shooting using right
mouse button, after starting to shoot quickly after grenade throw
(especially when player has more grenades than 1).
3. Also fixed resetting the "quicknade" variable.
2017-10-15 13:49:53 +02:00
aurhat 6ea3c499ce Remove involuntary shooting when switching weapons
It happened in case of automatic weapons.
2017-10-15 13:33:46 +02:00
aurhat d841896e7b Fix shooting during picking up akimbo
It prevents from shooting using right mouse button, when grenade was
activated and player picks up akimbo.
2017-10-15 13:29:50 +02:00
aurhat 4c2c511105 Fix grenade throwing when switching weapons
It fixes the problem that activated grenade disappeared during switching
the weapons, when player tried to throw grenade when time for grenade
cooking was almost finished.
2017-10-15 13:25:42 +02:00
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
aurhatandac-stef 3728773ec0 Remove akimboautoswitch
The problem is, that some players (especially SMG users) got on purpose
akimbo with intention to not use it, only in order to others don't get it.
Such behaviour is directed "piggishly" against other players and
impoverish the game/gameplay.
Now, if people don't want to use some akimbo, they should just to not
get it, for example jump over it.

DOCREF akimboautoswitch
2017-06-27 15:15:25 +02:00
aurhatandac-stef 69d8304315 Fix akimbo damage 2017-06-27 15:15:25 +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