Commit Graph

5000 Commits

Author SHA1 Message Date
Asher Baker
93470fbdc6 Merge pull request #190 from asherkin/emscripten-asm-fix
Use GCC builtins for bsr/bsf where available.
2014-11-11 00:15:17 +00:00
Nicholas Hastings
d6533e3219 Merge pull request #192 from alliedmodders/no-random-iface
Use directly-exported random functions on vstdlib rather than IUniformRandomStream (r=dvander).
2014-11-10 13:26:12 -05:00
David Anderson
cfa0d9341e Remove handling of class pseudokeyword since there is no C++ API to use it. 2014-11-09 18:12:30 -08:00
David Anderson
801b7ec9e2 Merge pull request #194 from alliedmodders/keyword-this
Define 'this' as a keyword.
2014-11-09 13:09:22 -08:00
David Anderson
4bc7b9243a Define 'this' as a keyword. 2014-11-09 13:01:35 -08:00
David Anderson
53a1dbdafd Merge pull request #193 from alliedmodders/rm-assert-macro
Remove use of macros in mapchooser.
2014-11-09 12:14:35 -08:00
David Anderson
4802d4bae2 Remove use of macros in mapchooser. 2014-11-09 12:13:52 -08:00
David Anderson
6e045ef43c Merge pull request #191 from alliedmodders/inc-fixups
Fix some syntax errors in include files.
2014-11-09 11:25:59 -08:00
Nicholas Hastings
f3fcdeda9d Use directly-exported random functions on vstdlib rather than IUniformRandomStream. 2014-11-09 10:59:10 -05:00
David Anderson
c37174cb97 Fix some syntax errors in include files. 2014-11-09 02:03:09 -08: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
Asher Baker
686cf9c5ba Use GCC builtins for bsr/bsf where available. 2014-11-09 04:15:49 +00: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