Members in Shoutbox
None.

Shoutbox Search
Search for:


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.
Pages: < 1 « 1971 1972 1973 1974 1975 … 3578 >

[2016-1-24. : 4:51 am]
O)FaRTy1billion[MM] -- This particular function uses the mapScrollX, mapScrollY, and then constants 640 (screen width) and 400 (screen height) :P
[2016-1-24. : 4:50 am]
jjf28 -- lesee...
[2016-1-24. : 4:49 am]
O)FaRTy1billion[MM] -- oh, I guess it's screenWidth/Height. Even better. XD
[2016-1-24. : 4:48 am]
O)FaRTy1billion[MM] -- in graphics
[2016-1-24. : 4:48 am]
O)FaRTy1billion[MM] -- is screenLeft/Top/Right/Bottom the visible area of the map?
[2016-1-24. : 4:43 am]
jjf28 -- should be there, reload the file if your intellisense is broken, include "Chkdraft.h" at the top of the cpp if it isn't
[2016-1-24. : 4:43 am]
O)FaRTy1billion[MM] -- I'm in graphics
[2016-1-24. : 4:42 am]
jjf28 -- are you in a file in mapping core perhaps?
[2016-1-24. : 4:42 am]
jjf28 -- uhh
[2016-1-24. : 4:42 am]
O)FaRTy1billion[MM] -- I need it
[2016-1-24. : 4:42 am]
O)FaRTy1billion[MM] -- why does chkd.maps.curr not show up in vs? D:
[2016-1-24. : 4:30 am]
jjf28 -- leaving semicolons off at the end of a class at the end of a file: absolute nightmare
[2016-1-24. : 4:29 am]
O)FaRTy1billion[MM] -- Not as bad as missing semicolons
[2016-1-24. : 4:18 am]
O)FaRTy1billion[MM] -- That's what happens when I type code in notepad at work :P
[2016-1-24. : 4:17 am]
O)FaRTy1billion[MM] -- Case issue. One was typed wrong
[2016-1-24. : 4:17 am]
O)FaRTy1billion[MM] -- Oooh, I see the problem.
[2016-1-24. : 4:16 am]
O)FaRTy1billion[MM] -- Valid: ISCRIPT_CreateSprite(image, is_get(u16, isptr - 4), is_get(s8, isptr - 2), is_get(s8, isptr - 1), image->spriteOwner->elevationLevel + 1);
[2016-1-24. : 4:16 am]
O)FaRTy1billion[MM] -- VS keeps saying functions are undefined when 10 lines above the same function, with the same parameters, is valid. ;o
[2016-1-24. : 4:00 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 shouted: also having interviewed recently: wouldn't it be undefined behavior (usually resulting crash)? :P
Yes
[2016-1-24. : 4:00 am]
O)FaRTy1billion[MM] -- If I do selection circle stuff, I haven't gotten it from SC yet :P
[2016-1-24. : 3:58 am]
Dem0n -- smh
[2016-1-24. : 3:58 am]
Moose -- no, rage
[2016-1-24. : 3:57 am]
Dem0n -- moose, uswest
[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:56 am]
Moose -- https://youtu.be/IFqCJfUKlls laughing my ass off! :lol:
[2016-1-24. : 3:54 am]
Doodle77 -- jjf28
jjf28 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 -- jjf28
jjf28 shouted: also having interviewed recently: wouldn't it be undefined behavior (usually resulting crash)? :P
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)? :P
[2016-1-24. : 3:52 am]
Dem0n -- Dem0n
Dem0n shouted: Moose, come back inferno with me
bop**
[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:50 am]
Dem0n -- Moose, come back inferno with me
[2016-1-24. : 3:48 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 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 :P 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]
Dem0n -- Moose, please seek help
[2016-1-24. : 3:47 am]
Dem0n -- I can't remember the last time I saw him shout something serious
[2016-1-24. : 3:47 am]
Moose -- jjf28
jjf28 shouted: w/e's easiest and doesn't end up looking like crap :wob:
HOW ABOUT CHANGING LANGUAGES, LMAO
[2016-1-24. : 3:47 am]
Dem0n -- We've lost Moose to madness
[2016-1-24. : 3:47 am]
jjf28 -- we'll never know until you do it right!
[2016-1-24. : 3:47 am]
Moose -- YEAH YOU'D LIKE THAT WOULDN'T YOU
[2016-1-24. : 3:46 am]
jjf28 -- troll harder, your trolling has been ineffective :moose:
[2016-1-24. : 3:46 am]
Moose -- jjf28
jjf28 shouted: w/e's easiest and doesn't end up looking like crap :wob:
Stop giving me ammunition to troll XDDDDDDDDD
[2016-1-24. : 3:45 am]
jjf28 -- w/e's easiest and doesn't end up looking like crap :wob:
[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 -- FaRTy1billion
FaRTy1billion 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 -- FaRTy1billion
FaRTy1billion 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]
Moose -- I fucking love makefiles
[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]
jjf28 -- chkdraft has*
[2016-1-24. : 3:29 am]
jjf28 -- if you checkout the mingw branch it has a makefile now :wob:
[2016-1-24. : 3:29 am]
O)FaRTy1billion[MM] -- jjf28
jjf28 shouted: can you compile <windows.h> dependent code on Linux? :P
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:28 am]
jjf28 -- can you compile <windows.h> dependent code on Linux? :P
[2016-1-24. : 3:27 am]
Moose -- Should let me compile that shit on Linux lololololol
[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:25 am]
jjf28 -- @xboi/doodle
[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 :kame:
[2016-1-24. : 3:12 am]
jjf28 -- it has no respect for layering or anything, just needed some selection graphics :P
[2016-1-24. : 3:12 am]
jjf28 -- yea you can replace my old code
[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 :P
[2016-1-24. : 3:01 am]
jjf28 -- I draw selection circles in UnitToBits
[2016-1-24. : 2:59 am]
O)FaRTy1billion[MM] -- from SC*
[2016-1-24. : 2:58 am]
O)FaRTy1billion[MM] -- Do you draw selection circles, or should I retain that code in SC?

Pages: < 1 « 1971 1972 1973 1974 1975 … 3578 >


Members Online: Zycorax, MetalGear