supertux.git
20 years agoGame end screen is drawn by the world map now. This is just a step to make a dialog...
Ricardo Cruz [Sun, 16 May 2004 12:31:31 +0000 (12:31 +0000)]
Game end screen is drawn by the world map now. This is just a step to make a dialog like the SM3 one when the player's lost all lives.
(In case there isn't any worldmap, we should draw it anyway...)
Also, don't allow the player to open the menu when he is dying. Avoids cheating.

SVN-Revision: 1211

20 years agoY background scrolling. It should start be drawing from the bottom of the level to...
Ricardo Cruz [Sun, 16 May 2004 12:18:05 +0000 (12:18 +0000)]
Y background scrolling. It should start be drawing from the bottom of the level to the up.
Dunno if it is working well.

SVN-Revision: 1210

20 years agoResized the arctis background to 800x600
Marek Moeckel [Sun, 16 May 2004 09:48:49 +0000 (09:48 +0000)]
Resized the arctis background to 800x600
(Has a few glitches, don't know if they are noticable)
Saved the old background as arctis640.png
Resized levels 9-12

SVN-Revision: 1209

20 years ago- trampoline stuff
Ryan Flegel [Sun, 16 May 2004 05:48:28 +0000 (05:48 +0000)]
- trampoline stuff

SVN-Revision: 1208

20 years ago- started creating trampoline functions
Ryan Flegel [Sun, 16 May 2004 04:04:03 +0000 (04:04 +0000)]
- started creating trampoline functions

SVN-Revision: 1207

20 years ago- more game object changes. looks a bit nicer now
Ryan Flegel [Sun, 16 May 2004 03:28:22 +0000 (03:28 +0000)]
- more game object changes. looks a bit nicer now

SVN-Revision: 1206

20 years ago- more game object progress
Ryan Flegel [Sun, 16 May 2004 02:07:26 +0000 (02:07 +0000)]
- more game object progress

SVN-Revision: 1205

20 years ago- Made some changes to object code
Ryan Flegel [Sun, 16 May 2004 01:36:54 +0000 (01:36 +0000)]
- Made some changes to object code

I'm Cleaning up object code to make it more flexible/reusable.
It's currently in an unfinished state.

SVN-Revision: 1204

20 years ago- added support for different types of objects
Ryan Flegel [Sun, 16 May 2004 00:36:58 +0000 (00:36 +0000)]
- added support for different types of objects
- working on adding trampoline

SVN-Revision: 1203

20 years ago- added Ben's trampoline images
Ryan Flegel [Sun, 16 May 2004 00:01:19 +0000 (00:01 +0000)]
- added Ben's trampoline images

SVN-Revision: 1202

20 years agoMade the menu to get back to the main menu after the slot deleting dialog.
Ricardo Cruz [Sat, 15 May 2004 18:27:57 +0000 (18:27 +0000)]
Made the menu to get back to the main menu after the slot deleting dialog.
I would prefer it would get back to the load menu, but at least this is better than exiting the game...

SVN-Revision: 1199

20 years agoMade level editor to use the draw_bg() that Ryan added to level. This way the backgro...
Ricardo Cruz [Sat, 15 May 2004 18:26:48 +0000 (18:26 +0000)]
Made level editor to use the draw_bg() that Ryan added to level. This way the background bug is fixed.

SVN-Revision: 1198

20 years agoResized levels 6-8
Marek Moeckel [Sat, 15 May 2004 16:07:20 +0000 (16:07 +0000)]
Resized levels 6-8

SVN-Revision: 1197

20 years agoOoops, forgot to remove a comment.
Ricardo Cruz [Sat, 15 May 2004 14:26:38 +0000 (14:26 +0000)]
Ooops, forgot to remove a comment.

SVN-Revision: 1196

20 years agoI allways noticed that in the SDL mode, the gradient was sometimes different than...
Ricardo Cruz [Sat, 15 May 2004 14:19:01 +0000 (14:19 +0000)]
I allways noticed that in the SDL mode, the gradient was sometimes different than the OpenGL. But when I did the function, everything was okay and in most of the gradients it worked fine.
Finally, gone to the code and corrected that. It was just a typo (screen->w was being used in green and blue calculation, instead of screen->h).

SVN-Revision: 1195

20 years agoChanged the gradient colors.
Ricardo Cruz [Sat, 15 May 2004 14:16:15 +0000 (14:16 +0000)]
Changed the gradient colors.
This gradient caused the SDL frontend to be different than the OpenGL.

SVN-Revision: 1194

20 years agoOnly do vertical scrolling when the height is higher than 19.
Ricardo Cruz [Sat, 15 May 2004 12:08:57 +0000 (12:08 +0000)]
Only do vertical scrolling when the height is higher than 19.
This fixes the problem that scrolling was used in 19 Y tiles levels. Since the right number of Y tiles is 18.75, not 19.

SVN-Revision: 1193

20 years agoUpdated matrix's grassland tiles
Marek Moeckel [Sat, 15 May 2004 11:31:48 +0000 (11:31 +0000)]
Updated matrix's grassland tiles
Edited levels 1-5 to fit the new resolution

SVN-Revision: 1192

20 years agoFixed Coins text position in world map.
Ricardo Cruz [Sat, 15 May 2004 11:29:47 +0000 (11:29 +0000)]
Fixed Coins text position in world map.

SVN-Revision: 1191

20 years ago- fixed level editor crash
Ryan Flegel [Sat, 15 May 2004 11:00:32 +0000 (11:00 +0000)]
- fixed level editor crash
- some other resolution fixes in level editor
- fixed level editor not scrolling all the way to end of level (last two columns were hiding behind the panel). This is in 0.1.1, too.

SVN-Revision: 1190

20 years ago- fixed drawgradient() function (res fix)
Ryan Flegel [Sat, 15 May 2004 10:29:35 +0000 (10:29 +0000)]
- fixed drawgradient() function (res fix)

SVN-Revision: 1189

20 years agoMade levels to use arctis.jpg, instead of arctis2.jpg
Ricardo Cruz [Sat, 15 May 2004 10:09:59 +0000 (10:09 +0000)]
Made levels to use arctis.jpg, instead of arctis2.jpg

SVN-Revision: 1188

20 years agoChanged "arctis2.jpg" to "arctis.jpg".
Ricardo Cruz [Sat, 15 May 2004 10:07:41 +0000 (10:07 +0000)]
Changed "arctis2.jpg" to "arctis.jpg".

SVN-Revision: 1187

20 years agoMoved old arctic background image into the old dir.
Ricardo Cruz [Sat, 15 May 2004 10:06:48 +0000 (10:06 +0000)]
Moved old arctic background image into the old dir.

SVN-Revision: 1186

20 years agoReplaced this background by a 800x600 version.
Ricardo Cruz [Sat, 15 May 2004 10:01:07 +0000 (10:01 +0000)]
Replaced this background by a 800x600 version.
Ingo sent this some time ago to the mailing list.

SVN-Revision: 1185

20 years agoCleanup. Also applied the same fix to leveleditor. Unfortanely, still crashes, aparen...
Ricardo Cruz [Sat, 15 May 2004 09:59:02 +0000 (09:59 +0000)]
Cleanup. Also applied the same fix to leveleditor. Unfortanely, still crashes, aparentelly in the same point.

SVN-Revision: 1184

20 years ago- even more res fixes--we're getting there
Ryan Flegel [Fri, 14 May 2004 22:47:35 +0000 (22:47 +0000)]
- even more res fixes--we're getting there

SVN-Revision: 1183

20 years ago- more resolution fixes
Ryan Flegel [Fri, 14 May 2004 21:49:30 +0000 (21:49 +0000)]
- more resolution fixes

SVN-Revision: 1182

20 years ago- some resolution fixes
Ryan Flegel [Fri, 14 May 2004 20:50:22 +0000 (20:50 +0000)]
- some resolution fixes

SVN-Revision: 1181

20 years agoAdded a new branch "unfinished" to the levels tree, including matr1x's levels and...
Marek Moeckel [Fri, 14 May 2004 19:35:06 +0000 (19:35 +0000)]
Added a new branch "unfinished" to the levels tree, including matr1x's levels and one of my own. As you probably have guessed, I labelled them "work in progress". :)

SVN-Revision: 1180

20 years ago- fixed drawing crash
Ryan Flegel [Fri, 14 May 2004 17:35:30 +0000 (17:35 +0000)]
- fixed drawing crash
- not quite in a playable state yet :)

SVN-Revision: 1179

20 years agoFirst try to switch to 800x600.
Ricardo Cruz [Fri, 14 May 2004 16:02:41 +0000 (16:02 +0000)]
First try to switch to 800x600.
Unfortanely, the game crashes when drawing the tiles. I committed this in the hope that somebody fixes it. :D

SVN-Revision: 1178

20 years agoJust changed hard coded values by definitions. Please do this, or else the code turns...
Ricardo Cruz [Fri, 14 May 2004 14:04:48 +0000 (14:04 +0000)]
Just changed hard coded values by definitions. Please do this, or else the code turns ugly and gets hard to change that value everywhere.
Also tuned the values.

SVN-Revision: 1177

20 years agoAdded factory(-fast).mod to the music directory
Marek Moeckel [Fri, 14 May 2004 11:38:29 +0000 (11:38 +0000)]
Added factory(-fast).mod to the music directory
Use for inspiration! :)

