supertux.git
20 years agoadded inheritance diagram for the gameobjects
Matthias Braun [Fri, 28 May 2004 09:41:45 +0000 (09:41 +0000)]
added inheritance diagram for the gameobjects

SVN-Revision: 1345

20 years ago- added unisolid patch from Upsilon
Ryan Flegel [Fri, 28 May 2004 07:31:25 +0000 (07:31 +0000)]
- added unisolid patch from Upsilon

SVN-Revision: 1344

20 years ago- walking tree tweaks
Ryan Flegel [Thu, 27 May 2004 23:54:31 +0000 (23:54 +0000)]
- walking tree tweaks

SVN-Revision: 1343

20 years agoResized level to 19 height tiles.
Ricardo Cruz [Thu, 27 May 2004 19:48:24 +0000 (19:48 +0000)]
Resized level to 19 height tiles.
This makes 1-13 levels done! Another 13 to go!

SVN-Revision: 1342

20 years agoImplemented Tux growing animation.
Ricardo Cruz [Thu, 27 May 2004 17:01:28 +0000 (17:01 +0000)]
Implemented Tux growing animation.
Bug: since the Sprite does not respect the frames order, it may not animate correctly. I think the best fix is to make Player object to take care of that using Surfaces.

SVN-Revision: 1341

20 years agoAdded growing Tux entries.
Ricardo Cruz [Thu, 27 May 2004 16:58:16 +0000 (16:58 +0000)]
Added growing Tux entries.

SVN-Revision: 1340

20 years agoTux growing animation by Benjamin!
Ricardo Cruz [Thu, 27 May 2004 16:57:47 +0000 (16:57 +0000)]
Tux growing animation by Benjamin!

SVN-Revision: 1339

20 years agoDraw enemies upside down when falling.
Ricardo Cruz [Thu, 27 May 2004 14:18:00 +0000 (14:18 +0000)]
Draw enemies upside down when falling.

The drawing code in texture.cpp is just a hack. Not sure how we can flip surfaces in SDL. The OpenGL should be easily done, I will take care of it later.

SVN-Revision: 1338

20 years ago- updated TODO
Ryan Flegel [Thu, 27 May 2004 03:04:12 +0000 (03:04 +0000)]
- updated TODO

SVN-Revision: 1337

20 years agoResized level to 19 height.
Ricardo Cruz [Thu, 27 May 2004 02:47:32 +0000 (02:47 +0000)]
Resized level to 19 height.

SVN-Revision: 1336

20 years agoUpdated file to reflect added files.
Ricardo Cruz [Wed, 26 May 2004 22:57:33 +0000 (22:57 +0000)]
Updated file to reflect added files.

SVN-Revision: 1335

20 years agoUploaded Benjamin's flying platform animations.
Ricardo Cruz [Wed, 26 May 2004 22:56:04 +0000 (22:56 +0000)]
Uploaded Benjamin's flying platform animations.
These are bigger, should they be resized to the older size (96x40)?

SVN-Revision: 1334

20 years agoA couple of improvements for the flying platform.
Ricardo Cruz [Wed, 26 May 2004 22:46:59 +0000 (22:46 +0000)]
A couple of improvements for the flying platform.

SVN-Revision: 1333

