Commit Graph

4990 Commits

Author SHA1 Message Date
Nicholas Hastings
f3fcdeda9d Use directly-exported random functions on vstdlib rather than IUniformRandomStream. 2014-11-09 10:59:10 -05:00
David Anderson
22df518ab5 Fix a bug where local dynamic array declarations could be mistakenly parsed as old decls (bug 6280). 2014-11-09 00:15:09 -08:00
David Anderson
c228be83d6 Revert "Fix a bug where local dynamic array declarations could be mistakenly parsed as old decls."
This reverts commit 046f167b6e.
2014-11-09 00:15:00 -08:00
David Anderson
046f167b6e Fix a bug where local dynamic array declarations could be mistakenly parsed as old decls (bug 6279). 2014-11-09 00:12:44 -08:00
David Anderson
099f299113 Fix trailing commas in array literals changing the result of sizeof(). 2014-11-08 23:15:23 -08:00
David Anderson
4c377f21f9 Mark symbols as read when using sizeof(). 2014-11-08 20:45:43 -08:00
David Anderson
704e9579f7 Fix comparisons of derived tags (bug 6239). 2014-11-08 20:27:39 -08:00
David Anderson
7609d19e32 Fix bug where bad carriage returns mess up line endings. 2014-11-08 18:04:45 -08:00
David Anderson
3cc5c198b4 Allow dynamic char arrays. 2014-11-08 17:39:43 -08:00
David Anderson
cd0ac3ae37 Merge pull request #185 from powerlord/tr-event
Update events.inc to Transitional syntax.
2014-11-08 15:56:20 -08:00
David Anderson
17b9ee91e6 Merge pull request #177 from alliedmodders/tr-keyvalues
Port KeyValues to the transitional syntax.
2014-11-08 15:54:58 -08:00
David Anderson
f020b5682e Port KeyValues to the transitional syntax. 2014-11-08 15:54:40 -08:00
David Anderson
78687080b1 Merge pull request #178 from alliedmodders/fs-redux
Simplify filesystem natives.
2014-11-08 15:46:10 -08:00
David Anderson
f16501d34a Simplify filesystem native implementation. 2014-11-08 15:44:35 -08:00
David Anderson
3c13c87f1c Merge pull request #186 from alliedmodders/fix-arrays
Define post-fix arrays as determinate and pre-fix arrays as indeterminate.
2014-11-08 12:08:56 -08:00
Nicholas Hastings
b7c4faf063 Merge pull request #169 from alliedmodders/vfsdir-fixes
Fixes for OpenDirectory with use_valve_fs (r=asherkin).
2014-11-08 13:19:54 -05:00
Nicholas Hastings
0d24804839 Merge pull request #174 from alliedmodders/eliminate-more-gamedata
Eliminate the need for more gamedata on some games (r=asherkin).
2014-11-08 12:52:53 -05:00
David Anderson
dbee1bcd08 Add an error check after calling doexpr2(). 2014-11-08 03:07:34 -08:00
David Anderson
512cbc73a0 Fix a loophole with static local variables. 2014-11-08 02:54:29 -08:00
David Anderson
039572060e Add new dynamic array syntax. 2014-11-08 02:48:13 -08:00
David Anderson
f08e53f5d2 Make sizeof on indeterminate arrays an error. 2014-11-08 02:07:43 -08:00
David Anderson
6d507ceb27 Add a special case for assigning a string literal to a char array. 2014-11-08 02:04:11 -08:00
David Anderson
70e095f320 Define post-fix arrays as determinate and pre-fix arrays as indeterminate. 2014-11-07 22:39:00 -08:00
David Anderson
a8796543af Use symbols for fatal errors and bump them by 20 slots. 2014-11-07 17:41:33 -08:00
David Anderson
2c31b99ce3 Move is_new and has_postdims bits out of declinfo and into typeinfo. 2014-11-07 17:05:27 -08:00
Ross Bemrose
9175c081ee Changed all the char something[] to char[] something as per dvander's comments. 2014-11-07 19:13:46 -05:00
David Anderson
b89bd36335 Merge pull request #184 from powerlord/sminc-pragma-newdecls-forward-fix
Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame.
2014-11-07 14:27:21 -08:00
Ross Bemrose
3579977b28 Added missing SetBroadcast to Event methodmap. 2014-11-07 16:47:20 -05:00
Ross Bemrose
21ea3c03b5 Something was throwing fits when those were Event earlier. 2014-11-07 16:30:29 -05:00
Ross Bemrose
e7ec41e872 Fix timers.inc's OnMapTimeLeftChanged forward while I'm at it. 2014-11-07 16:01:50 -05:00
Ross Bemrose
159f2c8335 Add return types to OnPluginEnd, OnPluginPauseChange, and OnGameFrame 2014-11-07 15:22:49 -05:00
Ross Bemrose
66bfd126b2 Initial pass for converting events.inc. 2014-11-07 14:35:45 -05:00
Nicholas Hastings
89e7d1c45c Merge pull request #181 from powerlord/tf2-holiday-spyvengy
New Holiday as per Halloween update (r=psychonic).
2014-11-06 06:48:05 -05:00
David Anderson
b2e957db83 Merge pull request #182 from powerlord/tr-convar
Transitional syntax support for ConVars.
2014-11-05 23:12:41 -08:00
Ross Bemrose
67f9069382 Updated the named with the ones bailopan suggested. 2014-11-05 16:34:04 -05:00
Ross Bemrose
3fff07b33d Changed ConVarChanged to take a ConVar variable. Backwards compatible with Handle variables (I tested this to make sure). 2014-11-05 15:50:03 -05:00
Ross Bemrose
87a21c7ff8 Add HookChange and UnhookChange to ConVar. 2014-11-05 15:26:03 -05:00
Asher Baker
a463ed5cf2 Updated IDA scripts for 6.5. 2014-11-05 16:37:12 +00:00
Ross Bemrose
0f9d2203a4 New Holiday as per Halloween update. 2014-11-05 11:01:04 -05:00
Ross Bemrose
89f6e4736f Merge branch 'master' of https://github.com/alliedmodders/sourcemod into tr-convar 2014-11-05 10:43:28 -05:00
Nicholas Hastings
04578dfee9 Merge pull request #180 from VoiDeD/tf2-gd-nov4-2014
Update MakeBleed signature.
2014-11-04 20:25:50 -05:00
Ryan Stecker
7f36ef65a9 Update MakeBleed signature. 2014-11-04 19:09:10 -06:00
Ross Bemrose
286d484207 Rearrange order of methods in methodmap. Add missing Reset method to methodmap. 2014-10-31 17:21:37 -04:00
Ross Bemrose
cdc2b11a09 Add a ConVar class. 2014-10-31 17:06:42 -04:00
Nicholas Hastings
c7109ca651 Merge pull request #170 from alliedmodders/tr-datapack
Add transitional syntax support for datapack.inc (r=dvander).
2014-10-31 08:49:12 -04:00
David Anderson
8c8d9b072a Fix more line-endings. 2014-10-30 21:30:12 -07:00
David Anderson
9c6c0f37ed Fix line-endings. 2014-10-30 21:25:23 -07:00
David Anderson
613b06f6c0 Improve error messages when we can't find a typeexpr on a method. 2014-10-30 21:15:48 -07:00
David Anderson
97c3a2bc6e Fix a crash when we fail to parse a typexpr in a global declaration. 2014-10-30 21:09:10 -07:00
David Anderson
91a863c20c Merge pull request #171 from alliedmodders/ts-topmenus
Port TopMenus to transitional syntax.
2014-10-30 19:21:35 -07:00