SVN-Revision: 1176

20 years ago- fixed [sorta] the mushroom bumping problems
Ryan Flegel [Fri, 14 May 2004 08:36:13 +0000 (08:36 +0000)]
- fixed [sorta] the mushroom bumping problems
- is it okay to determine the direction from the player's position?

SVN-Revision: 1175

20 years ago- updated TODO
Ryan Flegel [Fri, 14 May 2004 08:16:13 +0000 (08:16 +0000)]
- updated TODO

SVN-Revision: 1174

20 years ago- fixed badguy collisions so they no longer get jammed
Ryan Flegel [Fri, 14 May 2004 08:10:24 +0000 (08:10 +0000)]
- fixed badguy collisions so they no longer get jammed

SVN-Revision: 1173

20 years ago- changed b/g for credits
Ryan Flegel [Fri, 14 May 2004 07:42:30 +0000 (07:42 +0000)]
- changed b/g for credits
- fixed firebullet not killing some enemies

SVN-Revision: 1172

20 years ago- added sounds from Nathan McCoy
Ryan Flegel [Fri, 14 May 2004 05:24:24 +0000 (05:24 +0000)]
- added sounds from Nathan McCoy

SVN-Revision: 1171

20 years ago- uncomment crash fix that was accidentally commented
Ryan Flegel [Fri, 14 May 2004 05:14:30 +0000 (05:14 +0000)]
- uncomment crash fix that was accidentally commented

