Search found 339 matches

by Tomi
Sat Jan 10, 2009 3:47 pm
Forum: Programmer's Corner
Topic: Editor scrolling crash - debugged in-depth
Replies: 9
Views: 10388

Re: Editor scrolling crash - debugged in-depth

i know a little assembly. that code fragment looks like a memcpy() from some address 0x8152900 onto the stack -0xb8(%ebp) length 96 (0x18*4) bytes. could also be a struct assignment? make sure you compile with -g Then my guess was correct, thanks. The question is, why does it generate an "invalid w...
by Tomi
Fri Jan 02, 2009 5:41 pm
Forum: New Ideas
Topic: Old ideas
Replies: 1
Views: 4450

Old ideas

I'm not sure what's the proper etiquette in this situation: should I revive *very* old threads, or create new ones? I decided to create one thread that lists them. Anyway, I digress. There are several ideas that were left unimplemented, and possibly forgotten. (But I can't be sure about that, and if...
by Tomi
Fri Jan 02, 2009 4:35 pm
Forum: Bug Reports
Topic: Zelda I doesn't work properly in 3.2.6.0
Replies: 12
Views: 7559

Zelda I doesn't work properly in 3.2.6.0

1. A wall near the center of the screen has incorrect texture. (Maybe associated with the "wheel"/"amoeba" bugs in the past.) 2. Texts (when you get an item) display incorrectly. Both bugs above are "graphical" - maybe existing tapes still work. But I wouldn't bet on it. This looks like an engine in...
by Tomi
Fri Jan 02, 2009 4:25 pm
Forum: New Ideas
Topic: Querying inventory content
Replies: 0
Views: 4299

Querying inventory content

An inventory system has been on RnD's feature request lists for a long time. Although RnD has an "inventory" which can contain various CEs and objects (dynamites/disks), it's only LIFO, and the player can't choose what to drop (or throw) next. Over the time, various improvements have been made, in p...
by Tomi
Fri Jan 02, 2009 3:47 pm
Forum: Programmer's Corner
Topic: Editor scrolling crash - debugged in-depth
Replies: 9
Views: 10388

Editor scrolling crash - debugged in-depth

A few days ago I started playing 3.2.6.0. Unfortunately, it crashed with "Floating point exception". A lot. Not just in the editor (as already reported), even in game. If I'm not mistaken, it crashes when you collect an inventory object or key while scrolling up/left. But not always. (Note: Others h...
by Tomi
Fri Jun 20, 2008 6:25 pm
Forum: Programmer's Corner
Topic: One little program
Replies: 7
Views: 12210

Long time no see! I know this is an old topic, but I felt it's better to post this here, instead of starting a new one. I've made another program, similar to the other ones in that the whole program body is in one 'return' statement. However, this one is actually interactive. IMPORTANT: This won't w...
by Tomi
Thu Nov 08, 2007 3:51 pm
Forum: General Discussion
Topic: how to play internet multiplayer games in Windows:
Replies: 13
Views: 15118

Actually, a few lines higher:

Code: Select all

Usage: rocksndiamonds [OPTION]... [HOSTNAME [PORT]]
by Tomi
Sun Sep 16, 2007 12:17 pm
Forum: Programmer's Corner
Topic: Problems building 3.2.4
Replies: 3
Views: 7500

Um, isn't it SDL_image that handles loading PCX files?
by Tomi
Sat Sep 15, 2007 2:53 pm
Forum: Programmer's Corner
Topic: Problems building 3.2.4
Replies: 3
Views: 7500

Problems building 3.2.4

Building RnD 3.2.4 fails with this error: screens.o: In function `DrawInfoScreen_Version': screens.c:(.text+0x9413): undefined reference to `SDL_NET_VERSION' screens.c:(.text+0x9418): undefined reference to `SDLNet_Linked_Version' collect2: ld returned 1 exit status And really, there is no SDL_NET_V...
by Tomi
Sat Sep 15, 2007 2:36 pm
Forum: Help
Topic: Updating R&D
Replies: 7
Views: 10375

Wouldn't the installer erase the levels directory in RnD program dir? (When I download a levelset I put it there, so all the users can play it.)
by Tomi
Tue Aug 28, 2007 9:00 am
Forum: Programmer's Corner
Topic: Internationalization
Replies: 11
Views: 13162

By all means, use whatever translating program you wish! But the internal i18n system used in the game should be gettext and .po files, just to be future-proof. That's all I wanted to say.
by Tomi
Tue Aug 28, 2007 8:13 am
Forum: Programmer's Corner
Topic: Internationalization
Replies: 11
Views: 13162

The problems Holger said are all true, but if you're going to work on it, I suggest using gettext: - gettext is a full-featured i18n library - everybody else uses it - there already are *many* translating programs, but all use gettext .po files - it supports language-specific plurals and all sorts o...
by Tomi
Sun Aug 26, 2007 3:04 pm
Forum: Bug Reports
Topic: Copying walkable CE between levels
Replies: 5
Views: 6603

I use copy+paste sometimes (although often than copy+paste of changepages), but almost never between levels.
by Tomi
Sun Aug 26, 2007 3:02 pm
Forum: Help
Topic: "Move player" not working
Replies: 5
Views: 6739

[obsolete info]Is it possible to somehow workaround it, or I'll have to wait for the next version? (I see that at the moment you probably don't know much about how the bug works, so post something when you'll know more.)[/obsolete info] The action is (almost...) crucial for a wraparound technique I'...
by Tomi
Sun Aug 26, 2007 8:49 am
Forum: Help
Topic: "Move player" not working
Replies: 5
Views: 6739

"Move player" not working

I have a CE that does this: - can move down - when touching normal wall (at any side) --- move player down In an area like this: SCSS (C=CE, S=sand, W=wall, -=empty) S-WS (I'm too lazy to use levelsketch) S-WS S-WS SSSS However, the player doesn't move at all. (This was tested in 3.2.3 and 3.2.4-1.)...