[QUOTE=blankthemuffin;17717385]Oh no a list of names that needs to be copy pasted!!![/QUOTE]
Into a language that's downloaded in source form!!!
I have been trying to use SFML for the last couple of days but I can't seem to get it to work. I have never tried using an outside source type thing like this.
I guess I am just not sure how to set up VS2008 to work properly with it. I followed the set up tutorial and got the time example working, but I tried opening a window and I couldn't get it to work.
I tried going to the project properties and setting up the linker -> input -> Additional Dependencies and adding like sfml-window.dll.
I just don't understand I guess. I tried looking on their forums but apparently I am even too stupid to understand that part either. :)
I just keep getting linker errors in my projects saying it can't find the files and stuff like that.
1>sfml-window-d.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x300
I either get one like that or if I change the sfml-window-d.dll to just sfml-window.dll it says it can't find the sfml-window.dll in my sfml1.5 lib -> vs2008 directory.
nonono.
sfml-window-d.[b]lib[/b]
[editline]06:40PM[/editline]
Also, the "outside source type thing" is called a library :)
[QUOTE=efeX;17718295]nonono.
sfml-window-d.[b]lib[/b]
[editline]06:40PM[/editline]
Also, the "outside source type thing" is called a library :)[/QUOTE]
Why was I putting dll...
Be right back I have to go shut my head in a door... Lets see if this works.
Yeah I was just being stupid and adding .dll I don't know why. I guess you can't learn unless you do something so incredibly stupid that you want to learn as much as possible so everyone forgets you did something stupid.
[QUOTE=garry;17711906]Like this
[media]http://www.youtube.com/watch?v=15NdzbVjV9w[/media][/QUOTE]
This looks awesome.
[QUOTE=Samuelgames;17719692]Pretty much useless with GPL since they're like GIVE ME CODE OR NO GPL CODE FOR YOU.[/QUOTE]
jQuery does this too. I really don't get it, since MIT and GPL are compatible.
Dual license just means you can choose whichever you want. So if you don't like GPL you can use it under the terms of MIT.
They probably started with the GPL and switched to MIT, since you can't revoke a licence it ends up being dual licensed.
You can always revoke a license. If you are the copyright holder, you release a new version, without the previous license.
Of course if you're not the copyright holder you're fucked.
[QUOTE=Ortzinator;17720990]Dual license just means you can choose whichever you want. So if you don't like GPL you can use it under the terms of MIT.[/QUOTE]
But you can license something under the GPL which already uses MIT.
[QUOTE=a2h;17705553]I figured adding billions of buttons to bugspray's manage thing was getting stupid, so I decided to move a whole chunk of management stuff into a window.
[media]http://i34.tinypic.com/112bdyr.png[/media]
[editline]09:09PM[/editline]
And on a side note, is it me or does the bottom of that window look like it has a subtle gradient effect? It's solid white...[/QUOTE]
Hey, what are you using to make those modal windows?
[media]http://img.loldepot.com/9d06ea709b0bc7a112c4.png[/media]
Some kind of IRC client test with a GWEN window mask. Not going to be released or anything.
The reason I chose MIT is that I see it as pretty much do whatever you want - I don't care.
I don't like the licenses where you have to divulge changes, or even release the whole source of your project if you link statically. I think that stuff really puts a lot of serious developers from using your stuff.
[editline]10:07AM[/editline]
[QUOTE=Ortzinator;17714420]Sweet. I meant the code for the docking though.[/QUOTE]
It's a recursive thing.
You have a dock control. It has 4 other dock controls in it (which are created when needed) - for left, right, top and bottom.
When you drag and drop a tab into the dock control, if you drop it to the left, it will dock to the left (unless left already exists, in which case you should drop it on the left dock). Same for the other directions.
If a dock is empty - and its parent is a dock, it gets removed.
I'e still got a couple of things to fix. Like right now you can drag a tab to the left, then grab it again and drag it into itself :x
[url]http://www.stevestreeting.com/2009/09/15/my-evolving-view-of-open-source-licenses/[/url]
This is pretty much why I prefer MIT, especially for libraries.
[QUOTE=blankthemuffin;17722658][url]http://www.stevestreeting.com/2009/09/15/my-evolving-view-of-open-source-licenses/[/url]
This is pretty much why I prefer MIT, especially for libraries.[/QUOTE]
OGRE's switching to MIT? Fuck yes.
[QUOTE=bl4h;17721271]Hey, what are you using to make those modal windows?[/QUOTE]
JavaScript.
[QUOTE=SteveUK;17722675]OGRE's switching to MIT? Fuck yes.[/QUOTE]
LGPL isn't too restrictive either, you only need to publish source code if you modify the engine itself, which, IMO, is a good thng. It improves the engine while keeping the developer free of having to publish all of their code.
[QUOTE=gparent;17723453]LGPL isn't too restrictive either, you only need to publish source code if you modify the engine itself, which, IMO, is a good thng. It improves the engine while keeping the developer free of having to publish all of their code.[/QUOTE]
It is if you want to statically link it, since you have to release the source code to your project as well which is quite undesireable. I know it probably resulted in some good contributions,, but if people really believe in the project they'll end up contributing anyway.
[QUOTE=SteveUK;17723559]It is if you want to statically link it, since you have to release the source code to your project as well which is quite undesireable.[/QUOTE]
Nope, you don't. [url]http://www.ogre3d.org/wiki/index.php/StaticLinking[/url]
EDIT: Either way, you could just avoid the whole issue before by linking dynamically.
[img]http://ssq.muffinz.eu/79.133.51.33:27015[/img]
[code]Change: Changed web server and domain name. (now it is: http://ssq.muffinz.eu/[server ip:port address] )
Change: Made clean url.
Change: Changed offline server message.
Add: MySQL support.
Add: Support for Day of Defeat: Source.
Add: Uptime bar.
Removed: Offline server background (kinda).
Edit:
Add: Player and Uptime status next to the 'information bars'.[/code]
Background's by Ddrl46.
[QUOTE=Semas-LTU;17724205][img]http://ssq.muffinz.eu/79.133.51.33:27015[/img]
[code]Change: Changed web server and domain name.
Change: Made clean url.
Change: Changed offline server message.
Add: MySQL support.
Add: Support for Day of Defeat: Source.
Add: Uptime bar.
Removed: Offline server background (kinda).
Edit:
Add: Player and Uptime status next to the 'information bars'.[/code]
Background's by Ddrl46.[/QUOTE]
That's pretty badass. What fonts are those? Are those built in or are you using imagettftext?
[QUOTE=Marlamin;17724289]That's pretty badass. What fonts are those? Are those built in or are you using imagettftext?[/QUOTE]
Yes im using "imagettftex"
And the fonts are:[b]
DINPro-Black.otf
DINPro-Regular.otf[/b]
[QUOTE=Semas-LTU;17724328]Yes im using "imagettftex"
And the fonts are:[b]
DINPro-Black.otf
DINPro-Regular.otf[/b][/QUOTE]
Thanks. Now to find those. :v:
[QUOTE=Semas-LTU;17724205][img]http://ssq.muffinz.eu/79.133.51.33:27015[/img]
[code]Change: Changed web server and domain name. (now it is: http://ssq.muffinz.eu/[server ip:port address] )
Change: Made clean url.
Change: Changed offline server message.
Add: MySQL support.
Add: Support for Day of Defeat: Source.
Add: Uptime bar.
Removed: Offline server background (kinda).
Edit:
Add: Player and Uptime status next to the 'information bars'.[/code]
Background's by Ddrl46.[/QUOTE]
So much wasted space
[code]Y = (Ax + B)x + C
Enter A: 5
Enter B: 10
Enter C: 20
Lower bound: 0
Upper bound: 5
0, 20
1, 35
2, 60
3, 95
4, 140
5, 195[/code]
Quadratic calculator, written in assembly for the MIPS processor:
[code] .text
.globl __start
__start:
la $a0,form #Print out the formula
li $v0,4
syscall
la $a0,aprop #Ask for A
li $v0,4
syscall
li $v0, 5 # system call code for read integer = 5
syscall
move $t0, $v0 # value read from keyboard returned in register $v0; transfer to $t0
la $a0,bprop #Ask for B
li $v0,4
syscall
li $v0, 5 # system call code for read integer = 5
syscall
move $t1, $v0 # value read from keyboard returned in register $v0; transfer to $t1
la $a0,cprop #Ask for C
li $v0,4
syscall
li $v0, 5 # system call code for read integer = 5
syscall
move $t2, $v0
la $a0,lowerprop #Ask for lower bound
li $v0,4
syscall
li $v0, 5 # system call code for read integer = 5
syscall
move $t3, $v0 #lower bound
#lw $t9,($t3) #copy into t9
la $a0,upperprop #Ask for upper bound
li $v0,4
syscall
li $v0, 5 # system call code for read integer = 5
syscall
move $t4, $v0 #Upper bound
jal quad #Calculate Y
li $v0,10 # EOP
syscall
quad:
mul $t5, $t0, $t3 # y = (Ax + B)x + C: t5 = (A * t3 + B) * t3 + C
add $t5, $t5, $t1
mul $t5, $t5, $t3
add $t5, $t5, $t2
la $a0,newl #print a new line
li $v0,4
syscall
li $v0,1
move $a0,$t3 #print the X value
syscall
la $a0,comma #print a seperator
li $v0,4
syscall
li $v0,1 #output the Y value
move $a0,$t5
syscall
add $t3, $t3, 1 #increment the X
ble $t3, $t4, quad #if(t3 <= t4)
jr $ra #return
.data
endl: .asciiz "Ans: "
form: .asciiz "Y = (Ax + B)x + C \n"
aprop: .asciiz "Enter A: "
bprop: .asciiz "Enter B: "
cprop: .asciiz "Enter C: "
upperprop: .asciiz "Upper bound: "
lowerprop: .asciiz "Lower bound: "
newl: .asciiz "\n"
comma: .asciiz ", "[/code]
[QUOTE=garry;17722620]The reason I chose MIT is that I see it as pretty much do whatever you want - I don't care.
I don't like the licenses where you have to divulge changes, or even release the whole source of your project if you link statically. I think that stuff really puts a lot of serious developers from using your stuff.
[editline]10:07AM[/editline]
It's a recursive thing.
You have a dock control. It has 4 other dock controls in it (which are created when needed) - for left, right, top and bottom.
When you drag and drop a tab into the dock control, if you drop it to the left, it will dock to the left (unless left already exists, in which case you should drop it on the left dock). Same for the other directions.
If a dock is empty - and its parent is a dock, it gets removed.
I'e still got a couple of things to fix. Like right now you can drag a tab to the left, then grab it again and drag it into itself :x[/QUOTE]
Hmm, cool. I should do this for my IRC client.
[url]http://ssq.muffinz.eu/[/url]
Made a website for our source server query thing.
[QUOTE=ddrl46;17724847][url]http://ssq.muffinz.eu/[/url]
Made a website for our source server query thing.[/QUOTE]
[url]http://ssq.muffinz.eu/123.456.789.0:27015[/url]
Plain text error message? It should be on an image.
[QUOTE=SteveUK;17724901][url]http://ssq.muffinz.eu/123.456.789.0:27015[/url]
Plain text error message? It should be on an image.[/QUOTE]
Didn't put a real IP there, change it to a IP from a server.
[QUOTE=ddrl46;17724940]Didn't put a real IP there, change it to a IP from a server.[/QUOTE]
That's not the point I'm trying to make, on a webpage it will be embedded as an image so if it has an error it should be shown as an image
Sorry, you need to Log In to post a reply to this thread.