SVN-Revision: 1170

20 years ago- fixed an ugly hack I was using before for the JS config menu
Ryan Flegel [Fri, 14 May 2004 02:44:34 +0000 (02:44 +0000)]
- fixed an ugly hack I was using before for the JS config menu

SVN-Revision: 1169

20 years ago- added some joystick config options.. I think
Ryan Flegel [Fri, 14 May 2004 02:29:15 +0000 (02:29 +0000)]
- added some joystick config options.. I think
- I don't have a joystick/gamepad so this could use some testing

SVN-Revision: 1168

20 years ago- oops. Fixed filename extension
Ryan Flegel [Thu, 13 May 2004 23:20:45 +0000 (23:20 +0000)]
- oops. Fixed filename extension

SVN-Revision: 1167

20 years ago- added freedesktop.org .desktop file from Mike Hearn
Ryan Flegel [Thu, 13 May 2004 23:16:46 +0000 (23:16 +0000)]
- added freedesktop.org .desktop file from Mike Hearn
- added supertux icons as supertux.xpm and supertux.png (old ones can be [re]moved)
- added TODO item

SVN-Revision: 1166

20 years ago- made mriceblock break blocks when kicked into them
Ryan Flegel [Thu, 13 May 2004 21:02:15 +0000 (21:02 +0000)]
- made mriceblock break blocks when kicked into them

SVN-Revision: 1165

20 years agoUp was moving to down and down to up - fixed.
Ricardo Cruz [Thu, 13 May 2004 17:50:51 +0000 (17:50 +0000)]
Up was moving to down and down to up - fixed.

SVN-Revision: 1164

20 years agoAdded more enemies to this fire level test.
Ricardo Cruz [Thu, 13 May 2004 12:47:34 +0000 (12:47 +0000)]
Added more enemies to this fire level test.

SVN-Revision: 1163