20 years agosome cleanups and robustness checks, I added while searching for a bug (that was...
Matthias Braun [Wed, 26 May 2004 15:57:36 +0000 (15:57 +0000)]
some cleanups and robustness checks, I added while searching for a bug (that was none as it turned out :)

SVN-Revision: 1332

20 years ago- added David's camera patch
Ryan Flegel [Tue, 25 May 2004 23:53:43 +0000 (23:53 +0000)]
- added David's camera patch

SVN-Revision: 1331

20 years ago- added walkingtree to test level
Ryan Flegel [Tue, 25 May 2004 23:24:10 +0000 (23:24 +0000)]
- added walkingtree to test level

SVN-Revision: 1330

20 years ago- tweaked walkingtree
Ryan Flegel [Tue, 25 May 2004 22:05:07 +0000 (22:05 +0000)]
- tweaked walkingtree

SVN-Revision: 1329

20 years ago- added walking tree enemy. still needs some work
Ryan Flegel [Tue, 25 May 2004 21:21:22 +0000 (21:21 +0000)]
- added walking tree enemy. still needs some work

SVN-Revision: 1328

20 years ago- some wingling tweaks
Ryan Flegel [Tue, 25 May 2004 19:41:48 +0000 (19:41 +0000)]
- some wingling tweaks

SVN-Revision: 1327

20 years agoDisable gravity when on flying platform.
Ricardo Cruz [Tue, 25 May 2004 15:32:45 +0000 (15:32 +0000)]
Disable gravity when on flying platform.

SVN-Revision: 1326

20 years agomore tuning of badguy activation
Matthias Braun [Tue, 25 May 2004 10:38:52 +0000 (10:38 +0000)]
more tuning of badguy activation

SVN-Revision: 1325

20 years agoattempt to tune badguy activation
Matthias Braun [Tue, 25 May 2004 10:13:07 +0000 (10:13 +0000)]
attempt to tune badguy activation

SVN-Revision: 1324

20 years agoforgot to commit my changes to testlevels yesterday
Matthias Braun [Tue, 25 May 2004 10:09:30 +0000 (10:09 +0000)]
forgot to commit my changes to testlevels yesterday

SVN-Revision: 1323

20 years ago- added wingling to test level
Ryan Flegel [Tue, 25 May 2004 02:56:31 +0000 (02:56 +0000)]
- added wingling to test level

SVN-Revision: 1322

20 years ago- beginnings of a wingling
Ryan Flegel [Tue, 25 May 2004 02:51:30 +0000 (02:51 +0000)]
- beginnings of a wingling

SVN-Revision: 1321

20 years agoimplemented autoscrolling and proper camera parsing in levelfiles
Matthias Braun [Tue, 25 May 2004 00:28:24 +0000 (00:28 +0000)]
implemented autoscrolling and proper camera parsing in levelfiles

SVN-Revision: 1320

20 years ago- fixed it so Tux doesn't die on spikes if safety timer is started
Ryan Flegel [Mon, 24 May 2004 23:32:41 +0000 (23:32 +0000)]
- fixed it so Tux doesn't die on spikes if safety timer is started

SVN-Revision: 1319

20 years ago- fixed it so arm is not drawn when Tux is shooting and ducking
Ryan Flegel [Mon, 24 May 2004 23:03:43 +0000 (23:03 +0000)]
- fixed it so arm is not drawn when Tux is shooting and ducking

SVN-Revision: 1318

20 years agoadded some comments to scrolling code
Matthias Braun [Mon, 24 May 2004 23:02:34 +0000 (23:02 +0000)]
added some comments to scrolling code

SVN-Revision: 1317

20 years agoincrease offscreen distance
Matthias Braun [Mon, 24 May 2004 22:53:39 +0000 (22:53 +0000)]
increase offscreen distance

SVN-Revision: 1316

20 years agomake badguys reappear when scrolling back
Matthias Braun [Mon, 24 May 2004 22:36:56 +0000 (22:36 +0000)]
make badguys reappear when scrolling back

SVN-Revision: 1315

20 years agoSmall fix. Don't do back scrolling, in case it is unabled.
Ricardo Cruz [Mon, 24 May 2004 21:52:14 +0000 (21:52 +0000)]
Small fix. Don't do back scrolling, in case it is unabled.
And don't do vertical scrolling when there are 19 height tiles. It is necessary to explecity say so cause in this case, the actual height of the level is 608, higher than the screen (600).

SVN-Revision: 1314

20 years ago- missing include
Ryan Flegel [Mon, 24 May 2004 21:29:11 +0000 (21:29 +0000)]
- missing include

SVN-Revision: 1313

20 years agotry to make the scrolling a bit smoother
Matthias Braun [Mon, 24 May 2004 21:28:44 +0000 (21:28 +0000)]
try to make the scrolling a bit smoother

SVN-Revision: 1312

20 years agofixed bug I just introduced
Matthias Braun [Mon, 24 May 2004 21:18:56 +0000 (21:18 +0000)]
fixed bug I just introduced

SVN-Revision: 1311

20 years agoForest background made by Benjamin!
Ricardo Cruz [Mon, 24 May 2004 21:05:58 +0000 (21:05 +0000)]
Forest background made by Benjamin!

SVN-Revision: 1310

20 years ago-renamed ViewPort to Camera
Matthias Braun [Mon, 24 May 2004 21:02:44 +0000 (21:02 +0000)]
-renamed ViewPort to Camera
-removed type() function from GameObject, you should better use C++ RTTI:
  * casting: BadGuy* badguy = dynamic_cast<BadGuy*> (object);
  * comparing for specific type if(typeid(object) == typeid(BadGuy))
  * getting the name typeid(object).name()
-moved camera handling into Camera class
-tweaked camera behaviour. Look for details in
  http://netpanzer.berlios.de/supertux/index.php/Camera
 Horizontal scrolling seems to be nicely now, vertical scrolling is still a bit
 too hectically...

SVN-Revision: 1309

20 years agoFixed checking for next point and the use of sprites.
Ricardo Cruz [Mon, 24 May 2004 20:42:21 +0000 (20:42 +0000)]
Fixed checking for next point and the use of sprites.

SVN-Revision: 1308

20 years agoadd -Werror flag to debug mode
Matthias Braun [Mon, 24 May 2004 16:14:42 +0000 (16:14 +0000)]
add -Werror flag to debug mode

SVN-Revision: 1307

20 years agoAdded flying platform into the buttjump and trampoline test level.
Ricardo Cruz [Mon, 24 May 2004 12:02:25 +0000 (12:02 +0000)]
Added flying platform into the buttjump and trampoline test level.

SVN-Revision: 1306

20 years agoAdded entry for flying platform.
Ricardo Cruz [Mon, 24 May 2004 12:01:35 +0000 (12:01 +0000)]
Added entry for flying platform.

SVN-Revision: 1305

20 years agoAdded Benjamin's flying platform image.
Ricardo Cruz [Mon, 24 May 2004 12:01:07 +0000 (12:01 +0000)]
Added Benjamin's flying platform image.
I could not add more than one frame cause the format is animated GIF...

SVN-Revision: 1304

20 years agoNew flying platform object.
Ricardo Cruz [Mon, 24 May 2004 11:59:59 +0000 (11:59 +0000)]
New flying platform object.
Though seems to have some probs checking if reached next point, resulting in a bad movement. I'll have a look at this later.

SVN-Revision: 1303

20 years agofix a bug when resizing maps and when saving maps which I recently introduced
Matthias Braun [Sun, 23 May 2004 22:46:34 +0000 (22:46 +0000)]
fix a bug when resizing maps and when saving maps which I recently introduced

SVN-Revision: 1302

20 years agodefault image changed to arctis.jpg
Matthias Braun [Sun, 23 May 2004 20:20:20 +0000 (20:20 +0000)]
default image changed to arctis.jpg

SVN-Revision: 1301

20 years agoMade butt-jump to behave according to what Marek asked. You can tune a definition...
Ricardo Cruz [Sun, 23 May 2004 00:11:58 +0000 (00:11 +0000)]
Made butt-jump to behave according to what Marek asked. You can tune a definition...
Now, we just need a butt-jump image.

SVN-Revision: 1300

20 years agoDon't remove badguys, just because they are out of the screen borders.
Ricardo Cruz [Sat, 22 May 2004 18:42:40 +0000 (18:42 +0000)]
Don't remove badguys, just because they are out of the screen borders.

SVN-Revision: 1299

20 years agoFixes.
Ricardo Cruz [Sat, 22 May 2004 17:55:44 +0000 (17:55 +0000)]
Fixes.

SVN-Revision: 1298

20 years agoTux shows arm when firing.
Ricardo Cruz [Sat, 22 May 2004 15:27:45 +0000 (15:27 +0000)]
Tux shows arm when firing.

SVN-Revision: 1297

20 years ago- made some changes for joystick in menu. better?
Ryan Flegel [Fri, 21 May 2004 23:37:56 +0000 (23:37 +0000)]
- made some changes for joystick in menu. better?

SVN-Revision: 1296

20 years ago- fixed level editor crash
Ryan Flegel [Fri, 21 May 2004 19:35:14 +0000 (19:35 +0000)]
- fixed level editor crash
- inserting objects still doesn't work, however

SVN-Revision: 1295

20 years ago- made some fun changes :)
Ryan Flegel [Fri, 21 May 2004 02:28:27 +0000 (02:28 +0000)]
- made some fun changes :)
- theres a hideen path on the right side if you don't want to buttjump your way all the way down

