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 « 1960 1961 1962 1963 1964 … 3578 >

[2016-1-29. : 6:12 am]
O)FaRTy1billion[MM] -- is it better to do like GRP* grp, or GRP *grp
[2016-1-29. : 6:06 am]
O)FaRTy1billion[MM] -- ... Most just call a different one changing a few things, but still.
[2016-1-29. : 6:05 am]
O)FaRTy1billion[MM] -- Also because 27 draw functions is insane. :P
[2016-1-29. : 6:00 am]
O)FaRTy1billion[MM] -- it's super redundant
[2016-1-29. : 6:00 am]
O)FaRTy1billion[MM] -- They'd just be copypasted but with the 1 line changed that you have as an if currently ;o
[2016-1-29. : 6:00 am]
jjf28 -- separate funcs would be fine
[2016-1-29. : 6:00 am]
O)FaRTy1billion[MM] -- Like in current chkd place a left and a right door, that's where flipped is used
[2016-1-29. : 5:59 am]
O)FaRTy1billion[MM] -- Probably because you don't use it, but units are drawn flipped sometimes
[2016-1-29. : 5:59 am]
jjf28 -- I don't consider calling the function with a written in "false" for the param each time using it :P
[2016-1-29. : 5:58 am]
O)FaRTy1billion[MM] -- that imgRenderFxns array is copy+pasted from SC :P
[2016-1-29. : 5:58 am]
O)FaRTy1billion[MM] -- SC has separate flip functions, I think I might re-add the flip parameter and get rid of that because it's super redundant
[2016-1-29. : 5:58 am]
O)FaRTy1billion[MM] -- You do use it
[2016-1-29. : 5:57 am]
jjf28 -- SEN wiki is missing the opcodes tho
[2016-1-29. : 5:56 am]
jjf28 -- perhaps it was part of the iscript render calls, may need it
[2016-1-29. : 5:54 am]
jjf28 -- but I didn't use it anywhere
[2016-1-29. : 5:54 am]
jjf28 -- for some reason I have a flipped parameter
[2016-1-29. : 5:53 am]
O)FaRTy1billion[MM] -- And the typedef needs to be like that because it's referenced in classes that aren't part of the graphics class
[2016-1-29. : 5:52 am]
O)FaRTy1billion[MM] -- I'm going to rename the functions, that's just what they were listed as in the bw map from bwapi or whatever
[2016-1-29. : 5:52 am]
O)FaRTy1billion[MM] -- with = { { DRAW_NORMAL, imageRenderFxn0_0, imageRenderFxn0_1 }, (etc)
[2016-1-29. : 5:51 am]
O)FaRTy1billion[MM] -- :P
[2016-1-29. : 5:51 am]
O)FaRTy1billion[MM] -- Also what I was saying I hope nobody yells at me for was: static constexpr const struct { int id; // Reference only, I guess RenderFunction norm; RenderFunction flip; } imgRenderFxns[18]
[2016-1-29. : 5:51 am]
O)FaRTy1billion[MM] -- Also, yes.
[2016-1-29. : 5:50 am]
O)FaRTy1billion[MM] -- x,y are same as your UnitXC and YC, grpRect is stuff that SC calculates before calling that you calculate in the function, and ColoringData is a bunch of shit SC throws around for certain draw functions
[2016-1-29. : 5:50 am]
jjf28 -- wtf, you can typedef a function pointer that must belong to a specific class? xD
[2016-1-29. : 5:49 am]
O)FaRTy1billion[MM] -- typedef void (Graphics::*RenderFunction)(ChkdBitmap& bitmap, int x, int y, GRP *grp, int frame, RECT *grpRect, ColoringData colorData); Is there anything I should include instead of reading from Graphics variables? :P
[2016-1-29. : 5:48 am]
Corbo -- That's probably a really bad code anyway ;o
[2016-1-29. : 5:46 am]
Corbo -- Farty helped. but :D
[2016-1-29. : 5:45 am]
Corbo -- http://pastebin.com/fsZ7NJLz
[2016-1-29. : 5:42 am]
O)FaRTy1billion[MM] -- I was also considering adding font-rendering functions :P
[2016-1-29. : 5:42 am]
jjf28 -- ya know, unless I want to use EUPs lobby hacks and key hostages to psedo-admin BNET :P
[2016-1-29. : 5:41 am]
O)FaRTy1billion[MM] -- ya, I just like reading directly from mpqs .. so much cleaner :P
[2016-1-29. : 5:41 am]
jjf28 -- if we have the font files I doubt I'd have much use for the decrypter
[2016-1-29. : 5:40 am]
O)FaRTy1billion[MM] -- I was considering adding code to read them, but the code I have I promised DoA I wouldn't share, and especially on open projects, since it decrypts a lot more than fonts ;o
[2016-1-29. : 5:40 am]
jjf28 -- so on purpose at one point, not on purpose now :P
[2016-1-29. : 5:40 am]
jjf28 -- there wasn't originally a graphics class, those methods were moved inside later
[2016-1-29. : 5:40 am]
O)FaRTy1billion[MM] -- Yes
[2016-1-29. : 5:40 am]
O)FaRTy1billion[MM] -- You pass so many things that are already visible variables. Is that on purpose? :P
[2016-1-29. : 5:40 am]
jjf28 -- would you happen to have a decrypted copy of SC's fonts?
[2016-1-29. : 5:38 am]
O)FaRTy1billion[MM] -- and then just add the buffer reference
[2016-1-29. : 5:37 am]
O)FaRTy1billion[MM] -- o. I think I'll just use the class screenLeft/Top/Width/Height ones instead of passing them as arguments like you did
[2016-1-29. : 5:35 am]
jjf28 -- pretty sure my functions are just obfuscated or cleaned up versions of yours :wob:
[2016-1-29. : 5:34 am]
O)FaRTy1billion[MM] -- I'm trying to figure out what I need to add in my render function typedef :P
[2016-1-29. : 5:31 am]
O)FaRTy1billion[MM] -- Except that's fine. The function that calls it has the code for that, so it makes little difference
[2016-1-29. : 5:31 am]
O)FaRTy1billion[MM] -- The only thing you do really different is passing the whole grp, SC passes the GPR frame, but yours doesn't work like that
[2016-1-29. : 5:27 am]
O)FaRTy1billion[MM] -- It does it before drawing
[2016-1-29. : 5:27 am]
O)FaRTy1billion[MM] -- I guess you do too, just on draw
[2016-1-29. : 5:27 am]
O)FaRTy1billion[MM] -- Well SC does it for each image
[2016-1-29. : 5:26 am]
jjf28 -- that's probably a sign I wrote it poorly xD
[2016-1-29. : 5:26 am]
jjf28 -- damn
[2016-1-29. : 5:25 am]
O)FaRTy1billion[MM] -- cool, your code is very similar to how SC does it, which makes it very easy :P
[2016-1-29. : 5:25 am]
O)FaRTy1billion[MM] -- It is, I found it
[2016-1-29. : 5:25 am]
jjf28 -- probably
[2016-1-29. : 5:22 am]
O)FaRTy1billion[MM] -- ChkdBitmap& bitmap, u16 &bitWidth, u16 &bitHeight, s32 &xStart, s32 &yStart is bitmap the buffer, bit width/height the dimensions, and is x/ystart like the screen position?
[2016-1-29. : 5:18 am]
jjf28 -- i'll try em but historically it means the git operations are 80% harder
[2016-1-29. : 5:18 am]
O)FaRTy1billion[MM] -- Does htat just mean it compiles them separate, but included in the solution or whatever?
[2016-1-29. : 5:16 am]
jjf28 -- uh oh, sob-modules
[2016-1-29. : 5:16 am]
Doodle77 -- jjf28 check it out: https://github.com/mdejean/Chkdraft/tree/submodule
[2016-1-29. : 5:14 am]
O)FaRTy1billion[MM] -- but I'm tired and lazy :P
[2016-1-29. : 5:10 am]
Corbo -- you'll probably take only an hour in the homework
[2016-1-29. : 5:10 am]
Corbo -- do the homework then you can freely do chkdraft
[2016-1-29. : 5:08 am]
O)FaRTy1billion[MM] -- should I work on homework that's due in 25 hours or chkd draw routines? :P
[2016-1-29. : 4:54 am]
jjf28 -- Corbo
Corbo shouted: jjf28 Fair enough ;o
:wob:
[2016-1-29. : 4:49 am]
Corbo -- FaRTy1billion
FaRTy1billion shouted: Corbo I think they are generally square
i just realised that. I am making my own atm.
[2016-1-29. : 4:49 am]
Corbo -- jjf28
jjf28 shouted: hard to say, when I look at you these days I find it hard to see past the evil
Fair enough ;o
[2016-1-29. : 4:48 am]
O)FaRTy1billion[MM] -- I wanna do more chkd graphics stuff, but I should ptobably do homework
[2016-1-29. : 4:47 am]
O)FaRTy1billion[MM] -- Corbo
Corbo shouted: What's a GRP that's not a square
I think they are generally square
[2016-1-29. : 4:47 am]
jjf28 -- hard to say, when I look at you these days I find it hard to see past the evil
[2016-1-29. : 4:44 am]
Corbo -- Are you proud of me? ;o
[2016-1-29. : 4:44 am]
Corbo -- hey jjf, i made aprogram that does SC stuff :D
[2016-1-29. : 4:43 am]
jjf28 -- .. i'd guess

Pages: < 1 « 1960 1961 1962 1963 1964 … 3578 >


Members Online: ReemSultan