20 years agoAdded ice enemies entries.
Ricardo Cruz [Thu, 13 May 2004 12:46:29 +0000 (12:46 +0000)]
Added ice enemies entries.

SVN-Revision: 1162

20 years agoAdded ice versions of enemies.
Ricardo Cruz [Thu, 13 May 2004 12:45:53 +0000 (12:45 +0000)]
Added ice versions of enemies.
By Benjamin!

SVN-Revision: 1161

20 years agoImproved frozen behavior.
Ricardo Cruz [Thu, 13 May 2004 12:44:36 +0000 (12:44 +0000)]
Improved frozen behavior.
Still isn't perfect, enemies don't fall right away you kill'em.

SVN-Revision: 1160

20 years agoMade some checking before the scrolling code, in order to avoid code duplication.
Ricardo Cruz [Thu, 13 May 2004 10:03:17 +0000 (10:03 +0000)]
Made some checking before the scrolling code, in order to avoid code duplication.

SVN-Revision: 1159

20 years agoFixed crash.
Ricardo Cruz [Thu, 13 May 2004 09:52:59 +0000 (09:52 +0000)]
Fixed crash.
Also made map to work with height > 15. But the rectangle in the map, still doesn't show precisely the Y visible area.

SVN-Revision: 1158

20 years agoCommitted Matrix tiles. But they should allow repetition!
Ricardo Cruz [Thu, 13 May 2004 09:41:05 +0000 (09:41 +0000)]
Committed Matrix tiles. But they should allow repetition!

SVN-Revision: 1157

20 years agoAdded vertical scrolling for the level editor.
Ricardo Cruz [Thu, 13 May 2004 09:13:33 +0000 (09:13 +0000)]
Added vertical scrolling for the level editor.
Unfortanely, it crashes after scrolling a bit. (hint: use the right mouse button to scroll... it will stay a bit longer without crashing :/)

SVN-Revision: 1156

20 years agoChanged up and down to previous and next. And added up and down icons.
Ricardo Cruz [Thu, 13 May 2004 09:12:05 +0000 (09:12 +0000)]
Changed up and down to previous and next. And added up and down icons.

SVN-Revision: 1155

20 years agoId 400 was already given.
Ricardo Cruz [Thu, 13 May 2004 08:44:08 +0000 (08:44 +0000)]
Id 400 was already given.
Fixes iceflower bonus bug.

SVN-Revision: 1154

20 years agoReplaced backscrolling bug by camera one.
Ricardo Cruz [Thu, 13 May 2004 08:35:39 +0000 (08:35 +0000)]
Replaced backscrolling bug by camera one.

SVN-Revision: 1153

20 years ago- added new sign (from Benjamin)
Ryan Flegel [Thu, 13 May 2004 02:58:45 +0000 (02:58 +0000)]
- added new sign (from Benjamin)

SVN-Revision: 1152

20 years ago- fixed a warning
Ryan Flegel [Thu, 13 May 2004 02:50:13 +0000 (02:50 +0000)]
- fixed a warning

SVN-Revision: 1151

20 years ago- fixed potential crash
Ryan Flegel [Thu, 13 May 2004 02:40:10 +0000 (02:40 +0000)]
- fixed potential crash

SVN-Revision: 1150

20 years ago- 'nicer' icebullet
Ryan Flegel [Wed, 12 May 2004 20:02:46 +0000 (20:02 +0000)]
- 'nicer' icebullet

SVN-Revision: 1149

20 years ago- fixed crash when hitting badguy with bullet
Ryan Flegel [Wed, 12 May 2004 19:43:08 +0000 (19:43 +0000)]
- fixed crash when hitting badguy with bullet

SVN-Revision: 1148

20 years ago- added old iceflower images
Ryan Flegel [Wed, 12 May 2004 19:22:32 +0000 (19:22 +0000)]
- added old iceflower images

SVN-Revision: 1147

20 years agoBenjamin has been kind enough to make us Icy Tux images :)
Ricardo Cruz [Wed, 12 May 2004 19:18:31 +0000 (19:18 +0000)]
Benjamin has been kind enough to make us Icy Tux images :)

SVN-Revision: 1146

20 years ago- reverted to old iceflower
Ryan Flegel [Wed, 12 May 2004 19:00:10 +0000 (19:00 +0000)]
- reverted to old iceflower

SVN-Revision: 1145

