supertux.git
20 years agoYet another change of old images to the old dir.
Ricardo Cruz [Tue, 27 Apr 2004 10:22:40 +0000 (10:22 +0000)]
Yet another change of old images to the old dir.
I guess we are now using new fresh graphics! Congrats, especially to Ingo!

SVN-Revision: 773

20 years agoImprove this file or leave it.
Ricardo Cruz [Tue, 27 Apr 2004 10:14:27 +0000 (10:14 +0000)]
Improve this file or leave it.

SVN-Revision: 772

20 years agoUpdated the documentation. There is still a few flaws.
Ricardo Cruz [Mon, 26 Apr 2004 22:11:41 +0000 (22:11 +0000)]
Updated the documentation. There is still a few flaws.
It would be usefull to have an English-speaker reading these, since my English sux a bit (being modest ;) ).

SVN-Revision: 771

20 years ago- more endseq stuff
Ingo Ruhnke [Mon, 26 Apr 2004 21:39:56 +0000 (21:39 +0000)]
- more endseq stuff

SVN-Revision: 770

20 years ago- little bugfix
Ingo Ruhnke [Mon, 26 Apr 2004 21:10:59 +0000 (21:10 +0000)]
- little bugfix

SVN-Revision: 769

20 years agobump patch for upgrades from matzeb
Ingo Ruhnke [Mon, 26 Apr 2004 21:09:31 +0000 (21:09 +0000)]
bump patch for upgrades from matzeb

SVN-Revision: 768

20 years agocredits for SuperTux development team
Duong-Khang Nguyen [Mon, 26 Apr 2004 20:46:44 +0000 (20:46 +0000)]
credits for SuperTux development team

SVN-Revision: 767

20 years ago- more endseq
Ingo Ruhnke [Mon, 26 Apr 2004 20:36:46 +0000 (20:36 +0000)]
- more endseq

SVN-Revision: 766

20 years ago- more endseq
Ingo Ruhnke [Mon, 26 Apr 2004 20:22:52 +0000 (20:22 +0000)]
- more endseq

SVN-Revision: 765

20 years ago- more endseq
Ingo Ruhnke [Mon, 26 Apr 2004 20:09:28 +0000 (20:09 +0000)]
- more endseq

SVN-Revision: 764

