|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-1-24. : 4:00 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: also having interviewed recently: wouldn't it be undefined behavior (usually resulting crash)? Yes![]() [2016-1-24. : 4:00 am] O)FaRTy1billion[MM] -- If I do selection circle stuff, I haven't gotten it from SC yet ![]() [2016-1-24. : 3:57 am] Moose -- Except afterwards you realize he's probably not wrong and how absolutely horrifying that is.[2016-1-24. : 3:54 am] Doodle77 -- jjf28jjf28 shouted: if you're on/have time, mind seeing if that still compiles in mingw doodle? it works in VS now, just wanna be sure before merging it yes[2016-1-24. : 3:53 am] Moose -- jjf28jjf28 shouted: also having interviewed recently: wouldn't it be undefined behavior (usually resulting crash)? It's C++, do you have to ask? XDDDDDDD![]() [2016-1-24. : 3:52 am] jjf28 -- also having interviewed recently: wouldn't it be undefined behavior (usually resulting crash)? ![]() [2016-1-24. : 3:51 am] jjf28 -- if something crashes you did it wrong imo (SCMDraft crashing when you put in UnitID 228 smh)[2016-1-24. : 3:48 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: FaRTy1billion not terribly important, it would be nice to have a default case for out of bounds "paletteType"s tho They just crash SC but we could just add some error checking[2016-1-24. : 3:48 am] Moose -- That would actually be pretty dumb, though, considering SCBW is written in C++.[2016-1-24. : 3:47 am] Moose -- jjf28jjf28 shouted: w/e's easiest and doesn't end up looking like crap HOW ABOUT CHANGING LANGUAGES, LMAO![]() [2016-1-24. : 3:46 am] Moose -- jjf28jjf28 shouted: w/e's easiest and doesn't end up looking like crap Stop giving me ammunition to troll XDDDDDDDDD![]() [2016-1-24. : 3:42 am] jjf28 -- but if you make that call in multiple places... you might end up putting that switch in a function and pretty much emulating the exact behavior of a function array anyways xD[2016-1-24. : 3:39 am] jjf28 -- and to see what you're actually calling at the place it's called rather than find the array declaration[2016-1-24. : 3:38 am] jjf28 -- FaRTy1billionFaRTy1billion shouted: ;o I'm getting to drawfunctions ... Should I use function pointers like SC, or switch cases? not terribly important, it would be nice to have a default case for out of bounds "paletteType"s tho[2016-1-24. : 3:38 am] Moose -- Use function pointers, it'll deter newbies who would ruin the code from working on it X^DDDDDDDD[2016-1-24. : 3:36 am] O)FaRTy1billion[MM] -- image->updateFunction = imgUpdateFxns[image->paletteType].func;[2016-1-24. : 3:35 am] O)FaRTy1billion[MM] -- ;o I'm getting to drawfunctions ... Should I use function pointers like SC, or switch cases?[2016-1-24. : 3:35 am] O)FaRTy1billion[MM] -- bit array, drawbuffer, whatever .. but I haven't looked in to it[2016-1-24. : 3:35 am] O)FaRTy1billion[MM] -- I think it just has the thing I said, you just update the texture with your bit array[2016-1-24. : 3:33 am] jjf28 -- FaRTy1billionFaRTy1billion shouted: I'm not sure how this would be done with opengl, unless you just constantly re-update a texture's bits with the drawbuffer I'm sure it has SetDIBits equivalents, what I'm really hoping is that it has well optimized stuff for setting some bits, drawing text on top of it, and then setting some more, it's super sucky to SetBits-SetBitsToContext-DrawText-GetContextBits-SetBitsToContext and all that inside double buffering[2016-1-24. : 3:30 am] Moose -- Actually, I don't know. Never really looked at one. Used make a bunch to build things from source tho.[2016-1-24. : 3:29 am] O)FaRTy1billion[MM] -- I'm not sure how this would be done with opengl, unless you just constantly re-update a texture's bits with the drawbuffer[2016-1-24. : 3:29 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: can you compile <windows.h> dependent code on Linux? a lot of times linux versions just have windows.h with some windows-specific defines![]() [2016-1-24. : 3:28 am] Moose -- Won't know until I try. WINE was able to run chkdraft the last time I tried tho[2016-1-24. : 3:28 am] jjf28 -- long term I wanna replace all the code with openGL/Qt but it's definitely not there yet[2016-1-24. : 3:27 am] jjf28 -- if you're on/have time, mind seeing if that still compiles in mingw doodle? it works in VS now, just wanna be sure before merging it[2016-1-24. : 3:24 am] jjf28 -- as a user I like my programs to just the executables when/e possible; I guess moreso it's just that I find it a irksome to have one version use the static version and one the dynamic ![]() [2016-1-24. : 3:12 am] jjf28 -- it has no respect for layering or anything, just needed some selection graphics ![]() [2016-1-24. : 3:10 am] O)FaRTy1billion[MM] -- SC adds them to the sprite's imagelist and has a bunch of code for it, I just commented it all out ![]() [2016-1-24. : 2:58 am] O)FaRTy1billion[MM] -- Do you draw selection circles, or should I retain that code in SC?[2016-1-24. : 2:34 am] jjf28 -- yea, it seems to use different icons for files with uncommitted changes, other than that I haven't a clue what VS does with github ![]() [2016-1-24. : 2:33 am] O)FaRTy1billion[MM] -- I think vs already knows I put it there. ;o I opened my old sln and it said "Opening repositories: D:\Documents\GitHub\Chkdraft"[2016-1-24. : 2:32 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: can nudge me when you have something compileable (or that you just wanna share) and I can help you through it quicker that's sort of what I was planning on. My friend just had me get the git desktop thing so I figured I'd add chkd to it xD[2016-1-24. : 2:31 am] jjf28 -- can nudge me when you have something compileable (or that you just wanna share) and I can help you through it quicker[2016-1-24. : 2:31 am] jjf28 -- here's the nuts and bolts https://youtu.be/0fKg7e37bQE https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf[2016-1-24. : 2:29 am] O)FaRTy1billion[MM] -- Also I just added all the functions to the graphics class, and then made a graphics2.cpp and put the definitions there XD[2016-1-24. : 2:29 am] O)FaRTy1billion[MM] -- I figured once I get it at least not broken I could add it or something[2016-1-24. : 2:28 am] O)FaRTy1billion[MM] -- I'm still sifting through it updating to use chkd's stuff and not be hastily typed code based on the ASM I read[2016-1-24. : 2:28 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: write a few words in the summary and hit commit, then hit sync The stuff I added doesn't do anything yet, and it's all still errors and broken[2016-1-24. : 2:27 am] O)FaRTy1billion[MM] -- jjf28jjf28 shouted: in jargon: clone chkdraft to some folder on your comp, then copy the source files folder to wherever you cloned too I already did that xD[2016-1-24. : 2:26 am] jjf28 -- in jargon: clone chkdraft to some folder on your comp, then copy the source files folder to wherever you cloned too[2016-1-24. : 2:26 am] O)FaRTy1billion[MM] -- I think it downloaded master and not the development one[2016-1-24. : 2:26 am] O)FaRTy1billion[MM] -- My friend had me install git desktop thingy, and I did the thing where I download it |
Ultraviolet