20 years agoAdded ice flower bonuses and a few enemies.
Ricardo Cruz [Wed, 12 May 2004 18:35:35 +0000 (18:35 +0000)]
Added ice flower bonuses and a few enemies.
Test fire here!

SVN-Revision: 1144

20 years agoAdded a few entries.
Ricardo Cruz [Wed, 12 May 2004 18:32:03 +0000 (18:32 +0000)]
Added a few entries.

SVN-Revision: 1143

20 years agoAdded ice flower entry.
Ricardo Cruz [Wed, 12 May 2004 18:31:38 +0000 (18:31 +0000)]
Added ice flower entry.

SVN-Revision: 1142

20 years agoAdded bonus ice and fire flower, used by the level editor.
Ricardo Cruz [Wed, 12 May 2004 18:31:16 +0000 (18:31 +0000)]
Added bonus ice and fire flower, used by the level editor.

SVN-Revision: 1141

20 years agoAdded a very bad drawn ice flower.
Ricardo Cruz [Wed, 12 May 2004 18:29:37 +0000 (18:29 +0000)]
Added a very bad drawn ice flower.

SVN-Revision: 1140

20 years agoFire should be working again.
Ricardo Cruz [Wed, 12 May 2004 18:28:37 +0000 (18:28 +0000)]
Fire should be working again.
Unfortanely, both ice and fire shots crash the game when colliding with a badguy.

SVN-Revision: 1139

20 years agoAdded the new ice power images entries.
Ricardo Cruz [Wed, 12 May 2004 17:59:49 +0000 (17:59 +0000)]
Added the new ice power images entries.

SVN-Revision: 1138

20 years agoAdded ice power related images.
Ricardo Cruz [Wed, 12 May 2004 17:59:07 +0000 (17:59 +0000)]
Added ice power related images.
Artist, now it's your time!

SVN-Revision: 1137

20 years agoFirst implementation of the ice power.
Ricardo Cruz [Wed, 12 May 2004 17:56:34 +0000 (17:56 +0000)]
First implementation of the ice power.

SVN-Revision: 1136

20 years ago- fixed largetux jump frames (from Benjamin)
Ryan Flegel [Wed, 12 May 2004 17:20:29 +0000 (17:20 +0000)]
- fixed largetux jump frames (from Benjamin)

SVN-Revision: 1135

20 years ago- added Benjamin's squished flyingsnoballs
Ryan Flegel [Wed, 12 May 2004 15:51:35 +0000 (15:51 +0000)]
- added Benjamin's squished flyingsnoballs

SVN-Revision: 1134

20 years ago- fixed some enums
Ryan Flegel [Wed, 12 May 2004 15:36:16 +0000 (15:36 +0000)]
- fixed some enums

SVN-Revision: 1133

20 years agoAdded the "Tux doesn't fall between two tiles" bug.
Ricardo Cruz [Wed, 12 May 2004 14:59:39 +0000 (14:59 +0000)]
Added the "Tux doesn't fall between two tiles" bug.

SVN-Revision: 1132

20 years agoIn case the level has been saved, and no change was done, don't ask to "Save the...
Ricardo Cruz [Wed, 12 May 2004 14:57:16 +0000 (14:57 +0000)]
In case the level has been saved, and no change was done, don't ask to "Save the Changes".

SVN-Revision: 1131

20 years agoBreak lines on tiles as requested by Ryan.
Ricardo Cruz [Wed, 12 May 2004 14:54:04 +0000 (14:54 +0000)]
Break lines on tiles as requested by Ryan.
Also added a few spaces for enemies and added a comment saying that the level was made using the built-in level editor.

SVN-Revision: 1130

20 years agoJust changed the vertical scrolling to the top of the scrolling func or else it would...
Ricardo Cruz [Wed, 12 May 2004 12:40:46 +0000 (12:40 +0000)]
Just changed the vertical scrolling to the top of the scrolling func or else it wouldn't work when autoscrolling is enabled..

SVN-Revision: 1129

20 years agoSmoother vertical scrolling.
Ricardo Cruz [Wed, 12 May 2004 12:18:47 +0000 (12:18 +0000)]
Smoother vertical scrolling.
You can play a bit with Y_SPACE, in case you want to tune it more.

SVN-Revision: 1128