SVN-Revision: 1294

20 years agofix firetux not being able to pickup stuff
Matthias Braun [Fri, 21 May 2004 00:43:30 +0000 (00:43 +0000)]
fix firetux not being able to pickup stuff

SVN-Revision: 1293

20 years agoeliminated global scroll_x and scroll_y variables
Matthias Braun [Fri, 21 May 2004 00:22:57 +0000 (00:22 +0000)]
eliminated global scroll_x and scroll_y variables

SVN-Revision: 1292

20 years agofix jerky scrolling
Matthias Braun [Thu, 20 May 2004 23:58:31 +0000 (23:58 +0000)]
fix jerky scrolling

SVN-Revision: 1291

20 years agoimprove tux holding objects
Matthias Braun [Thu, 20 May 2004 23:46:50 +0000 (23:46 +0000)]
improve tux holding objects

SVN-Revision: 1290

20 years agofixed bullet problems
Matthias Braun [Thu, 20 May 2004 23:34:53 +0000 (23:34 +0000)]
fixed bullet problems

SVN-Revision: 1289

20 years agodon't remove trampolines twice
Matthias Braun [Thu, 20 May 2004 23:25:30 +0000 (23:25 +0000)]
don't remove trampolines twice

SVN-Revision: 1288

20 years agoadded standard header to files
Matthias Braun [Thu, 20 May 2004 23:19:55 +0000 (23:19 +0000)]
added standard header to files

