Raised This Month: $51 Target: $400
 12% 

New API and Syntax


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-04-2015 , 12:34   Re: New API and Syntax
Reply With Quote #331

I agree StringMaps aren't a necessary candidate for this, as I was only looking for something to make an example.
I think SQL is probably the most fitting candidate for this and would love to see that methodmap.
I could try to find others but now that this has been brought up (if it wasn't in your backburner already when making these methodmaps) I would like to see this functionality included in 1.7 in methodmaps that would really benefit from it.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
BAILOPAN
Join Date: Jan 2004
Old 02-04-2015 , 12:37   Re: New API and Syntax
Reply With Quote #332

If you see any that are fair game, lemme know. SM doesn't have too much "construction"-type APIs, aside from maybe menus/panels? But code to generate hardcoded menus is kind of rare.
__________________
egg
BAILOPAN is offline
Mehis
Senior Member
Join Date: Mar 2013
Location: basement
Old 02-06-2015 , 12:08   Re: New API and Syntax
Reply With Quote #333

PHP Code:
// Old way:
new const String:Test[][] = { "Stuff""MoreStuff""EvenMoreStuff" };


// New way:

// Doesn't work:
const char Test[][] = { "Stuff""MoreStuff""EvenMoreStuff" };
// Compiles but not const?
char Test[][] = { "Stuff""MoreStuff""EvenMoreStuff" }; 
Is this intentional?

Edited one more time... ;)

Last edited by Mehis; 02-06-2015 at 12:45.
Mehis is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-06-2015 , 13:03   Re: New API and Syntax
Reply With Quote #334

On all of those the innermost dimension needs to be specified to work correctly.
__________________
asherkin is offline
Mehis
Senior Member
Join Date: Mar 2013
Location: basement
Old 02-06-2015 , 13:21   Re: New API and Syntax
Reply With Quote #335

Quote:
Originally Posted by asherkin View Post
On all of those the innermost dimension needs to be specified to work correctly.
True, but it doesn't seem to affect it in anyway. Using const still gives an error.

Last edited by Mehis; 02-06-2015 at 13:26.
Mehis is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-11-2015 , 16:43   Re: New API and Syntax
Reply With Quote #336

Quote:
Originally Posted by BAILOPAN View Post
Evidence suggests that a good IDE takes a few hundred million dollars and about 10 years of development. I checked under my couch and couldn't find that much money. I'll check under the cushions a second time, but until then there's lots of very good editors out there (Sublime is popular).
I accidently read this as "crouch" instead of couch, still relevant with what was said though..

@who ever brought this up:
Why would anybody want an IDE for sourcepawn.. I don't see anybody compiling several different files (15+) into one file. And it's extremely easy to make a batch/shell file to compile your code with just a touch of a button.
Mitchell is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 02-11-2015 , 16:59   Re: New API and Syntax
Reply With Quote #337

Quote:
Originally Posted by Mitchell View Post
I don't see anybody compiling several different files (15+) into one file.


Still eagerly awaiting a |#include "maps/*.sp"| syntax.
__________________
VoiDeD is offline
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Old 02-11-2015 , 17:37   Re: New API and Syntax
Reply With Quote #338

Quote:
Originally Posted by VoiDeD View Post


Still eagerly awaiting a |#include "maps/*.sp"| syntax.
Kind of off-topic but what are those includes? Where I can find them and why do they contain?
ClassicGuzzi is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 02-11-2015 , 18:40   Re: New API and Syntax
Reply With Quote #339

Are we going to start a thread for 1.8 so we can get up to date news of when we can play with early structures code?

Last edited by Mathias.; 02-11-2015 at 20:46.
Mathias. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-11-2015 , 19:33   Re: New API and Syntax
Reply With Quote #340

Quote:
Originally Posted by ClassicGuzzi View Post
Kind of off-topic but what are those includes? Where I can find them and why do they contain?
my guess that each include is a different set of maps.
and the main plugin handles map logic.

i would've just made a batch file that puts all the .sp's in a folder as an include.
Mitchell is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode