[QUOTE=Ac!dL3ak;47735856][i]Technically[/i] you don't, but you get a shitton of errors if you don't.[/QUOTE]
No you don't, you just have to forward declare everything you use.
Getting junk to spawn within the walls was surprisingly easy
[thumb]http://i.imgur.com/Qr38gZD.png[/thumb]
Towers? More like CCTV cameras with guns strapped to them.
[vid]https://a.pomf.se/xygprb.mp4[/vid]
I pretty much want to make something that other people might find useful and want to use, just for the sake of it. I'm currently working on a "CMS", but it's all quite minimal. Pages are not meant to be dynamically created and modules shouldn't be installed using a web interface, it's literally a "minimal" CMS that requires work at first, by the webdeveloper, and the end user should only be able to change the things they actually should.
Not sure if I should opensource it or not.
[QUOTE=polkm;47736122]Getting junk to spawn within the walls was surprisingly easy
[thumb]http://i.imgur.com/Qr38gZD.png[/thumb][/QUOTE]
are you on greenlight yet? i'm hyped!
I want to make a HTML5 mmo game.
Just have each user control a circle and walk around.
What should I use for my back end? I would really like an engine or framework of sort, but on the other hand implementing networking should be the best part.
Node.js
[editline]16th May 2015[/editline]
Ryan implemented chat for Grid recently and I'm merging and polishing the feature this morning. [url]http://www.twitch.tv/andrewmcwatters[/url]
Yesterday, I merged his fixes for the keyboard options menu and extended the functionality of binds in the engine.
[img]http://i.imgur.com/FsPBh4j.png[/img]
[QUOTE=war_man333;47736210]are you on greenlight yet? i'm hyped![/QUOTE]
Not yet, gotta get a bigger audience first. AFAIK if your greenlight gets a big bump all at once you're good, but if you get a slow stream of votes you never get lit. The number of votes doesn't really matter. I think they just measure your max votes in one day sort of thing
So if derivative of votes is high somewhere, you are in.
It makes sense to build audience :).
Writing a Unix-shell. Realized I wasn't waiting for the exit status of the programs I executed.
Zombie processes everywhere!
[img]http://i.imgur.com/t6ISBSm.png[/img]
I have an idea for a web app that uses websockets, but all of the implementations in C++ have only reminded me that I forgot how to C++.
I'm thinking of C#, from my limited experience with it, it seemed nice and easy to understand. Plus I'm sure there are a ton of resources available for it.
How's the Linux support for C#? I want to run a websocket server on a linux server.
[QUOTE=false prophet;47736500]I have an idea for a web app that uses websockets, but all of the implementations in C++ have only reminded me that I forgot how to C++.
I'm thinking of C#, from my limited experience with it, it seemed nice and easy to understand. Plus I'm sure there are a ton of resources available for it.
How's the Linux support for C#? I want to run a websocket server on a linux server.[/QUOTE]
[url=http://www.mono-project.com/]Mono[/url]. It can run most if not all .NET .exes you throw at it.
[editline]16th May 2015[/editline]
Mono has a tool called [URL="http://www.mono-project.com/docs/tools+libraries/tools/moma/"]MoMA[/URL] you can use to check if your application will run on Mono.
Mono still lacks many new language features. C# is not the best choice when you want to make an application specifically for Linux. Or a WebSocket server, really, the dynamic languages have a lot more resources in that regard.
[QUOTE=Ac!dL3ak;47735856][i]Technically[/i] you don't, but you get a shitton of errors if you don't.
I love header files in that header files always contain all of the documentation, and so you don't have to crawl through thousands of lines of code to determine which function you should use to do what.
[url]https://github.com/medcat/dash/blob/rewrite/inc/dash-common/list.h[/url][/QUOTE]
Forward declare anything that needs to get used, and use header guards. The C programming language does not care about header files or source files. In fact, while certain compilers may make distinction between the two, as a programmer you don't have to.
Would it be possible to reverse engineer srcds and write a multithreaded one?
I mean, that's how people create their own private servers for CoD and such too, right?
[QUOTE=Cyberuben;47736588]Would it be possible to reverse engineer srcds and write a multithreaded one?
I mean, that's how people create their own private servers for CoD and such too, right?[/QUOTE]
Technically its possible, but practically its not.
Even if you had the source code, multithreading it would be a massive undertaking.
[QUOTE=mastersrp;47736587]Forward declare anything that needs to get used, and use header guards. The C programming language does not care about header files or source files. In fact, while certain compilers may make distinction between the two, as a programmer you don't have to.[/QUOTE]
That's disgusting though, why would you do that
[QUOTE=Cyberuben;47736588]Would it be possible to reverse engineer srcds and write a multithreaded one?
I mean, that's how people create their own private servers for CoD and such too, right?[/QUOTE]
I'm pretty sure those server emulators only emulate the lobby/matchmaking/etc. functionality, while the actual game server is still part of the original game code.
MMOs often get full server emulators, but that's a ton of work. Work very few people will be interested in in the case of the Source Engine, because that already has freely available server software.
[QUOTE=Ac!dL3ak;47736639]That's disgusting though, why would you do that[/QUOTE]
If you wanted to use one of the most flexible languages to write modules, you could do that and it wouldn't be a huge problem either. Besides, forward declaration isn't required. You could really just declare whatever needs to be declared and it would all be public. That's fine too. Additionally, it could even work with things like SDL2. That could be a single source file module too. Would be ugly as hell, but it's totally doable. You can go either way with C, but with other languages you don't even have the choice.
[QUOTE=mastersrp;47736587]Forward declare anything that needs to get used, and use header guards. The C programming language does not care about header files or source files. In fact, while certain compilers may make distinction between the two, as a programmer you don't have to.[/QUOTE]
What about template classes? Is there a way to forward declare friend functions for a templated class then without prototyped functions?
[QUOTE=ZestyLemons;47736675]What about template classes? Is there a way to forward declare friend functions for a templated class then without prototyped functions?[/QUOTE]
There's no such thing as templates or classes in C, unless you make them up yourself.
[QUOTE=andrewmcwatters;47736233]Node.js
[editline]16th May 2015[/editline]
Ryan implemented chat for Grid recently and I'm merging and polishing the feature this morning. [url]http://www.twitch.tv/andrewmcwatters[/url]
Yesterday, I merged his fixes for the keyboard options menu and extended the functionality of binds in the engine.
[img]http://i.imgur.com/FsPBh4j.png[/img][/QUOTE]
Looks good, but I would put some padding at the bottom of the Options window in order to make it consistent with everything else. It looks rather untidy having the buttons squashed against the bottom, in my opinion.
[QUOTE=false prophet;47736500]I have an idea for a web app that uses websockets, but all of the implementations in C++ have only reminded me that I forgot how to C++.
I'm thinking of C#, from my limited experience with it, it seemed nice and easy to understand. Plus I'm sure there are a ton of resources available for it.
How's the Linux support for C#? I want to run a websocket server on a linux server.[/QUOTE]
Yes it works, I used one library that ran on Mono on Raspberry PI
[url]https://github.com/statianzo/Fleck[/url]
But mind that Raspberry PI's mono was something called "soft float" instead of "hard float".
I forgot really what it means
[QUOTE=Fourier;47736884]Yes it works, I used one library that ran on Mono on Raspberry PI
[url]https://github.com/statianzo/Fleck[/url]
But mind that Raspberry PI's mono was something called "soft float" instead of "hard float".
I forgot really what it means[/QUOTE]
Doesn't matter, hardfloat/softfloat are just whether floating point code is compiled to use ARM's floating point extensions or not. As you might imagine, the resulting binaries are incompatible, and both ABIs remain in use, so that's why ARM binaries usually state that.
It has no relevance to functionality.
Oh, correct! It is only relevant to speed of float computations.
Also, I found this REALLY FUCKING COOL example of quadtree/octree use:
[IMG]http://i.imgur.com/DEL4BE4.png[/IMG]
Making a "start page"..
need ideas for what to put below the current IP.
[B]Edit:[/B] [URL="http://craftgrounds.net/"]http://craftgrounds.net/[/URL]
[QUOTE][IMG]http://i.imgur.com/TVxqpZs.jpg[/IMG][/QUOTE]
[QUOTE=ryankingstone;47737113]Making a "start page"..
need ideas for what to put below the current IP.[/QUOTE]
Internal and external IP?
Temperature
Location
Times visited - statistics?
So far today I've cleared out over [B]2K[/B] [B]lines[/B] of old/obsolete/deprecated code.
Much of it was for old systems that have since been replaced, or was used in my old UI when my level editor was planned to be just another function in a base "game" application - now useless since it is standalone.
It feels good having the editor itself be so small now, because in itself the editor class used to micromanage how every other system worked - which was totally unacceptable. Over the past month I've been reducing it down to be purely a container which simply orchestrates how other systems are created, and then leaves them to do their own thing.
Making a remake of Ultimate Soldier for Android. Got rooms to randomly generate (They don't have anything inside them yet :yarr: )
[video=youtube;dy7DU7cykVU]http://www.youtube.com/watch?v=dy7DU7cykVU&feature=youtu.be[/video]
Sorry, you need to Log In to post a reply to this thread.