Commit Graph

3940 Commits

Author SHA1 Message Date
Arkshine
f5a5d8f8e7 Undo last change and change cell cast to unsigned char. 2014-05-27 15:15:56 +02:00
Vincent Herbet
83c2b3ef62 Merge pull request #22 from Arkshine/fix-unicode-issuee
Fix an unicode issue with amx_SetStringOld.
2014-05-27 14:38:27 +02:00
Arkshine
90c4fc1db1 Fix an unicode issue with amx_SetStringOld. 2014-05-27 13:49:59 +02:00
Vincent Herbet
a828ee8fda Merge pull request #21 from Nextra/newmenus
Newmenus: Add menu timeouts (+ extra bugfix)
2014-05-27 12:31:30 +02:00
Valentin Grünbacher
dc3e68c507 Newmenus: Fix typo in error message 2014-05-27 10:38:25 +02:00
Valentin Grünbacher
a6ffae72f5 Newmenus: Add get_menu_by_id and use it everywhere 2014-05-27 10:33:53 +02:00
Valentin Grünbacher
c91d67912b Newmenus: Update MENU_TIMEOUT doc 2014-05-27 10:32:28 +02:00
David Anderson
9b51137767 Update checkout-deps.sh. 2014-05-26 16:21:20 -07:00
Arkshine
62cf10f0c3 Cstrike: Move game datas in its own file. 2014-05-26 21:19:18 +02:00
Arkshine
f08e22db95 Cstrike: Rename cstrike.cpp to CstrikeNatives.cpp 2014-05-26 18:50:39 +02:00
Arkshine
88c489d393 Cstrike: Move AMXX API in a new file. 2014-05-26 18:08:41 +02:00
Freeman-AM
94e0021e78 Telemenu: Fix a typo error 2014-05-25 11:50:11 +02:00
Freeman-AM
1b4d0c7965 Telemenu: Remove some TAB before comments for readability 2014-05-24 18:35:06 +02:00
Freeman-AM
2ca61e2de2 Telemenu: Fix bad array usage 2014-05-24 18:30:02 +02:00
Freeman-AM
aa67fae7b9 Telemenu: Fix some bugs and add some improvements
Bugfixes
- a typo error induced by me, id instead of player
- The second teleportation way of this plugin can only be done when the menuactor is not alive.
There is no crouch in death mod or spectator mod, so i remove this useless call. (Line 134 - 139)
Improvements :
- Check mod VEC_DUCK_VIEW only one time.
- Removal of code duplication
2014-05-24 15:53:30 +02:00
Vincent Herbet
4d3e219d84 Merge pull request #20 from Nextra/mexit
Newmenus: Add MEXIT_FORCE and fix possible crash
2014-05-23 13:45:23 +02:00
Valentin Grünbacher
50fbf29b3b Newmenus: Fix unsigned underflow on "end" variable 2014-05-22 00:07:37 +02:00
Valentin Grünbacher
ff18b03250 Newmenus: Add MEXIT_FORCE for proper exit button on non-paginated menus 2014-05-21 22:18:48 +02:00
Valentin Grünbacher
3b87c428dc Newmenus: Add necessary API changes for newmenu timeouts 2014-05-21 19:17:04 +02:00
Valentin Grünbacher
c8b7a09028 Newmenus: get_user_menu should also handle newmenu timeouts properly 2014-05-21 19:01:27 +02:00
Valentin Grünbacher
fa5336cade Newmenus: Use Menu::Close everywhere 2014-05-21 18:58:51 +02:00
Valentin Grünbacher
34337fb959 Newmenus: Add Menu::Close to remove a bunch of redundant code 2014-05-21 18:51:55 +02:00
Valentin Grünbacher
6a4c55de7d Newmenus: Fire MENU_TIMEOUT on menuselect client command 2014-05-21 18:47:20 +02:00
Valentin Grünbacher
2e8ce87c23 Newmenus: Add MENU_TIMEOUT status code and pass it where necessary 2014-05-21 18:45:40 +02:00
Valentin Grünbacher
cd7cb8c1a8 Newmenus: Execute menu callback when old-style menu overwrites new menu
show_menu simply resets CPlayer::newmenu. The menu callback is never fired and the plugin never informed that the menu has been closed. This can result in leaking menu handles. Using "menuselect 10" on the client is not an appropriate solution because it is possible to construct newmenus that contain 10 valid items.
2014-05-21 18:17:09 +02:00
Freeman-AM
44b4ff6f05 Telemenu: Fix view_ofs not correctly set at teleportation 2014-05-21 00:59:48 +02:00
Freeman-AM
d3bae33c64 Telemenu: Plugin style compliancy 2014-05-19 14:03:31 +02:00
Freeman-AM
914ae9e0d1 Telemenu: Improve ducking feature
Apply ducking state on teleported player only when the teleportation point is saved by a ducking player.
This feature fix possibles errors that could happen with games that don't use crouch, like ESF, NNK...
And for game like Counter-Strike 1.6, this is more logic.
2014-05-19 13:52:21 +02:00
Scott Ehlert
7ae802d736 Fix compile.sh script for OS X. 2014-05-18 20:37:44 -05:00
Scott Ehlert
d83ec1810a Merge pull request #18 from alliedmodders/static-libstdcxx
Link amxxpc with static libstdc++ on Linux.
2014-05-18 19:04:43 -05:00
Freeman-AM
b3d1b49fab Telemenu: Switch format to formatex 2014-05-18 16:20:40 +02:00
Freeman-AM
a6e3b57848 Telemenu: Add charsmax in place of hardcoded buffer lengths 2014-05-18 16:11:13 +02:00
Freeman-AM
7007105150 Telemenu: Add the ability to save the view and use it during teleportation 2014-05-18 15:58:53 +02:00
Freeman-AM
9c93cd1283 Telemenu: Add the ability to teleport in crouched areas 2014-05-18 15:32:45 +02:00
Freeman-AM
d2f909981a Telemenu: Use of float version of origin natives instead of integer version 2014-05-18 15:23:40 +02:00
Scott Ehlert
aa00fc6f63 Trigger build. 2014-05-17 19:22:10 -05:00
Scott Ehlert
db001a6eb5 Sync changes from SourceMod's bootstrap script. 2014-05-17 16:37:12 -05:00
Scott Ehlert
f69a8e66c6 Don't copy debug files into package directory.
Debugging symbols should be present in the binaries by default now.
2014-05-17 14:57:57 -05:00
Scott Ehlert
072747b741 Add --symbol-files option to AMBuild configure. 2014-05-17 14:54:38 -05:00
Scott Ehlert
4fa8a90787 Add build directories to gitignore. 2014-05-17 14:37:15 -05:00
Vincent Herbet
c0e3509e65 Merge pull request #15 from Arkshine/fix-cs-spectator-issue
CS: Fix spectator team index not being set in specific situation
2014-05-15 16:09:09 +02:00
Arkshine
0edb16150a CS: Manually set SPECTATOR team index. 2014-05-15 00:01:28 +02:00
Vincent Herbet
7e6812f64a Merge pull request #10 from Arkshine/client_printex
Add client_printex Stock (bug 5828)
2014-05-13 14:33:23 +02:00
Arkshine
1c13d0dd6b Use a more standard if conditionnal way. 2014-05-13 14:09:45 +02:00
Vincent Herbet
f58faf5f2c Merge pull request #13 from Arkshine/fix-cs_set_user_team
Fix cs_set_user_team issue on spectator
2014-05-13 13:27:03 +02:00
Vincent Herbet
207b9aef96 Merge pull request #14 from Arkshine/fix-missing-float-tag
Fix missing Float tag in some DoD forwards headers (bug 6121)
2014-05-13 13:26:34 +02:00
Arkshine
c5c2721e60 Fix missing Float tag in some DoD forwards headers. 2014-05-12 16:40:19 +02:00
Arkshine
db76fc7b66 Fix cs_set_user_team issue on spectator 2014-05-12 14:41:08 +02:00
Vincent Herbet
c1cf9d8e67 Update .gitignore 2014-05-12 14:14:26 +02:00
Arkshine
5f210d3404 Append a note about usage of the new buffer size (related to ce4ef6e272) 2014-05-08 16:18:50 +02:00