Kyle Bradley
73aea2426b
Style fixes
2021-03-17 00:33:48 +02:00
Kyle Bradley
4afe62a596
Updated to include penalty, cooldown and timeout
2021-03-17 00:31:16 +02:00
Zwelf
9daf1274a4
Rename save/load to conform to the code style
2021-02-16 18:15:50 +01:00
Zwelf
a3702e8314
Inform player about possibility to keep the hook when loading
...
Message is displayed when saving with an active hook
2021-01-23 16:49:50 +01:00
Alexander Akulich
e34f268bed
Make CSaveTee and CPlayer not friends anymore
2021-01-16 03:20:57 +03:00
Alexander Akulich
f16937b361
gamecontext.h: Remove unused player.h include
...
See the upstream commit 24bda2faa0
2021-01-10 14:25:12 +03:00
Alexander Akulich
164cb9907a
player.h: Remove unused character.h include
...
See the upstream commit 24bda2faa0
2021-01-10 14:25:12 +03:00
Zwelf
72455ed32d
Fix use of uninitialized variable during /load of old saves
2020-12-28 18:02:43 +01:00
Zwelf
81131c7831
Fix grammar mistake
2020-10-19 15:23:48 +02:00
Zwelf
6d11c34d63
Load game UUID on /load
...
Fixes #2522 and #3144
2020-10-19 15:21:23 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Zwelf
52af88826c
Allow switching weak/strong with saving and loading
2020-08-13 16:19:07 +02:00
Zwelf
5b53a05a40
Rename LoadString to FromString to fix windows build
2020-08-09 17:14:11 +02:00
Zwelf
17bb4522fc
Fix erroneous "unable to find all characters" message
2020-07-02 16:34:36 +02:00
Zwelf
9e43f8d483
Add CCharacter::m_ReloadTimer to save
2020-06-30 23:49:40 +02:00
Zwelf
839fd08d6a
Check if player still in team when loading hook
2020-06-30 20:13:45 +02:00
Zwelf
7427e41959
Keep hook when loading
2020-06-30 18:09:26 +02:00
Zwelf
f2b5abb1fb
Keep weak/strong when reloading
2020-06-30 17:52:55 +02:00
Zwelf
949d710597
Fix wrong indention
2020-06-30 17:52:55 +02:00
Zwelf
c9f8cc99b1
Stop searching when player was found
2020-06-30 17:52:55 +02:00
def
3530d0ae32
Set rescue tee immediately after loading ( fixes #2248 )
2020-06-24 21:19:46 +02:00
def
252cda2d49
Use str_comp instead of strcmp
...
error: ‘strcmp’ was not declared in this scope
2020-06-22 14:47:49 +02:00
Zwelf
e9242f45f1
Thread safe /load
2020-06-15 11:14:15 +02:00
Zwelf
031ac52320
Thread safe /save
2020-06-15 11:14:15 +02:00
Zwelf
0891a0fd51
Remove some unnecessary header includes
2020-06-15 10:59:59 +02:00
Zwelf
7146eb572b
Save error handling clean up
2020-06-15 10:59:46 +02:00
def
e1849ad1bb
Implement /practice for teams
...
As discussed on Discord today, can be enabled inside of teams on the fly
during each run on any server. Finishes don't count. I haven't tested
save/load yet, would do that live on the server if this can be merged.
2020-05-27 17:33:26 +02:00
Zwelf
fab1cde94e
Rename variables for consistency
...
The following member variables:
* m_name to m_aName
* m_String to m_aString
* m_CpCurrent to m_aCpCurrent
* m_Switchers to m_pSwitchers
* SavedTees to m_pSavedTees
2020-05-26 21:49:58 +02:00
Zwelf
8bdf41c1b5
Break save/load string into multiple lines
2020-05-21 18:04:15 +02:00
Zwelf
61787168a6
Rename aGameUuid to m_aGameUuid for consistency
2020-05-20 22:22:02 +02:00
def
7ae8988dd0
Don't load m_Ammo to fix loads (following #2086 )
...
As reported by Konsti, thanks to heinrich5991 for remembering #2086
2020-05-01 23:51:01 +02:00
Learath2
ec42ce88f6
Change command name, refactor error handling
2020-02-13 17:04:58 +01:00
Ryozuki
b58037f31e
fix the telegun save
2019-08-19 10:35:37 +02:00
Learath
5d4461981a
Fix solo bug
2019-04-23 19:46:51 +03:00
def
e27679ebcc
Remove some code duplication in CSaveTee::LoadString
...
by using a switch-case with fallthroughs
2019-04-06 20:28:47 +02:00
Ryozuki
52b58c3d5b
final fix
2019-04-06 18:38:25 +02:00
Ryozuki
69fd7f1767
fix and add gameuuid
2019-04-06 18:37:25 +02:00
Ryozuki
fb398ebcbf
better this way
2019-04-06 18:19:56 +02:00
Ryozuki
beeda4d7bb
fix warnings
2019-04-06 18:18:46 +02:00
Ryozuki
b92b2f1878
save telegun on /save
2019-04-06 18:13:11 +02:00
Dennis Felsing
f83a9be610
Sneaky code (TODO: Also mark 708?)
2018-12-17 14:55:58 +01:00
eeeee
9b6699d3b8
remove casts to CServer
...
improving encapsulation by going through the interface instead of including engine/server/server.h
2017-06-05 20:51:12 -07:00
def
1b2a85af58
Fix m_Jumped loading
2017-05-24 20:23:54 +02:00
def
819187f376
Fix unweapons
2017-05-18 20:01:10 +02:00
def
7e7d56048b
New try at loading in team only
2017-05-17 22:30:13 +02:00
Dennis Felsing
666d1585b7
Fix crash on invalid pause state in save
2017-05-16 17:02:28 +02:00
def
f4112e3bcb
Revert "Tees must be teamed up before loading"
...
This reverts commit d29f2306ef
.
2017-05-14 22:36:44 +02:00
Dennis Felsing
278b17b460
Merge pull request #721 from Learath2/dd_pr_pause
...
Rework the pause system
2017-05-14 11:55:09 +02:00
Learath
d29f2306ef
Tees must be teamed up before loading
2017-04-11 21:18:26 +02:00
Learath
95690a1cf7
Reimplement sv_pause_frequency
2017-04-09 01:16:48 +02:00