increpare
Guest
|
|
« on: May 10, 2008, 02:55:19 PM » |
|
When I started my current project, (which I decided) I figured I could get by storing the various graphs and trees I was interested in in adjacency matrices, but I'm starting to get a bit irritated with having to refer to pretty much every little thing as something as manifestly exhibiting of redundancy as word[ROOM_OBJECT_DESCRIPTION[items[rooms[houses[house].room[f]].item[g]].description]] Hopefully I'll be able to go on without having to recode everything, but gosh it's annoying.
|
|
« Last Edit: May 10, 2008, 02:57:24 PM by increpare »
|
Logged
|
|
|
|
Klaim
|
|
« Reply #1 on: May 11, 2008, 06:54:23 AM » |
|
|
|
|
Logged
|
|
|
|
increpare
Guest
|
|
« Reply #2 on: May 11, 2008, 07:23:50 AM » |
|
|
|
|
Logged
|
|
|
|
Klaim
|
|
« Reply #3 on: May 11, 2008, 08:28:33 AM » |
|
It seems you're grumpy
|
|
|
Logged
|
|
|
|
increpare
Guest
|
|
« Reply #4 on: July 02, 2008, 04:35:59 PM » |
|
|
|
|
Logged
|
|
|
|
Zaphos
Guest
|
|
« Reply #5 on: July 02, 2008, 08:01:35 PM » |
|
What does an 'angle function' do? atan2?
|
|
|
Logged
|
|
|
|
increpare
Guest
|
|
« Reply #6 on: July 03, 2008, 01:57:41 AM » |
|
What does an 'angle function' do? atan2?
It should have given the clockwise angle between the (1,0) vector and a given vector. So I had somethign like atan2, only I did something really weird to correct the angle, instead of returning 180-atan2 if y<0. Edit: OOPS, I had no idea that atan2 did that (I was using acos I think in my original implementation. Gosh. Should really use that instead for the time being. This is almost as bad as spending a couple of years with PHP before learning of the stripslash function ... So: thanks!
|
|
« Last Edit: July 03, 2008, 02:02:41 AM by increpare »
|
Logged
|
|
|
|
Alex May
...is probably drunk right now.
Level 10
hen hao wan
|
|
« Reply #7 on: July 03, 2008, 07:46:27 AM » |
|
fuck everything. especially sony's psp memory stick library programmers. fuck them good.
|
|
|
Logged
|
|
|
|
Ryan
Level 1
|
|
« Reply #8 on: July 03, 2008, 07:47:55 PM » |
|
I hate the warnings in gcc that tell me I don't have an extra newline at the end of my documents. I hate how SDL does weird magic for your main function and how it reroutes your stdout to a text file instead of the console. I hate having to use the win32 api, it consistently defines constants and functions with names that I would like to use in my programs. I hate wxWidgets, I wish there was something better that wasn't so darn huge.
|
|
|
Logged
|
|
|
|
mjau
|
|
« Reply #9 on: July 04, 2008, 12:21:23 PM » |
|
I hate how SDL does weird magic for your main function and how it reroutes your stdout to a text file instead of the console. You can disable the stdout redirect. (There's a configure option. You need to compile SDL from source, but the main part is statically linked so you can still use an official dll for dist.) I hate having to use the win32 api, it consistently defines constants and functions with names that I would like to use in my programs. X is worse. It also defines macros with commonly used names. You're in for a fun time when it starts renaming your stuff.
|
|
|
Logged
|
|
|
|
Ryan
Level 1
|
|
« Reply #10 on: July 05, 2008, 05:18:13 PM » |
|
You can disable the stdout redirect. (There's a configure option. You need to compile SDL from source, but the main part is statically linked so you can still use an official dll for dist.) Bollocks, compiling the library myself with a define of NO_STDIO_REDIRECT to gain back functionality the library strips away is plain hogwash, good sir. The designers did indeed make some less than satisfactory decisions. I agree on Xlib, probably the worst library ever, so confusing.
|
|
|
Logged
|
|
|
|
Gravious
|
|
« Reply #11 on: July 06, 2008, 10:00:11 AM » |
|
Hello, I'm Gravious, I'm 31, a programmer and I'm grumpy.
|
|
|
Logged
|
One day I'll think about doing something to stop procrastinating.
|
|
|
Ivan
Owl Country
Level 10
alright, let's see what we can see
|
|
« Reply #12 on: July 06, 2008, 10:02:13 AM » |
|
I'm hungover.
|
|
|
Logged
|
|
|
|
Melly
|
|
« Reply #13 on: July 06, 2008, 03:52:15 PM » |
|
"expected `;' before '(' token "
|
|
|
Logged
|
|
|
|
increpare
Guest
|
|
« Reply #14 on: July 07, 2008, 03:59:24 AM » |
|
|
|
|
Logged
|
|
|
|
ravuya
|
|
« Reply #15 on: July 07, 2008, 04:36:33 AM » |
|
I'm grumpy that so many good games have been released lately. Maybe now that the summer is upon us, I can get some work done again.
|
|
|
Logged
|
|
|
|
joshg
|
|
« Reply #16 on: July 07, 2008, 11:27:21 AM » |
|
Tracking down a missing semicolon in a header file = annoying.
Having to have that semicolon there in the first place (at the end of a class definition) is stupid anyway.
|
|
|
Logged
|
these are from an actual radio shack in the ghetto
|
|
|
Zaknafein
|
|
« Reply #17 on: July 07, 2008, 12:05:42 PM » |
|
|
|
|
Logged
|
|
|
|
increpare
Guest
|
|
« Reply #18 on: July 07, 2008, 01:26:34 PM » |
|
Having to have that semicolon there in the first place (at the end of a class definition) is stupid anyway.
verily I don't like cold-folding. It stresses me out.
|
|
|
Logged
|
|
|
|
joshg
|
|
« Reply #19 on: July 07, 2008, 03:58:43 PM » |
|
I've liked code folding sometimes, but only to hide functions that I don't care about right now (eg. if there's a huge friggin' file and I'm sick of scrolling ten pages down every time I open it to get at the one bit I need). Probably I could get around this with another technique, like quick searching in a hardcore editor (vim / emacs).
Folding out subsections of a single function/method is frickin' bizarre and would totally make me grumpy.
|
|
|
Logged
|
these are from an actual radio shack in the ghetto
|
|
|
|