Kuribo64
Views: 20,067,991 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-27-24 06:21 AM
Guest:

0 users reading Obj_args display -- decimal or hex? | 1 bot

Main - Archived forums - SMG hacking tools development - Obj_args display -- decimal or hex? Hide post layouts | New reply


Should Obj_args and such be displayed as decimal or hex?
Decimal
14.3% (1)
Hex
14.3% (1)
Both (option to switch)
71.4% (5)
Multiple voting is not allowed. Changing your vote is allowed. 7 users have voted so far.

Arisotura
Posted on 12-22-12 12:12 AM Link | #1969
Until now, Obj_args have always been displayed in hex, in both Whitehole and the ObjectDB.

But I figured, why? Decimal feels more natural to a lot of people. Hex is only really useful when you have bitmasks and similar things, which shouldn't be the case in SMG given the number of Obj_args available.

So I decided that the next Whitehole release will display Obj_args in decimal format. And changed the ObjectDB accordingly.


Now, I'm curious about people's opinions. Am I going to face a wave of complaints for having done that without consulting anyone?

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

NWPlayer123
Posted on 12-22-12 02:50 AM Link | #1991
Both, it depends because there are times where hex is needed to make a connection in the maps and other times where decimal is needed. I know from experience. So in effect there really is no need to have this

____________________
"I hate playing musical chats" ~ Quote of the month

Arisotura
Posted on 12-22-12 11:09 AM Link | #1994
Interesting. What do you mean by 'a connection in the maps', anyway?

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

NWPlayer123
Posted on 12-22-12 06:44 PM Link | #2012
Like, for hex I think it's easier for things like fog with controlling the color, but in other instances like most objects it would be like decimal

____________________
"I hate playing musical chats" ~ Quote of the month

Arisotura
Posted on 12-22-12 07:05 PM Link | #2013
Interesting. Is fog a standard object or something else? Because then I could even add a color picker in Whitehole for that.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

shibboleet
Posted on 12-22-12 07:17 PM Link | #2014
Fog?
PostFogArea in AreaObjInfo?

____________________
a

Arisotura
Posted on 12-22-12 07:21 PM Link | #2015
I looked at the Obj_args used for PostFogArea. It appears that each color component is stored in a separate Obj_arg.

Hex would have made sense if all the components were stored together. But in this case, decimal can work fine.

What gets trickier will be implementing a color picker thing in Whitehole.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Tahcryon
Posted on 12-23-12 07:27 AM Link | #2039
I say both :3

____________________


[04/15/2018]gridatttack: I still think the whole smg2.5 team are still in middle school lol
[04/15/2018]gridatttack: and they are 14yrs old
__________

cosmological: There's no one in Russia who doesn't agree with Putin, probably because his ideas are that great



Arisotura
Posted on 12-23-12 12:06 PM Link | #2041
Blarg blarg. The 'both' option is actually the hardest to implement. I have to add switches to both the ObjectDB and Whitehole. Blarg.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

Stygmax
Posted on 12-23-12 02:34 PM Link | #2047
I know, but it's clearly the majority vote. :P
Status: It was really, really fun, guys - thanks for the ride!

Tahcryon
Posted on 12-23-12 04:47 PM Link | #2059
Posted by Mega-Mario
Blarg blarg. The 'both' option is actually the hardest to implement. I have to add switches to both the ObjectDB and Whitehole. Blarg.


Well, nothing is easy in a programmer's life :P

____________________


[04/15/2018]gridatttack: I still think the whole smg2.5 team are still in middle school lol
[04/15/2018]gridatttack: and they are 14yrs old
__________

cosmological: There's no one in Russia who doesn't agree with Putin, probably because his ideas are that great




Main - Archived forums - SMG hacking tools development - Obj_args display -- decimal or hex? Hide post layouts | New reply

Page rendered in 0.045 seconds. (2048KB of memory used)
MySQL - queries: 31, rows: 221/221, time: 0.014 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.