Commit graph

2317 commits

Author SHA1 Message Date
smallmodel
d3a4407391
Make sure to not service a view event if the first responder is NULL 2023-12-28 13:04:29 +01:00
smallmodel
395c16ce24
Fixed bind label selection 2023-12-28 12:50:40 +01:00
smallmodel
f7accc01ad
Fixed bind selection and highlight 2023-12-28 12:47:27 +01:00
smallmodel
3733154e63
Fixed alternate binding not working properly 2023-12-28 01:29:46 +01:00
smallmodel
2ef95ddba9
Fixed improper binding and text location 2023-12-28 01:29:33 +01:00
smallmodel
043f8cba22
Implemented UIFakkBindList and UIFakkBindListLabel 2023-12-28 01:12:43 +01:00
smallmodel
09ab172630
Added UIBindButton events 2023-12-28 01:12:19 +01:00
smallmodel
c23a182bec
Added bindlistener events 2023-12-28 01:11:17 +01:00
smallmodel
c321470382
Implemented CL_LoadBind 2023-12-27 22:53:49 +01:00
smallmodel
932bdd402c
Implemented UIBindButton 2023-12-27 22:47:01 +01:00
smallmodel
3692671f49
Implemented bind_t and bindlistener 2023-12-27 20:19:58 +01:00
smallmodel
1cd4c35a79
Bumped version number 2023-12-27 18:54:57 +01:00
smallmodel
c0f7a48649
Formatted ui source files 2023-12-27 18:54:20 +01:00
smallmodel
c1258f160b
Do not clear sv_fps cvar when restarting/switching map 2023-12-27 18:43:37 +01:00
smallmodel
830cbe7af2
Fixed issues with animation when sv_fps was above 20 2023-12-27 18:04:41 +01:00
smallmodel
4eb83c0766
Fixed weapon attachments not being detached 2023-12-27 16:29:00 +01:00
smallmodel
210f2fef77
Formatted source file 2023-12-27 16:28:28 +01:00
smallmodel
d19a6160d2
Call SetWeaponAnim() instead of NewAnim() for weapon animation 2023-12-27 16:25:37 +01:00
smallmodel
cd773cf73f
Set last active weapon only if the weapon is not an inventory item 2023-12-27 16:13:12 +01:00
smallmodel
f3b9a10f7a
Detach weapons already attached to the attach tag only if the current weapon attach tag is valid 2023-12-27 15:54:55 +01:00
smallmodel
709283ff33
Fixed MAX_ACTIVE_WEAPONS check (out of bounds) 2023-12-27 15:49:33 +01:00
smallmodel
fae261d7da
UI game message fix 2023-12-27 15:43:28 +01:00
smallmodel
6b5e527b6b
Fixed callvote line breaks 2023-12-27 15:38:17 +01:00
smallmodel
b7005a310e
Fixed callvote still executing kick with an invalid player 2023-12-27 15:14:08 +01:00
smallmodel
edd25b9264
Readded support for supporting configstrings in multiple chunks 2023-12-27 15:13:42 +01:00
smallmodel
65a8b03ee4
Fixed infinite loop in SV_SendConfigstring when sending multiple chunks 2023-12-27 15:13:17 +01:00
smallmodel
0044ec0ac0
Increased MAX_CMD_LINE for testing purposes 2023-12-27 15:11:17 +01:00
smallmodel
73111d854d
Fixed an infinite loop bug when selecting the previous/next weapon 2023-12-27 14:07:57 +01:00
smallmodel
065ab98175
Added a comment in CondMinChargeTime about the crash fix 2023-12-27 14:07:34 +01:00
smallmodel
cbeaeba828
Use IsSubclassOfWeapon() and IsSubclassOfPlayer() 2023-12-27 14:06:22 +01:00
pryon
11f7728b9d Move strdup'd string cleanup to uipopup_describe's dtor 2023-12-20 17:52:02 +01:00
pryon
7510b05d25 Properly free memory allocated by strdup calls 2023-12-18 19:56:26 +01:00
pryon
e467f91262 Fix pulldown menu labels showing raw cvar values 2023-12-18 17:49:01 +01:00
pryon
ec71ff3c3c
Implement UIPopupMenu (#87)
* Implement UIPopupMenu

* Use `std::fmax` for floats
2023-12-17 22:51:18 +01:00
smallmodel
4a4a552a05
Fixed crash due to corrupted stack values 2023-12-07 18:04:57 +01:00
pryon
5b3615d262
Implement UIPulldownMenuContainer (#86)
* Implement UIPulldownMenuContainer

* Review suggestions:
 - remove unnecessary extern declarations
 - add comment about a possible memleak
2023-12-05 23:27:27 +01:00
pryon
2821488c93
Implement UIPulldownMenu (#85)
* Implement UIPulldownMenu

* Remove unnecessary value-type member initialization
2023-12-05 19:50:41 +01:00
smallmodel
9814887b10
Don't execute Git if the source directory is not a working Git repo 2023-11-29 19:04:24 +01:00
smallmodel
60faa9dd9b
Updated the version number 2023-11-29 17:57:47 +01:00
smallmodel
75f8f86f86
Fixed compilation error on some compilers 2023-11-29 00:08:35 +01:00
smallmodel
0ee1307e75
Fixed missing m_Thread archive 2023-11-28 20:26:40 +01:00
smallmodel
f0c38305b5
Fixed defaultEntry having a NULL value even if there are elements 2023-11-28 20:13:55 +01:00
smallmodel
e07dda6991
Fixed defaultEntry not being initialized after archiving 2023-11-28 20:10:23 +01:00
smallmodel
b10ce9a426
Added GetKey() / SetKey() in con_set's Entry, so ScriptVariable can override it and set the key appropriately 2023-11-28 19:50:19 +01:00
smallmodel
2ac2800ecb
Only archive used variables on the local VM stack 2023-11-28 19:14:09 +01:00
smallmodel
e59200a7de
Fixed cSpline archiving bad values 2023-11-27 20:35:23 +01:00
smallmodel
a7902a8837
Added FollowPathRelativeYaw and NormalAngles 2023-11-27 20:30:36 +01:00
smallmodel
615726cc75
Added FollowPathRelativeYaw 2023-11-27 20:22:37 +01:00
smallmodel
839abf6076
Added missing variables to archive 2023-11-27 20:20:00 +01:00
smallmodel
c7c8d4580d
Added missed archived variables and using a ScriptThreadLabel instead of an event for the killed handler 2023-11-27 20:07:57 +01:00