SVN-Revision: 1287

20 years agoalso install xpm icon
Matthias Braun [Thu, 20 May 2004 23:09:40 +0000 (23:09 +0000)]
also install xpm icon

SVN-Revision: 1286

20 years agofix for trampoline syntax
Matthias Braun [Thu, 20 May 2004 23:09:19 +0000 (23:09 +0000)]
fix for trampoline syntax

SVN-Revision: 1285

20 years ago-converted remaining classes to GameObject
Matthias Braun [Thu, 20 May 2004 23:07:25 +0000 (23:07 +0000)]
-converted remaining classes to GameObject
-remove old GameObject type
-removed base_type.xm,ym and replaced code that was still using them

SVN-Revision: 1284

20 years agoforgot to add some files
Matthias Braun [Thu, 20 May 2004 19:57:20 +0000 (19:57 +0000)]
forgot to add some files

SVN-Revision: 1283

20 years ago-changed Level class to save tiles in a big 1 dimensional array instead of
Matthias Braun [Thu, 20 May 2004 19:56:37 +0000 (19:56 +0000)]
-changed Level class to save tiles in a big 1 dimensional array instead of
 vector<vector>. You can access a tile like this now tiles[y * width + x] is the tile at place x,y
-introduced new Serializable interface that is implemented by all objects that
 are able to save themselfes to disk
-added new lispwriter class
-changed level laoding/save code to use new serializable/lispwriter stuff

SVN-Revision: 1282

20 years agoconverted player to new object system
Matthias Braun [Thu, 20 May 2004 15:58:10 +0000 (15:58 +0000)]
converted player to new object system

SVN-Revision: 1281

20 years agoJust added a missing header.
Ricardo Cruz [Thu, 20 May 2004 15:09:58 +0000 (15:09 +0000)]
Just added a missing header.

SVN-Revision: 1280

20 years agoforgot to add some files
Matthias Braun [Thu, 20 May 2004 14:56:16 +0000 (14:56 +0000)]
forgot to add some files

SVN-Revision: 1279

20 years agofixed score display and converted tilemap to a gameobject
Matthias Braun [Thu, 20 May 2004 14:55:41 +0000 (14:55 +0000)]
fixed score display and converted tilemap to a gameobject

SVN-Revision: 1278

