Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Plugins
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by aliask - 2007-05-09
Last edited by aliask - 2007-08-02

FS#7136 - Turn based strategy Game (DOS clone)

This is a work in progress clone of the old DOS game “Super Domination” (http://www.prophecybbs.org/usrfiles/CDROM002/GAMES/SUPERDOM.ZIP), currently playable on IRiver H100, H300, iPod 4G (colour and mono), nano, iAudio X5 and M5.

The general idea of the game is to take over the map by placing resources (tanks, men, planes etc) on squares to overpower the adjacent computer controlled squares.
The game is playable (but you can’t actually win yet, the computer will never give up), but needs a lot more work before I think it is done.

What needs fixing:
- There is a bug in the game menu where you cannot quit (probably not hard to fix)
- The score calculation code is quite ugly, but I can’t think of a better way to implement it.
- The AI is pretty basic
- The graphics I’ve made are pretty bad. (anybody good at pixel art?)
- Nukes haven’t been properly implemented yet (no fallout)

Stuff I’d like to implement:
- Settings for things like number of moves per turn, difficulty settings (which I think would be easiest to have a multiplier on the amount of cash generated), etc.
- Support for portrait displays (not exactly sure how to accomplish this, it’s pretty packed as it is)

Anyway, stick the bitmaps in /apps/plugins/bitmaps (native/ for the 16bit ones and mono/ for the mono one), apply the patch, and all should be fine to compile…

Closed by  aliask
2007-08-02 12:56
Reason for closing:  Accepted

Add H10 (20gb) support, and kill that ingame menu bug.

Fix a silly bug that prevented the actual game from being played…

Would it be hard to make this work on iPod 5G ? (easy fix would be to make it use only parts of the screen)

New version of the patch. Added iPod 5G graphics, and fixed a bug in the ipod clickwheel code.
I can’t remember if loading a game works. In any case, I need to update the patch again if only to remove redundant code.

Another new version. Redundant “Load” option in menu removed. To load a game, simply open it from the file browser.
Game settings implemented, including the number of starting farms/factories for both computer and human players. Starting cash/food is also changable, as is the number of moves per turn.

Still to come:
-saving the custom settings along with the rest of the game data in savegames
-make the computer surrender at some point
-portrait displays

-Some bugfixes.
-Settings are now saved/loaded with the savegame.
-Can now win/lose the game.

Now the main thing that needs to be done is support for portrait display devices.

Sansa and Gigabeat are now supported.
The sansa could do with it’s own set of icons, the current ones are the ones for the nano, which are functional, but not fantastic.
Again, I invite people who are good at this sort of thing to take a look.
This is probably the last I’ll work on this for a little while at least, unless somebody prods me into action.

Thanks for the iPod Video version. Do you have a description of the game somewhere? (like … help :p)

Do you think that this is ready for inclusion in SVN, or are there still key features missing?

I’ve added a help section in the main menu. It’s hardly ideal, but it gives an overview of the game. I think a manual entry would be better suited, as it is difficult to go into any real detail on the player.

If it gets committed then I’ll write a manual entry, but if it’s just going to stay in the tracker I don’t think I’ll bother. (who builds their own manual?)

And here’s the patch.

Patch applies cleanly but build fails on “make[3]: *** No rule to make target `superdom_boarditems.220x176x16.bmp’, needed by `/home/nick/Rockbox/20070713/rockbox_svn/apps/plugins/bitmaps/native/superdom_boarditems.220x176x16.c’. Stop.” Target is an iRiver H300.
Sounds like a great game, I look forward to playing it.

Did you download the bitmap and place it in the /apps/plugins/bitmaps/native directory?

No, sorry for wasting your time.
I will and thank you for your help :)

No worries. Hope you enjoy.

Ok i added the file, which has fixed that issue although now i am getting a warning and my build fails with
CC superdom.c
superdom.c: In function `movement_menu’:
superdom.c:1220: warning: ‘menu_quit’ might be used uninitialized in this function
LD superdom.elf
/home/nick/Rockbox/20070713-3/rockbox_svn/apps/plugins/superdom.o: In function `get_number’:
superdom.c:(.text+0×1616): undefined reference to `memcpy’ collect2: ld returned 1 exit status
make[2]: *** [/home/nick/Rockbox/20070713-3/rockbox_svn/apps/plugins/superdom.elf] Error 1

I’m not supprised I missed that memcpy thing - I think it’s some quirk in the compiler for coldfire. I’ve got a fix here which isn’t as elegant as the original, but it’ll do.

Unless someone objects I’ll commit this in a few days.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing