• What are you working on? v15
    5,001 replies, posted
[QUOTE=Overv;27654925]I'm not making an iPhone app.[/QUOTE] It just looks weird as a circle
[img]http://dl.dropbox.com/u/2848674/poop.png[/img] ?
[QUOTE=BipolarPanda;27655026][img_thumb]http://dl.dropbox.com/u/2848674/poop.png[/img_thumb] ?[/QUOTE] I think I read on the android page that cropped things aren't okay. Also I like the circle.
[QUOTE=Maurice;27655043]I think I read on the android page that cropped things aren't okay. Also I like the circle.[/QUOTE] [img]http://gyazo.com/5865a7ce70fe37d21c2bccba22a5e9ee.png[/img] :colbert:
What? :confused: [QUOTE=BipolarPanda;27655026][img_thumb]http://dl.dropbox.com/u/2848674/poop.png[/img_thumb] ?[/QUOTE] I'm sorry that I have to quote it again, but [url=http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html]"Your icons should not present a cropped view of a larger image"[/url]
Great, an error that only happens in release mode and when the debugger is not attached.
Does the icon really matter [i]that much[/i] ?
[QUOTE=CarlBooth;27655285]Does the icon really matter [i]that much[/i] ?[/QUOTE] Yes.
[QUOTE=Robber;27655230]What? :confused: I'm sorry that I have to quote it again, but [url=http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html]"Your icons should not present a cropped view of a larger image"[/url][/QUOTE] Then we should go with the one that overv made
In C++ how could I access a class member as a pointer (like void*) or an offset that I can apply to a class like: myClass + Offset == myMember Edit: I don't want something like: &X::a; I'm using this to map members.
Wouldn't &object - &(object.member) do that? [editline]25th January 2011[/editline] Although I think it's UB.
[QUOTE=esalaka;27655648]Wouldn't &object - &(object.member) do that? [editline]25th January 2011[/editline] Although I think it's UB.[/QUOTE] Looking through the Source SDK I found that it calculates the offset with: (int)&(((s*)0)->m). It makes sense. I guess the offset is applied with something like *((int*)(class)+offset)
[QUOTE=John.Lua;27655462]In C++ how could I access a class member as a pointer (like void*) or an offset that I can apply to a class like: myClass + Offset == myMember Edit: I don't want something like: &X::a; I'm using this to map members.[/QUOTE] Is the data type known? With a not too complicated function I think. I'll take a look at this. [editline]25th January 2011[/editline] -snip-
[QUOTE=likesoursugar;27655753]Is the data type known? With a not too complicated function I think. I'll take a look at this. [editline]25th January 2011[/editline] -snip-[/QUOTE] I've got it. Sprouts ugly warnings :P [cpp]Engine::CVector3D<float> Position = *(Engine::CVector3D<float>*)(((int)pTest)+Engine::CBaseEntity::s_DataMap.DataDesc[6].Offset);[/cpp]
Updated my [url="http://dl.dropbox.com/u/5579836/Code/pyUpdater.tar.bz2"]PyUpdater[/url] platform. Now has dependency support! (Although it's quite limited) Also updated the README.html file, as it was getting quite old. I added my compile.py script, which is meant to search the package files you download for any compilable content (currently supports: cmake, make and configure script).
[QUOTE=John.Lua;27655462]In C++ how could I access a class member as a pointer (like void*) or an offset that I can apply to a class like: myClass + Offset == myMember Edit: I don't want something like: &X::a; I'm using this to map members.[/QUOTE] [cpp] class MyClass {}; MyClass *pRandom = new MyClass(); void *pVoidRandom = (void*)pRandom; [/cpp]
0 0 -82 20 converted to an int in BIG ENDIAN is 44564 right? Just making sure... and for double checking, what is that number in little endian?
[QUOTE=bobthe2lol;27658891]0 0 [b]-82[/b] 20 converted to an int in BIG ENDIAN is 44564 right? Just making sure... and for double checking, what is that number in little endian?[/QUOTE] give it to us [b]unsigned[/b] to make it easier for us to check And for little endian, just reverse the bytes so instead of 01 02 03 04 do 04 03 02 01
[QUOTE=mmavipc;27658292][cpp] class MyClass {}; MyClass *pRandom = new MyClass(); void *pVoidRandom = (void*)pRandom; [/cpp][/QUOTE] Glad to see that you understand English.
[QUOTE=John.Lua;27659287]Glad to see that you understand English.[/QUOTE] oops (void*)&(pRandom->member);
uhm, I'm new to VC++ 2010 and having some problem. I can't run my programs I compile with VC 2010 on other computers, getting the error: [code] &#8220;The program cannot start because MSVCP100.DLL is missing from your computer. Try reinstalling the program to fix this error&#8221; [/code] Ok sure I can just include the dll in the same folder but what if I want to make it possible to just have that .exe without any folder? I'm sure some of you guys know.
[QUOTE=likesoursugar;27659414]uhm, I'm new to VC++ 2010 and having some problem. I can't run my programs I compile with VC 2010 on other computers, getting the error: [code] &#8220;The program cannot start because MSVCP100.DLL is missing from your computer. Try reinstalling the program to fix this error&#8221; [/code] Ok sure I can just include the dll in the same folder but what if I want to make it possible to just have that .exe without any folder? I'm sure some of you guys know.[/QUOTE] Install the Visual C++ 2010 Redistributable run-time on the machines you want to run it on. EDIT: And here's a link to that: [url]http://www.microsoft.com/downloads/en/details.aspx?familyid=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en[/url]
[QUOTE=likesoursugar;27659414]uhm, I'm new to VC++ 2010 and having some problem. I can't run my programs I compile with VC 2010 on other computers, getting the error: [code] &#8220;The program cannot start because MSVCP100.DLL is missing from your computer. Try reinstalling the program to fix this error&#8221; [/code]Ok sure I can just include the dll in the same folder but what if I want to make it possible to just have that .exe without any folder? I'm sure some of you guys know.[/QUOTE] Install [URL="http://www.microsoft.com/downloads/en/details.aspx?familyid=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en"]Microsoft Visual C++ 2010 Redistributable Package[/URL]. [editline]26th January 2011[/editline] Ninja'd
[QUOTE=Overv;27654422]Which one do you like the most? [img_thumb]http://gyazo.com/5865a7ce70fe37d21c2bccba22a5e9ee.png[/img_thumb] [img_thumb]http://gyazo.com/0bc5815c4a16df0f547e97d6d50be45f.png[/img_thumb] Rate [img_thumb]http://static.facepunch.com/fp/ratings/rainbow.png[/img_thumb] for the first one and [img_thumb]http://static.facepunch.com/fp/ratings/clock.png[/img_thumb] for the second one.[/QUOTE] it should be like the first one, but with a subtle gradient like the gmail icon kind of like this [quote][img]http://dl.dropbox.com/u/1157653/fpicon.png[/img][/quote] ?
Uhm, I will probably send my programs to noobs, and they won't understand how to do that, any other solutions?
[QUOTE=likesoursugar;27659744]Uhm, I will probably send my programs to noobs, and they won't understand how to do that, any other solutions?[/QUOTE] Dont use VC++2010
[QUOTE=Richy19;27659822]Dont use VC++2010[/QUOTE] Probably this
[QUOTE=Juniez;27659599]it should be like the first one, but with a subtle gradient like the gmail icon kind of like this ?[/QUOTE] That looks awesome. Has my vote. Not sure if my vote actually counts for anything, but you have it anyway. :v:
[QUOTE=likesoursugar;27659744]Uhm, I will probably send my programs to noobs, and they won't understand how to do that, any other solutions?[/QUOTE] IMHO, if they are so nooby that they can't handle clicking the download button in a given website, running the file and clicking next a couple of times, then they should not be on the computer in the first place, just saying. [editline]26th January 2011[/editline] I guess you could make an installer that includes the runtime.
[QUOTE=Z_guy;27659898]IMHO, if they are so nooby that they can't handle clicking the download button in a given website, running the file and clicking next a couple of times, then they should not be on the computer in the first place, just saying. [editline]26th January 2011[/editline] I guess you could make an installer that includes the runtime.[/QUOTE] Everyone don't know they need to google at the dll and search for the error.
Sorry, you need to Log In to post a reply to this thread.