20 years agooops
Matthias Braun [Thu, 20 May 2004 13:33:26 +0000 (13:33 +0000)]
oops

SVN-Revision: 1277

20 years ago-Added new object system and converted some GameObjects to it.
Matthias Braun [Thu, 20 May 2004 12:12:39 +0000 (12:12 +0000)]
-Added new object system and converted some GameObjects to it.
 Please take a look if you like this new interface and complain as soon as
 possible :)
-Currently you experience some stuff is drawn at the wrong layer, that is
 because not everything is using the new displaymanager yet.

SVN-Revision: 1276

20 years agoDon't do string objects tests this way!
Ricardo Cruz [Wed, 19 May 2004 18:22:48 +0000 (18:22 +0000)]
Don't do string objects tests this way!

SVN-Revision: 1272

20 years agoJust improved a bit the butt jump control.
Ricardo Cruz [Wed, 19 May 2004 13:46:45 +0000 (13:46 +0000)]
Just improved a bit the butt jump control.
You don't have to press Down while pressing Up, but still you've to press it right away...

SVN-Revision: 1271

20 years agoRemake of the Ingo's background.
Ricardo Cruz [Wed, 19 May 2004 10:55:31 +0000 (10:55 +0000)]
Remake of the Ingo's background.

SVN-Revision: 1270

20 years agoLevel's draw_bg() now takes full care of the background drawing.
Ricardo Cruz [Wed, 19 May 2004 10:29:39 +0000 (10:29 +0000)]
Level's draw_bg() now takes full care of the background drawing.

SVN-Revision: 1269

20 years agoBullet fire counting with its height.
Ricardo Cruz [Wed, 19 May 2004 10:28:38 +0000 (10:28 +0000)]
Bullet fire counting with its height.

SVN-Revision: 1268

20 years ago- touched up bomb-explosion image
Ryan Flegel [Wed, 19 May 2004 04:17:04 +0000 (04:17 +0000)]
- touched up bomb-explosion image

SVN-Revision: 1267

20 years ago-updated TODO
Ryan Flegel [Wed, 19 May 2004 03:49:53 +0000 (03:49 +0000)]
-updated TODO

SVN-Revision: 1266

20 years ago- much nicer scrolling
Ryan Flegel [Wed, 19 May 2004 03:20:50 +0000 (03:20 +0000)]
- much nicer scrolling
- Patch submitted by David Kettler (Upsilon)

SVN-Revision: 1265

20 years agoOnly butt jump after a full jump. This approuch is different; instead of enabling...
Ricardo Cruz [Tue, 18 May 2004 23:45:30 +0000 (23:45 +0000)]
Only butt jump after a full jump. This approuch is different; instead of enabling butt jump only when the conditions are satisfory, keep it enabled and disable in case something doesn't satisfy them.

SVN-Revision: 1264

20 years agoRyan was right, Tux was firing from the head :D
Ricardo Cruz [Tue, 18 May 2004 23:15:31 +0000 (23:15 +0000)]
Ryan was right, Tux was firing from the head :D

SVN-Revision: 1263

20 years ago- just some formatting stuff
Ryan Flegel [Tue, 18 May 2004 21:11:41 +0000 (21:11 +0000)]
- just some formatting stuff

SVN-Revision: 1262

20 years ago-updated TODO
Ryan Flegel [Tue, 18 May 2004 20:39:31 +0000 (20:39 +0000)]
-updated TODO

SVN-Revision: 1261

20 years ago- ObjectManager stuff
Ryan Flegel [Tue, 18 May 2004 19:17:33 +0000 (19:17 +0000)]
- ObjectManager stuff

SVN-Revision: 1260

20 years ago- barebones BadGuyManager -> ObjectManager
Ryan Flegel [Tue, 18 May 2004 18:12:16 +0000 (18:12 +0000)]
- barebones BadGuyManager -> ObjectManager

SVN-Revision: 1259

20 years agoChanged back the sliding fix because it was buggy
Marek Moeckel [Tue, 18 May 2004 18:04:53 +0000 (18:04 +0000)]
Changed back the sliding fix because it was buggy

SVN-Revision: 1258