20 years agoAdded two points.
Ricardo Cruz [Wed, 12 May 2004 12:12:14 +0000 (12:12 +0000)]
Added two points.
Also removed fixed stuff.

SVN-Revision: 1127

20 years ago- removing old dir
Ryan Flegel [Wed, 12 May 2004 04:59:42 +0000 (04:59 +0000)]
- removing old dir

SVN-Revision: 1126

20 years ago- fixed enum bug mentioned by Kevin L. Mitchell on the mailing list
Ryan Flegel [Wed, 12 May 2004 02:10:13 +0000 (02:10 +0000)]
- fixed enum bug mentioned by Kevin L. Mitchell on the mailing list

SVN-Revision: 1125

20 years ago- removed old code
Ryan Flegel [Wed, 12 May 2004 01:29:29 +0000 (01:29 +0000)]
- removed old code

SVN-Revision: 1124

20 years ago- fixed rising specials
Ryan Flegel [Wed, 12 May 2004 01:16:33 +0000 (01:16 +0000)]
- fixed rising specials

SVN-Revision: 1123

20 years ago- moved around some files. make doesn't like spaces
Ryan Flegel [Wed, 12 May 2004 00:26:18 +0000 (00:26 +0000)]
- moved around some files. make doesn't like spaces

SVN-Revision: 1122

20 years ago- added matr1x's levels to contrib
Ryan Flegel [Wed, 12 May 2004 00:15:17 +0000 (00:15 +0000)]
- added matr1x's levels to contrib

SVN-Revision: 1121

20 years agoBottom tiles were not being drawn right when vertical scrolling was enabled.
Ricardo Cruz [Tue, 11 May 2004 23:37:12 +0000 (23:37 +0000)]
Bottom tiles were not being drawn right when vertical scrolling was enabled.

SVN-Revision: 1120

20 years ago- fixed vscroll a bit--forgot foreground
Ryan Flegel [Tue, 11 May 2004 23:30:50 +0000 (23:30 +0000)]
- fixed vscroll a bit--forgot foreground

SVN-Revision: 1119

20 years ago- fixed vscroll a bit
Ryan Flegel [Tue, 11 May 2004 23:25:06 +0000 (23:25 +0000)]
- fixed vscroll a bit

SVN-Revision: 1118

20 years agoFixed hotspot square drawing in debug mode.
Ricardo Cruz [Tue, 11 May 2004 23:15:45 +0000 (23:15 +0000)]
Fixed hotspot square drawing in debug mode.

SVN-Revision: 1117

20 years agoModified draw_part() in sprite class to make use of scroll.
Ricardo Cruz [Tue, 11 May 2004 23:12:00 +0000 (23:12 +0000)]
Modified draw_part() in sprite class to make use of scroll.

SVN-Revision: 1116

20 years agoUpgrades weren't being shown when appearing... fixed!
Ricardo Cruz [Tue, 11 May 2004 23:09:33 +0000 (23:09 +0000)]
Upgrades weren't being shown when appearing... fixed!

SVN-Revision: 1115

20 years ago- added exceptions
Ryan Flegel [Tue, 11 May 2004 22:16:12 +0000 (22:16 +0000)]
- added exceptions

SVN-Revision: 1114

20 years agoCleanups. Basically I made sprites to care about the scrolling and not the player...
Ricardo Cruz [Tue, 11 May 2004 22:12:42 +0000 (22:12 +0000)]
Cleanups. Basically I made sprites to care about the scrolling and not the player or badguys or whatever.

SVN-Revision: 1113

20 years agoVertical scrolling level test.
Ricardo Cruz [Tue, 11 May 2004 21:55:05 +0000 (21:55 +0000)]
Vertical scrolling level test.

SVN-Revision: 1112

20 years agoFirst implementation of vertical scrolling.
Ricardo Cruz [Tue, 11 May 2004 21:53:51 +0000 (21:53 +0000)]
First implementation of vertical scrolling.

SVN-Revision: 1111

20 years agoFirst step for vertical scrolling stop.
Ricardo Cruz [Tue, 11 May 2004 18:26:27 +0000 (18:26 +0000)]
First step for vertical scrolling stop.
This commit makes:
* level to support height;
* allows height to be specified in level editor (unecessary, since level editor doesn't support it yet...).

SVN-Revision: 1109