Commit graph

2366 commits

Author SHA1 Message Date
smallmodel
e815fda908
Fixed save's comment being set to the filename 2023-12-30 19:09:31 +01:00
smallmodel
fe04adee1d
Formatted source files 2023-12-30 17:36:01 +01:00
smallmodel
115647a8c0
Use ApplyPlayerModel/GetPlayerModel from mohaab 2.40 2023-12-30 17:23:30 +01:00
smallmodel
ddd70eadf6
Exported PM_FilenameToDisplayname and PM_DisplaynameT 2023-12-30 17:23:11 +01:00
smallmodel
319e00214e
Refactored DeactivateCurrentSmart 2023-12-30 17:11:25 +01:00
smallmodel
6bdcfc2b6f
Fixed PassEventToWidget improperly passing events to widgets not matching the name 2023-12-30 17:11:12 +01:00
smallmodel
ae0a2238da
Set mouse position with player model 2023-12-30 16:55:06 +01:00
smallmodel
a69f9fe88b
Implemented UI player model picker 2023-12-30 16:54:57 +01:00
smallmodel
696b57f990
Formatted uWinMan source file 2023-12-30 16:54:46 +01:00
smallmodel
998c1b78c7
Added all picker models from mohaa 1.0 up to mohaab 2.40 2023-12-30 14:10:06 +01:00
smallmodel
8c207f094d
Implemented PMPickerItem and added name parameter to FileSelected/FileChosen methods 2023-12-30 02:22:41 +01:00
smallmodel
09c9c0ef51
Added UI map rotation from BT 2.40 2023-12-30 01:59:03 +01:00
smallmodel
8cd571c96c
Implemented all UIListBox methods and implemented Draw() from BT 2.40 2023-12-30 01:50:12 +01:00
smallmodel
979af2925d
Fixed hide commands and show commands not executing properly 2023-12-30 01:09:11 +01:00
smallmodel
f092eab842
Added InsertItem() and setCurrentItem() for UIListBox 2023-12-30 00:03:21 +01:00
smallmodel
3d4832ca85
Formatted uilistbox source files 2023-12-30 00:01:14 +01:00
smallmodel
b120fc6f2f
Fixed sorting being wrong 2023-12-29 23:03:08 +01:00
smallmodel
c299ad92aa
Improver UI_DMMapSelect_f for SH/BT 2023-12-29 22:06:49 +01:00
smallmodel
956cd59385
Implemented MP map picker 2023-12-29 22:06:36 +01:00
smallmodel
acbd802790
Make COM_IsMapValid always return true from now 2023-12-29 21:59:23 +01:00
smallmodel
c4bcecf5e0
Added COM_IsMapValid 2023-12-29 21:24:23 +01:00
smallmodel
09949251ac
Implemented cl_uisoundpicker 2023-12-29 20:23:42 +01:00
smallmodel
43218f1685
Use a const str& reference 2023-12-29 20:19:28 +01:00
smallmodel
eb7d01b3e7
Implemented cl_uimaprunner 2023-12-29 20:18:04 +01:00
smallmodel
c58e6d58b4
Filter "_sml" maps for maplist 2023-12-29 20:05:36 +01:00
smallmodel
3a892e1a47
Implemented file picker class 2023-12-29 20:05:29 +01:00
smallmodel
5bb487e1fa
Set default parameter for fontname 2023-12-29 20:04:57 +01:00
smallmodel
4ae091be4b
Added a slash at the end of the scripts folder name 2023-12-29 19:56:34 +01:00
smallmodel
7654ab6be6
FS_ListFilteredFiles: Fixed subdirectory listing and added support for searching multiple extensions 2023-12-29 19:56:23 +01:00
smallmodel
193cc9dc10
Added FS_FileTime (unimplemented) 2023-12-29 18:59:06 +01:00
smallmodel
a6d268e1a1
Added subdirectory and directory search support for FS_ListFilteredFiles 2023-12-29 18:27:41 +01:00
smallmodel
7822e94e61
Formatted picker source files 2023-12-29 14:38:55 +01:00
smallmodel
eb663fdbc1
Fixed a crash due to subtitle when there is no player 2023-12-28 21:08:07 +01:00
smallmodel
d217b1d561
Fixed some events having wrong parameters for documentation 2023-12-28 20:50:47 +01:00
smallmodel
0167f0a3a4
Using Added in OPM comments 2023-12-28 20:35:33 +01:00
smallmodel
4304ad0faa
Fixed weapon attachment not correcting properly 2023-12-28 19:16:54 +01:00
smallmodel
3be17376e4
Fixed wrong landmine defuse direction 2023-12-28 18:55:43 +01:00
smallmodel
0b4fd4c17e
Fixed isabandoned returning 1 if the player has a landmine 2023-12-28 18:53:32 +01:00
smallmodel
66c4499b2e
Fixed ScriptThreadLabel::Execute with other/owner param 2023-12-28 18:30:15 +01:00
smallmodel
cde13177a4
Don't set the ground entity in Entity::droptofloor 2023-12-28 18:22:10 +01:00
smallmodel
9fce2575ab
Commented out the code that makes triggers only respond to killed/activate messages 2023-12-28 18:21:58 +01:00
smallmodel
8f8e92c8c3
Don't cound the number of shots if the owner is the world 2023-12-28 17:47:18 +01:00
smallmodel
8683d317fe
Set origin2 and player's num shots fired when placing landmine 2023-12-28 17:45:53 +01:00
smallmodel
1178c619bc
Fixed variables not being restored properly 2023-12-28 17:31:36 +01:00
smallmodel
2fa568eb01
CL_KeyEvent must not handle GUI mouse events, as it's the job of the UIWindowManager 2023-12-28 17:26:32 +01:00
smallmodel
d62242d653
use PRINT_WARNING instead of PRINT_DEVELOPER when an image couldn't be found 2023-12-28 17:25:51 +01:00
smallmodel
991bf2f1f5
Fixed m_firstResponder being nulled out in UIWindowManager::getFirstResponder() 2023-12-28 17:21:56 +01:00
smallmodel
2f241343ff
Don't accept the bind for null and pause keys 2023-12-28 17:21:32 +01:00
smallmodel
035de09c15
Formatted cl_keys.cpp source file 2023-12-28 17:21:02 +01:00
smallmodel
d3a4407391
Make sure to not service a view event if the first responder is NULL 2023-12-28 13:04:29 +01:00