20 years agoreverted totally pointless commit of rmcruz. size does NOT contain the current power...
Matthias Braun [Tue, 18 May 2004 17:56:28 +0000 (17:56 +0000)]
reverted totally pointless commit of rmcruz. size does NOT contain the current power of tux.

SVN-Revision: 1257

20 years agoFix bug reported by Ryan: in level smaller than 19, Tux would stay in dead move forever.
Ricardo Cruz [Tue, 18 May 2004 17:46:05 +0000 (17:46 +0000)]
Fix bug reported by Ryan: in level smaller than 19, Tux would stay in dead move forever.

SVN-Revision: 1256

20 years agoTiny fix. Just to make fire or ice Tux to be able to do butt jump, as well.
Ricardo Cruz [Tue, 18 May 2004 17:20:27 +0000 (17:20 +0000)]
Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well.

SVN-Revision: 1255

20 years agoTODO update
Matthias Braun [Tue, 18 May 2004 17:17:32 +0000 (17:17 +0000)]
TODO update

SVN-Revision: 1254

20 years agoChanged it so that only big Tux is able to butt-jump
Marek Moeckel [Tue, 18 May 2004 17:12:54 +0000 (17:12 +0000)]
Changed it so that only big Tux is able to butt-jump
Prevented big Tux from being able to slide under one-tile-wide spaces
Now he will just slide out again the direction he came from
That allows to create places where being small Tux is an advantage

SVN-Revision: 1253

20 years agochanged duck mode a bit so that you can only jump a little bit when being ducked...
Matthias Braun [Tue, 18 May 2004 16:57:57 +0000 (16:57 +0000)]
changed duck mode a bit so that you can only jump a little bit when being ducked and that you can unduck in air

SVN-Revision: 1252

20 years agofixed butt jump to work even when up-key is not pressed, added a little jump after...
Matthias Braun [Tue, 18 May 2004 16:43:37 +0000 (16:43 +0000)]
fixed butt jump to work even when up-key is not pressed, added a little jump after breaking a brick. The thing still has problems with breaking the correct fix, as the used position is not the actual one, but the target position for the next frame, so you can break some bricks that aren't reachable normally

SVN-Revision: 1251

20 years agoNow the player dies when reaching the bottom of the level, even in Y-scrolling levels.
Ricardo Cruz [Tue, 18 May 2004 14:16:38 +0000 (14:16 +0000)]
Now the player dies when reaching the bottom of the level, even in Y-scrolling levels.

SVN-Revision: 1250

20 years agoRemoved 10 and putted 11 as 10.
Ricardo Cruz [Tue, 18 May 2004 14:15:38 +0000 (14:15 +0000)]
Removed 10 and putted 11 as 10.
Also, made test level 11 to have a background image to test it when scrolling Y.

SVN-Revision: 1249

20 years agoI think this fixes image background scrolling.
Ricardo Cruz [Tue, 18 May 2004 14:03:53 +0000 (14:03 +0000)]
I think this fixes image background scrolling.
Still needs testing.

SVN-Revision: 1248

20 years agoJust pushed the level info down.
Ricardo Cruz [Tue, 18 May 2004 14:02:47 +0000 (14:02 +0000)]
Just pushed the level info down.

SVN-Revision: 1247

20 years ago- update to TODO
Ryan Flegel [Mon, 17 May 2004 23:15:43 +0000 (23:15 +0000)]
- update to TODO

SVN-Revision: 1246

20 years ago- updated TODO with suggestions sent from Torfi to the ml
Ryan Flegel [Mon, 17 May 2004 23:07:21 +0000 (23:07 +0000)]
- updated TODO with suggestions sent from Torfi to the ml

SVN-Revision: 1245

20 years ago- updated TODO
Ryan Flegel [Mon, 17 May 2004 20:04:45 +0000 (20:04 +0000)]
- updated TODO

SVN-Revision: 1244

20 years agoadded another test level which covers vertical scrolling, the butt stomp and the...
Marek Moeckel [Mon, 17 May 2004 17:28:52 +0000 (17:28 +0000)]
added another test level which covers vertical scrolling, the butt stomp and the forest tune (although it doesn't fit in there, of course)

SVN-Revision: 1243