20 years ago- 'nother badguy fix from MatzeB:
Ingo Ruhnke [Mon, 26 Apr 2004 19:58:11 +0000 (19:58 +0000)]
- 'nother badguy fix from MatzeB:
<MatzeB> -fixes the bumping problem for badguys
<MatzeB> -implements bill kendricks proposal about helding iceblock (if you hit another enemy while

SVN-Revision: 763

20 years ago- fixed levels for new end seq code
Ingo Ruhnke [Mon, 26 Apr 2004 19:37:23 +0000 (19:37 +0000)]
- fixed levels for new end seq code

SVN-Revision: 762

20 years ago- added endseq/finalgoal tiles
Ingo Ruhnke [Mon, 26 Apr 2004 19:35:37 +0000 (19:35 +0000)]
- added endseq/finalgoal tiles

SVN-Revision: 761

20 years ago- new more bulletprof endsequence code patch from MatzeB
Ingo Ruhnke [Mon, 26 Apr 2004 19:11:54 +0000 (19:11 +0000)]
- new more bulletprof endsequence code patch from MatzeB

SVN-Revision: 760

20 years ago- rearanged the credits a bit, other people are welcome to review/correct it where...
Ingo Ruhnke [Mon, 26 Apr 2004 19:05:46 +0000 (19:05 +0000)]
- rearanged the credits a bit, other people are welcome to review/correct it where necesarry

SVN-Revision: 759

20 years ago- added missing black
Ingo Ruhnke [Mon, 26 Apr 2004 18:51:50 +0000 (18:51 +0000)]
- added missing black

SVN-Revision: 758

20 years ago- woopsy, fix for load/savegame
Ingo Ruhnke [Mon, 26 Apr 2004 17:46:26 +0000 (17:46 +0000)]
- woopsy, fix for load/savegame

SVN-Revision: 757

20 years ago- added loading/fadeout screen placeholder
Ingo Ruhnke [Mon, 26 Apr 2004 17:35:08 +0000 (17:35 +0000)]
- added loading/fadeout screen placeholder
- cleaned up credit code a very little bit

SVN-Revision: 756

20 years ago- gcc -Wall warning fix
Ingo Ruhnke [Mon, 26 Apr 2004 16:45:33 +0000 (16:45 +0000)]
- gcc -Wall warning fix

SVN-Revision: 755

20 years agoadded milestone1 todo
Ingo Ruhnke [Mon, 26 Apr 2004 16:38:50 +0000 (16:38 +0000)]
added milestone1 todo

SVN-Revision: 754

20 years ago- fixed miss align in scrolling text
Ingo Ruhnke [Mon, 26 Apr 2004 15:04:22 +0000 (15:04 +0000)]
- fixed miss align in scrolling text

SVN-Revision: 753

20 years ago- removed st_abort() from lisp reader, client code should check the return value...
Ingo Ruhnke [Mon, 26 Apr 2004 15:03:24 +0000 (15:03 +0000)]
- removed st_abort() from lisp reader, client code should check the return value instead

SVN-Revision: 752

20 years agoImplemented kicking (as asked by Ingo). The kick timing can be changed in defines.h
Ricardo Cruz [Mon, 26 Apr 2004 14:40:17 +0000 (14:40 +0000)]
Implemented kicking (as asked by Ingo). The kick timing can be changed in defines.h
I've not tested it very well, but it doesn't seem to be working. Can anyone have a look?

SVN-Revision: 751

20 years agoRemoved (just commented) the clear screen code before the level starts.
Ricardo Cruz [Mon, 26 Apr 2004 14:24:06 +0000 (14:24 +0000)]
Removed (just commented) the clear screen code before the level starts.
It looks bad when the intro info is gradient and then it displays a black screen and then the level.

SVN-Revision: 750

20 years agoIntro file should be the one to handle the intro sequence, even if it is only one...
Ricardo Cruz [Mon, 26 Apr 2004 14:20:22 +0000 (14:20 +0000)]
Intro file should be the one to handle the intro sequence, even if it is only one line of code.
I think we shouldn't get rid of it, because in the future it should be improved and maybe support some sort of scripting.

SVN-Revision: 749

20 years ago- added little snowman
Ingo Ruhnke [Mon, 26 Apr 2004 14:16:23 +0000 (14:16 +0000)]
- added little snowman

SVN-Revision: 748

20 years agoImproved the display_text_file(): moved to text.cpp and made it more independent.
Ricardo Cruz [Mon, 26 Apr 2004 14:15:49 +0000 (14:15 +0000)]
Improved the display_text_file(): moved to text.cpp and made it more independent.

I wasn't able to test it, since the game crashes because of:

LispReader: File not found: /home/rick2/.supertux/save/slot1.stsg
Error: aborting


SVN-Revision: 747

20 years ago- rounded the egg a bit
Ingo Ruhnke [Mon, 26 Apr 2004 13:43:38 +0000 (13:43 +0000)]
- rounded the egg a bit

SVN-Revision: 746

20 years ago- added small/firetux to worldmap
Ingo Ruhnke [Mon, 26 Apr 2004 13:38:48 +0000 (13:38 +0000)]
- added small/firetux to worldmap

SVN-Revision: 745

20 years ago- added more meaningfull savegame titles
Ingo Ruhnke [Mon, 26 Apr 2004 13:18:40 +0000 (13:18 +0000)]
- added more meaningfull savegame titles

SVN-Revision: 744

20 years ago- changed priority of skid and duck to avoid glitches when ducking and skiding at...
Ingo Ruhnke [Mon, 26 Apr 2004 13:13:51 +0000 (13:13 +0000)]
- changed priority of skid and duck to avoid glitches when ducking and skiding at the same time

SVN-Revision: 743

20 years ago- fix for title-demo going weird
Ingo Ruhnke [Mon, 26 Apr 2004 13:00:56 +0000 (13:00 +0000)]
- fix for title-demo going weird

SVN-Revision: 742

20 years ago- fixed lives status to handle more than 5 lives
Ingo Ruhnke [Mon, 26 Apr 2004 12:48:33 +0000 (12:48 +0000)]
- fixed lives status to handle more than 5 lives

SVN-Revision: 741

20 years ago- added auto-walk markings
Ingo Ruhnke [Mon, 26 Apr 2004 12:42:05 +0000 (12:42 +0000)]
- added auto-walk markings

SVN-Revision: 740

20 years ago- added automatic walking on worldmap
Ingo Ruhnke [Mon, 26 Apr 2004 12:41:50 +0000 (12:41 +0000)]
- added automatic walking on worldmap

SVN-Revision: 739

20 years ago- added some more trees
Ingo Ruhnke [Mon, 26 Apr 2004 12:41:24 +0000 (12:41 +0000)]
- added some more trees

SVN-Revision: 738

20 years ago<MatzeB> -cleanup in resource management functions
Ingo Ruhnke [Mon, 26 Apr 2004 12:21:23 +0000 (12:21 +0000)]
<MatzeB> -cleanup in resource management functions
<MatzeB> -fixes 3 potential crashs (deleting Sprite classes, using member function in
<MatzeB>     BadGuy class after removing it)
<MatzeB> -cleans up sound init code and hopes that calling Mix_AllocateChannel will make
<MatzeB>  SDL_mixer happy...
<MatzeB> -fix paths that missed a / after DATADIR
<MatzeB> at least valgrind doesn't report any errors anymore when you apply that patch
<MatzeB> (memory errors though, not memory leaks)

SVN-Revision: 737

20 years ago- added way to interupt exit sequence
Ingo Ruhnke [Mon, 26 Apr 2004 12:19:23 +0000 (12:19 +0000)]
- added way to interupt exit sequence
- added primitive autowalk to worldmap

SVN-Revision: 736

20 years ago- fixed reset point, well, maybe not sure if this was the cause for being reseted...
Ingo Ruhnke [Mon, 26 Apr 2004 11:45:30 +0000 (11:45 +0000)]
- fixed reset point, well, maybe not sure if this was the cause for being reseted in a completly wrong spot

SVN-Revision: 735

20 years ago- little bouncing block fix
Ingo Ruhnke [Mon, 26 Apr 2004 11:14:11 +0000 (11:14 +0000)]
- little bouncing block fix

SVN-Revision: 734

20 years ago- fixed 'jump' on flower collection
Ingo Ruhnke [Mon, 26 Apr 2004 10:51:07 +0000 (10:51 +0000)]
- fixed 'jump' on flower collection

SVN-Revision: 733

20 years ago- added bonus loading
Ingo Ruhnke [Mon, 26 Apr 2004 10:46:45 +0000 (10:46 +0000)]
- added bonus loading

SVN-Revision: 732

20 years ago- added saving of bonuses on worldmap, no loading yet
Ingo Ruhnke [Mon, 26 Apr 2004 10:03:34 +0000 (10:03 +0000)]
- added saving of bonuses on worldmap, no loading yet

SVN-Revision: 731

20 years ago- added endseq
Ingo Ruhnke [Mon, 26 Apr 2004 00:32:10 +0000 (00:32 +0000)]
- added endseq

SVN-Revision: 730

20 years ago- added endseq
Ingo Ruhnke [Mon, 26 Apr 2004 00:20:59 +0000 (00:20 +0000)]
- added endseq

SVN-Revision: 729

20 years ago- endseq stuff
Ingo Ruhnke [Sun, 25 Apr 2004 23:58:44 +0000 (23:58 +0000)]
- endseq stuff

SVN-Revision: 728

20 years ago- tweaked bullet and endsequence
Ingo Ruhnke [Sun, 25 Apr 2004 23:46:30 +0000 (23:46 +0000)]
- tweaked bullet and endsequence

SVN-Revision: 727

20 years ago- added end sequence
Ingo Ruhnke [Sun, 25 Apr 2004 23:45:25 +0000 (23:45 +0000)]
- added end sequence

SVN-Revision: 726

20 years ago- added goal tiles
Ingo Ruhnke [Sun, 25 Apr 2004 22:46:01 +0000 (22:46 +0000)]
- added goal tiles

SVN-Revision: 725

20 years ago*** empty log message ***
Ingo Ruhnke [Sun, 25 Apr 2004 22:24:44 +0000 (22:24 +0000)]
*** empty log message ***

SVN-Revision: 724

20 years ago*** empty log message ***
Ingo Ruhnke [Sun, 25 Apr 2004 22:23:18 +0000 (22:23 +0000)]
*** empty log message ***

SVN-Revision: 723

20 years ago- moved heading/version info into code
Ingo Ruhnke [Sun, 25 Apr 2004 22:13:36 +0000 (22:13 +0000)]
- moved heading/version info into code

SVN-Revision: 722

20 years ago- bullet tweaks
Ingo Ruhnke [Sun, 25 Apr 2004 22:10:32 +0000 (22:10 +0000)]
- bullet tweaks

SVN-Revision: 721

20 years ago- bullet gfx
Ingo Ruhnke [Sun, 25 Apr 2004 22:10:13 +0000 (22:10 +0000)]
- bullet gfx

SVN-Revision: 720

20 years ago- memleak fix and menu fix from MatzeB
Ingo Ruhnke [Sun, 25 Apr 2004 21:55:39 +0000 (21:55 +0000)]
- memleak fix and menu fix from MatzeB
- little bullet tweaking from myself
- added story

SVN-Revision: 719

20 years ago- fixed 'impossible to make' situation
Ingo Ruhnke [Sun, 25 Apr 2004 20:22:35 +0000 (20:22 +0000)]
- fixed 'impossible to make' situation

SVN-Revision: 718

20 years ago- fixed jump on cave issue
Ingo Ruhnke [Sun, 25 Apr 2004 20:18:23 +0000 (20:18 +0000)]
- fixed jump on cave issue
- fixed background tiles

SVN-Revision: 717

20 years ago- fixed some gradients
Ingo Ruhnke [Sun, 25 Apr 2004 19:59:01 +0000 (19:59 +0000)]
- fixed some gradients

SVN-Revision: 716

20 years ago- replaced backgrounds with new ones
Ingo Ruhnke [Sun, 25 Apr 2004 19:52:17 +0000 (19:52 +0000)]
- replaced backgrounds with new ones

SVN-Revision: 715

20 years ago- release preparations
Ingo Ruhnke [Sun, 25 Apr 2004 18:38:49 +0000 (18:38 +0000)]
- release preparations

SVN-Revision: 714

20 years ago- fixed makefile a bit
Ingo Ruhnke [Sun, 25 Apr 2004 18:38:03 +0000 (18:38 +0000)]
- fixed makefile a bit

SVN-Revision: 713

20 years ago- removed the 'double' path
Ingo Ruhnke [Sun, 25 Apr 2004 18:35:44 +0000 (18:35 +0000)]
- removed the 'double' path

SVN-Revision: 712

20 years ago- fixed some align problems
Ingo Ruhnke [Sun, 25 Apr 2004 17:17:10 +0000 (17:17 +0000)]
- fixed some align problems

SVN-Revision: 711

20 years ago- rewrote tux drawing code, added firetux
Ingo Ruhnke [Sun, 25 Apr 2004 16:46:55 +0000 (16:46 +0000)]
- rewrote tux drawing code, added firetux

SVN-Revision: 710

20 years ago- moved tux gfx into a struct
Ingo Ruhnke [Sun, 25 Apr 2004 16:17:18 +0000 (16:17 +0000)]
- moved tux gfx into a struct

SVN-Revision: 709

20 years ago- moved tux completly to sprites
Ingo Ruhnke [Sun, 25 Apr 2004 16:08:00 +0000 (16:08 +0000)]
- moved tux completly to sprites

SVN-Revision: 708

20 years agoTurned the display_credits() function more flexible by getting the file to open.
Ricardo Cruz [Sun, 25 Apr 2004 15:21:06 +0000 (15:21 +0000)]
Turned the display_credits() function more flexible by getting the file to open.

Ingo, what do you think if we used this for the intro text?

SVN-Revision: 707

20 years ago- some minor improvements in the gfx
Ingo Ruhnke [Sun, 25 Apr 2004 14:34:17 +0000 (14:34 +0000)]
- some minor improvements in the gfx

SVN-Revision: 706

20 years ago- added intro text
Ingo Ruhnke [Sun, 25 Apr 2004 14:27:49 +0000 (14:27 +0000)]
- added intro text

SVN-Revision: 705

20 years agoOoops, did a mistake. Fixed by Arkadiusz Miskiewicz.
Ricardo Cruz [Sun, 25 Apr 2004 14:16:10 +0000 (14:16 +0000)]
Ooops, did a mistake. Fixed by Arkadiusz Miskiewicz.
Aparentaly, fclose(NULL) causes a segfault.

SVN-Revision: 704

20 years ago-added gradient support for start screens
Ingo Ruhnke [Sun, 25 Apr 2004 13:51:19 +0000 (13:51 +0000)]
-added gradient support for start screens

SVN-Revision: 703

20 years ago- added background gradient
Ingo Ruhnke [Sun, 25 Apr 2004 13:45:21 +0000 (13:45 +0000)]
- added background gradient

SVN-Revision: 702

20 years ago- improved look of start/gameover screens
Ingo Ruhnke [Sun, 25 Apr 2004 13:16:43 +0000 (13:16 +0000)]
- improved look of start/gameover screens

SVN-Revision: 701

20 years agoJust updated the gradients test to use the new color entries.
Ricardo Cruz [Sun, 25 Apr 2004 12:50:24 +0000 (12:50 +0000)]
Just updated the gradients test to use the new color entries.

SVN-Revision: 700

20 years ago- removed blurriness
Ingo Ruhnke [Sun, 25 Apr 2004 12:44:22 +0000 (12:44 +0000)]
- removed blurriness

SVN-Revision: 699

20 years agoChanged the distros images to the old dir.
Ricardo Cruz [Sun, 25 Apr 2004 12:38:09 +0000 (12:38 +0000)]
Changed the distros images to the old dir.
Finally possible thanks to Ingo.

SVN-Revision: 698

20 years agoYet another levels update by Marek.
Ricardo Cruz [Sun, 25 Apr 2004 12:34:42 +0000 (12:34 +0000)]
Yet another levels update by Marek.
Changelog:
�I fixed some minor flaws and tried to give each of
the maps an original title. The latter was kinda difficult, because most
of the maps didn't really have a theme, (like the bridge or the castle)
so I had to make up their names; a task in which I maybe failed in some
parts, but at least it's better than just numbers.�

SVN-Revision: 697

20 years ago- added new worldmap tux
Ingo Ruhnke [Sun, 25 Apr 2004 12:29:23 +0000 (12:29 +0000)]
- added new worldmap tux

SVN-Revision: 696

20 years ago- added gradient
Ingo Ruhnke [Sun, 25 Apr 2004 12:14:02 +0000 (12:14 +0000)]
- added gradient

SVN-Revision: 695

20 years ago- fixed/changed gradient tags to match with the one used in the current level files
Ingo Ruhnke [Sun, 25 Apr 2004 12:11:25 +0000 (12:11 +0000)]
- fixed/changed gradient tags to match with the one used in the current level files

SVN-Revision: 694

20 years ago- smoothed water a little bit
Ingo Ruhnke [Sun, 25 Apr 2004 11:57:19 +0000 (11:57 +0000)]
- smoothed water a little bit
- added new cloud
- fixed stalactit look a bit

SVN-Revision: 693

20 years agoreplaced distros with coins
Ingo Ruhnke [Sun, 25 Apr 2004 11:55:39 +0000 (11:55 +0000)]
replaced distros with coins

SVN-Revision: 692

20 years ago- added new cloud tile
Ingo Ruhnke [Sun, 25 Apr 2004 11:34:15 +0000 (11:34 +0000)]
- added new cloud tile

SVN-Revision: 691

20 years agoJust made lispreader to send an error message to stderr when the file could not be...
Ricardo Cruz [Sun, 25 Apr 2004 10:02:14 +0000 (10:02 +0000)]
Just made lispreader to send an error message to stderr when the file could not be open, as suggested by Arkadiusz Miskiewicz.

SVN-Revision: 690

20 years ago- added firetux, nothing more than a boring placeholder, but should be better than...
Ingo Ruhnke [Sat, 24 Apr 2004 20:36:19 +0000 (20:36 +0000)]
- added firetux, nothing more than a boring placeholder, but should be better than the current one

SVN-Revision: 689

20 years ago- added start/end tiles
Ingo Ruhnke [Sat, 24 Apr 2004 19:40:56 +0000 (19:40 +0000)]
- added start/end tiles

SVN-Revision: 688

20 years agoAt least my compiler (g++ (GCC) 3.3.2) needs this include.
Ricardo Cruz [Sat, 24 Apr 2004 18:03:35 +0000 (18:03 +0000)]
At least my compiler (g++ (GCC) 3.3.2) needs this include.
Anyway, there is still a crash to be fixed.

SVN-Revision: 687

20 years ago'nother music patch by matzeb
Ingo Ruhnke [Sat, 24 Apr 2004 17:48:49 +0000 (17:48 +0000)]
'nother music patch by matzeb

SVN-Revision: 686

20 years agoIngo, that code is not buggy!
Ricardo Cruz [Sat, 24 Apr 2004 15:27:38 +0000 (15:27 +0000)]
Ingo, that code is not buggy!
You can say that it is a bad approuch, but it is not a bug!
Besides, I don't think it's a bad approuch. Your code is maybe a better approuch. But in the other hand is buggy, so please let my code be there.

Buggy, why, you may ask...

Imagine this simple and fictional code:


#define MNID_START 1

menu->additem("Start Game", MNID_START);
menu->additem("Options");

if(menu->check() == MNID_START)
  startgame();


With your code, when you pressed Options, the game would also start. Have a look at it again and guess why ;-)

SVN-Revision: 685

20 years ago- fixed option menu
Ingo Ruhnke [Sat, 24 Apr 2004 15:08:21 +0000 (15:08 +0000)]
- fixed option menu

SVN-Revision: 684

20 years agoMarek levels updating. He also added two new levels for the start that are easier.
Ricardo Cruz [Sat, 24 Apr 2004 15:02:11 +0000 (15:02 +0000)]
Marek levels updating. He also added two new levels for the start that are easier.
Updated worldmap as well. Can someone test if level 25 and 26 are there?

SVN-Revision: 683

20 years ago- patch from MatzeB to make music handling easier and more stable
Ingo Ruhnke [Sat, 24 Apr 2004 14:49:04 +0000 (14:49 +0000)]
- patch from MatzeB to make music handling easier and more stable

SVN-Revision: 682

20 years ago- new star tux, still rather pure, but useable
Ingo Ruhnke [Sat, 24 Apr 2004 13:12:12 +0000 (13:12 +0000)]
- new star tux, still rather pure, but useable

SVN-Revision: 681

20 years ago- fixed duck-jump bug
Ingo Ruhnke [Sat, 24 Apr 2004 12:45:34 +0000 (12:45 +0000)]
- fixed duck-jump bug

SVN-Revision: 680

20 years ago- added holding gfx, still looks rather stupid, but I think thats unavoidable without...
Ingo Ruhnke [Sat, 24 Apr 2004 12:30:21 +0000 (12:30 +0000)]
- added holding gfx, still looks rather stupid, but I think thats unavoidable without major changes to the current code

SVN-Revision: 679

20 years ago- fixed bug in Menu::check()
Ingo Ruhnke [Sat, 24 Apr 2004 12:11:11 +0000 (12:11 +0000)]
- fixed bug in Menu::check()
- added grab/kick tux to resources
- added flag to use endsequence or not

SVN-Revision: 678

20 years ago- added new gfx
Ingo Ruhnke [Sat, 24 Apr 2004 10:43:15 +0000 (10:43 +0000)]
- added new gfx

SVN-Revision: 677

20 years ago- fixed spelling mistake in filename
Ingo Ruhnke [Sat, 24 Apr 2004 10:42:31 +0000 (10:42 +0000)]
- fixed spelling mistake in filename

SVN-Revision: 676

20 years ago- added grab and kick tuxes
Ingo Ruhnke [Sat, 24 Apr 2004 10:28:04 +0000 (10:28 +0000)]
- added grab and kick tuxes

SVN-Revision: 675

20 years agoAdded a new concept to the menu, the ID.
Ricardo Cruz [Sat, 24 Apr 2004 09:32:32 +0000 (09:32 +0000)]
Added a new concept to the menu, the ID.
Each item can have an ID that can be given, this way there won't be any more hardcoded values for the entries.
Anyway, I've made it to be compatible with the current behaviour, in case any ID is given.

I've already updated the mainmenu, optionsmenu, leveleditormenu, leveleditorsettingsmenu and worldmapmenu.
The definitions are enumerated in the menu.h file. Should we keep each enum splited or merge them all?

Feedback is appreciated :)

SVN-Revision: 674