Ricardo Cruz [Thu, 3 Jun 2004 17:42:10 +0000 (17:42 +0000)]
Updated POs.
SVN-Revision: 1405
Ricardo Cruz [Thu, 3 Jun 2004 17:41:22 +0000 (17:41 +0000)]
Added more strings to be translated.
In some places for doing the aligment spaces were used. I fixed a couple of places, but there are more there. This is a good time to remove this hacks.
We have to define some policy about what should be translatable.
IMO, error messages should not be translated. Only if they are telling the user what should he do.
Warnings maybe should be translated.
SVN-Revision: 1404
Ricardo Cruz [Thu, 3 Jun 2004 16:56:37 +0000 (16:56 +0000)]
Removed not existing files from the list.
After this the gmo generating works fine for me.
SVN-Revision: 1403
Ricardo Cruz [Thu, 3 Jun 2004 16:30:35 +0000 (16:30 +0000)]
Fixed scrolling.
The GUI is full of problems, I guess the best solution is to rewrite button.* stuff. The level editor also needs a redesign. I will take care of this, can take awhile.
SVN-Revision: 1402
Ricardo Cruz [Thu, 3 Jun 2004 11:31:51 +0000 (11:31 +0000)]
Fixed PO file.
How can we tell SuperTux to make use of it?
SVN-Revision: 1401
Matthias Braun [Thu, 3 Jun 2004 11:29:28 +0000 (11:29 +0000)]
another small fix
SVN-Revision: 1400
Matthias Braun [Thu, 3 Jun 2004 11:27:20 +0000 (11:27 +0000)]
hopefully fixed all configure problems now
SVN-Revision: 1399
Ricardo Cruz [Thu, 3 Jun 2004 11:26:12 +0000 (11:26 +0000)]
Changed level editor to a class.
SVN-Revision: 1398
Matthias Braun [Thu, 3 Jun 2004 11:23:39 +0000 (11:23 +0000)]
there should only be Makefile.am in cvs, never a Makefile.in
SVN-Revision: 1397
Matthias Braun [Thu, 3 Jun 2004 11:21:50 +0000 (11:21 +0000)]
pt.po is broken, please fix this first before readding it:
make[2]: Entering directory `/home/matze/projects/supertux/po'
make[2]: `de.gmo' is up to date.
rm -f pt.gmo && /usr/bin/msgfmt -c --statistics -o pt.gmo pt.po
/usr/bin/msgfmt: pt.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
/usr/bin/msgfmt: pt.po: some header fields still have the initial default value
/usr/bin/msgfmt: pt.po: warning: PO file header fuzzy
warning: older versions of msgfmt will give an error on this
/usr/bin/msgfmt: found 1 fatal error
make[2]: *** [pt.gmo] Error 1
SVN-Revision: 1396
Matthias Braun [Thu, 3 Jun 2004 11:19:24 +0000 (11:19 +0000)]
fixed warnings in leveleditor
SVN-Revision: 1395
Matthias Braun [Thu, 3 Jun 2004 11:09:54 +0000 (11:09 +0000)]
forgot to add Makefile.am
SVN-Revision: 1394
Ricardo Cruz [Thu, 3 Jun 2004 10:41:07 +0000 (10:41 +0000)]
Made these two compilable. Were accessing text's w and h variables.
SVN-Revision: 1393
Ryan Flegel [Thu, 3 Jun 2004 00:30:15 +0000 (00:30 +0000)]
- added empty m4/Makefile.in so we can at least compile :)
SVN-Revision: 1392
Ricardo Cruz [Wed, 2 Jun 2004 23:44:23 +0000 (23:44 +0000)]
Is it enough to edit LINGUAS to add a new translation?
SVN-Revision: 1391
Ricardo Cruz [Wed, 2 Jun 2004 23:33:35 +0000 (23:33 +0000)]
Managed to update the level editor to the new drawing context code and stuff.
But it has a lot of issues. Scrolling is not being respected, buttons are not working well, and lots of crashing.
Time to rescue the level editor! :)
SVN-Revision: 1390
Matthias Braun [Wed, 2 Jun 2004 23:05:06 +0000 (23:05 +0000)]
forgot a file
SVN-Revision: 1389
Matthias Braun [Wed, 2 Jun 2004 23:01:46 +0000 (23:01 +0000)]
TODO update
SVN-Revision: 1388
Matthias Braun [Wed, 2 Jun 2004 23:00:39 +0000 (23:00 +0000)]
added gettext support to autoconf&others and translated the main menu to german
SVN-Revision: 1387
Matthias Braun [Wed, 2 Jun 2004 21:00:40 +0000 (21:00 +0000)]
new versions of all fonts
SVN-Revision: 1386
Matthias Braun [Wed, 2 Jun 2004 20:54:46 +0000 (20:54 +0000)]
new versions of all fonts
SVN-Revision: 1385
Matthias Braun [Wed, 2 Jun 2004 20:08:59 +0000 (20:08 +0000)]
added new latin1 font of litespeed
SVN-Revision: 1384
Matthias Braun [Wed, 2 Jun 2004 20:06:56 +0000 (20:06 +0000)]
cleaned up font drawing code and added support for latin1 font of litespeed
SVN-Revision: 1383
Ryan Flegel [Tue, 1 Jun 2004 21:29:54 +0000 (21:29 +0000)]
- updated TODO
SVN-Revision: 1382
Ryan Flegel [Tue, 1 Jun 2004 21:12:29 +0000 (21:12 +0000)]
- updated TODO
SVN-Revision: 1381
Ryan Flegel [Tue, 1 Jun 2004 21:09:37 +0000 (21:09 +0000)]
- fixed some crashes where there was an invalid tile number
- some tiles need to be fixed (ie, there is no tile 6 but level5 and others contain it)
SVN-Revision: 1380
Ricardo Cruz [Tue, 1 Jun 2004 14:47:31 +0000 (14:47 +0000)]
Draw player above enemies in the dying sequence.
SVN-Revision: 1379
Ryan Flegel [Tue, 1 Jun 2004 06:58:34 +0000 (06:58 +0000)]
- a couple small fixes
SVN-Revision: 1378
Ricardo Cruz [Mon, 31 May 2004 23:47:05 +0000 (23:47 +0000)]
confirm_dialog now accepts a background, instead of doing the screen capture hack.
SVN-Revision: 1377
Matthias Braun [Mon, 31 May 2004 22:13:15 +0000 (22:13 +0000)]
introduce a new SoundManager class and merged MusicManager with it. Using this class we can create real stereo effects based on player position, without adding strange hacks to badguy.cpp
SVN-Revision: 1376
Matthias Braun [Mon, 31 May 2004 14:10:27 +0000 (14:10 +0000)]
forgot to checkin sprite changes
SVN-Revision: 1375
Ricardo Cruz [Mon, 31 May 2004 14:08:11 +0000 (14:08 +0000)]
Do a black fade-in when selecting slot.
To make it really looking good, we would had to have access to the screen. Dunno how we can do this with OpenGL.
SVN-Revision: 1374
Matthias Braun [Mon, 31 May 2004 13:43:31 +0000 (13:43 +0000)]
a first implementation of doors to switch between sectors
SVN-Revision: 1373
Ricardo Cruz [Mon, 31 May 2004 13:02:21 +0000 (13:02 +0000)]
Added support for drawing effects again.
We really need a include.h file with major includes, or we could just put the includes into the defines.h.
SVN-Revision: 1372
Matthias Braun [Mon, 31 May 2004 02:40:30 +0000 (02:40 +0000)]
big refactoring of level and world class. A level is now basically a set of
sectors (or sublevels). The Sector class has been merged with the old world
class. Also I've rewritten some parts of the load/save code and changed the
fileformat a bit to support several sectors.
On the way I fixed some bugs (and maybe introduce new ones...)
SVN-Revision: 1371
Ryan Flegel [Sun, 30 May 2004 23:00:00 +0000 (23:00 +0000)]
- butt jump now kills nearby badguys
SVN-Revision: 1370
Matthias Braun [Sun, 30 May 2004 20:42:24 +0000 (20:42 +0000)]
try to fix opengl warnings
SVN-Revision: 1369
Matthias Braun [Sun, 30 May 2004 17:54:23 +0000 (17:54 +0000)]
forgot stdint.h
SVN-Revision: 1367
Ingo Ruhnke [Sun, 30 May 2004 15:25:01 +0000 (15:25 +0000)]
replaced std::sort with stable_sort to avoid sorting errors with objects in the same layer
SVN-Revision: 1366
Matthias Braun [Sun, 30 May 2004 13:55:28 +0000 (13:55 +0000)]
fix so that pause text is displayed correctly
SVN-Revision: 1365
Matthias Braun [Sun, 30 May 2004 13:54:40 +0000 (13:54 +0000)]
fix tiles being 1 pixel off their correct position
SVN-Revision: 1364
Ingo Ruhnke [Sun, 30 May 2004 13:35:56 +0000 (13:35 +0000)]
- added missing assert header
SVN-Revision: 1363
Matthias Braun [Sun, 30 May 2004 12:57:56 +0000 (12:57 +0000)]
don't include polygon code yet
SVN-Revision: 1362
Matthias Braun [Sun, 30 May 2004 01:08:50 +0000 (01:08 +0000)]
-Changed drawing model. Everything is handled through DrawingContext now and
has an additional layer argument. So now you can paint into
background/foreground as you like. The DrawingContext will queue app all
commands, sort them and execute them in 1 go.
SVN-Revision: 1361
Ryan Flegel [Sat, 29 May 2004 01:29:00 +0000 (01:29 +0000)]
- small eq'n fixes
SVN-Revision: 1360
Ryan Flegel [Sat, 29 May 2004 00:38:15 +0000 (00:38 +0000)]
- fixed level editor crash (a hack)
SVN-Revision: 1359
Ricardo Cruz [Fri, 28 May 2004 23:09:37 +0000 (23:09 +0000)]
Added the 16 margin to the camera move checking as suggested by Ryan.
I still prefer no value, but at least it is not as bad as 32.
SVN-Revision: 1358
Ricardo Cruz [Fri, 28 May 2004 22:57:31 +0000 (22:57 +0000)]
Just retified the solution for the space issue.
SVN-Revision: 1357
Ricardo Cruz [Fri, 28 May 2004 22:37:48 +0000 (22:37 +0000)]
Minor fix for shrink fade.
Removed not working fade in (i'll work on that).
SVN-Revision: 1356
Ryan Flegel [Fri, 28 May 2004 22:35:05 +0000 (22:35 +0000)]
- fixed some resolution related leveditor bugs
SVN-Revision: 1355
Ryan Flegel [Fri, 28 May 2004 20:33:37 +0000 (20:33 +0000)]
- fixed 'When you jump into the roof or a bonus and fall back down you collide with badguys twice'
SVN-Revision: 1354
Ryan Flegel [Fri, 28 May 2004 19:47:16 +0000 (19:47 +0000)]
- made bombs explode instantly when they run into an exploding bomb (from Ricardo)
- only flip death animations when y-velocity is negative
SVN-Revision: 1353
Ricardo Cruz [Fri, 28 May 2004 18:41:58 +0000 (18:41 +0000)]
Just removed a part of the applied patch. IMO it is so much better when player changes direction.
Didn't touch the speed.
SVN-Revision: 1352
Ricardo Cruz [Fri, 28 May 2004 18:35:20 +0000 (18:35 +0000)]
Just reduced fading time when slot is chosen.
SVN-Revision: 1351
Ricardo Cruz [Fri, 28 May 2004 18:32:58 +0000 (18:32 +0000)]
Fixed the fade func problem. Just a simple mistake.
Also applied fade when choosing a slot.
SVN-Revision: 1350
Ricardo Cruz [Fri, 28 May 2004 18:13:17 +0000 (18:13 +0000)]
Fade when entering a level.
Sometimes doesn't work, i'll have a look at the fade func later.
SVN-Revision: 1349
Ricardo Cruz [Fri, 28 May 2004 14:57:58 +0000 (14:57 +0000)]
Just removed upside down thing. Done.
SVN-Revision: 1348
Ricardo Cruz [Fri, 28 May 2004 14:51:56 +0000 (14:51 +0000)]
Removed vertical flipping drawing hacks.
Anyway, can we remove the update argument from the drawing functions? It is not used anywhere and OpenGL doesn't support it.
SVN-Revision: 1347
Matthias Braun [Fri, 28 May 2004 14:46:16 +0000 (14:46 +0000)]
mention how to configure sound&video in SDL
SVN-Revision: 1346
Matthias Braun [Fri, 28 May 2004 09:41:45 +0000 (09:41 +0000)]
added inheritance diagram for the gameobjects
SVN-Revision: 1345
Ryan Flegel [Fri, 28 May 2004 07:31:25 +0000 (07:31 +0000)]
- added unisolid patch from Upsilon
SVN-Revision: 1344
Ryan Flegel [Thu, 27 May 2004 23:54:31 +0000 (23:54 +0000)]
- walking tree tweaks
SVN-Revision: 1343
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
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
Ricardo Cruz [Thu, 27 May 2004 16:58:16 +0000 (16:58 +0000)]
Added growing Tux entries.
SVN-Revision: 1340
Ricardo Cruz [Thu, 27 May 2004 16:57:47 +0000 (16:57 +0000)]
Tux growing animation by Benjamin!
SVN-Revision: 1339
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
Ryan Flegel [Thu, 27 May 2004 03:04:12 +0000 (03:04 +0000)]
- updated TODO
SVN-Revision: 1337
Ricardo Cruz [Thu, 27 May 2004 02:47:32 +0000 (02:47 +0000)]
Resized level to 19 height.
SVN-Revision: 1336
Ricardo Cruz [Wed, 26 May 2004 22:57:33 +0000 (22:57 +0000)]
Updated file to reflect added files.
SVN-Revision: 1335
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
Ricardo Cruz [Wed, 26 May 2004 22:46:59 +0000 (22:46 +0000)]
A couple of improvements for the flying platform.
SVN-Revision: 1333
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
Ryan Flegel [Tue, 25 May 2004 23:53:43 +0000 (23:53 +0000)]
- added David's camera patch
SVN-Revision: 1331
Ryan Flegel [Tue, 25 May 2004 23:24:10 +0000 (23:24 +0000)]
- added walkingtree to test level
SVN-Revision: 1330
Ryan Flegel [Tue, 25 May 2004 22:05:07 +0000 (22:05 +0000)]
- tweaked walkingtree
SVN-Revision: 1329
Ryan Flegel [Tue, 25 May 2004 21:21:22 +0000 (21:21 +0000)]
- added walking tree enemy. still needs some work
SVN-Revision: 1328
Ryan Flegel [Tue, 25 May 2004 19:41:48 +0000 (19:41 +0000)]
- some wingling tweaks
SVN-Revision: 1327
Ricardo Cruz [Tue, 25 May 2004 15:32:45 +0000 (15:32 +0000)]
Disable gravity when on flying platform.
SVN-Revision: 1326
Matthias Braun [Tue, 25 May 2004 10:38:52 +0000 (10:38 +0000)]
more tuning of badguy activation
SVN-Revision: 1325
Matthias Braun [Tue, 25 May 2004 10:13:07 +0000 (10:13 +0000)]
attempt to tune badguy activation
SVN-Revision: 1324
Matthias Braun [Tue, 25 May 2004 10:09:30 +0000 (10:09 +0000)]
forgot to commit my changes to testlevels yesterday
SVN-Revision: 1323
Ryan Flegel [Tue, 25 May 2004 02:56:31 +0000 (02:56 +0000)]
- added wingling to test level
SVN-Revision: 1322
Ryan Flegel [Tue, 25 May 2004 02:51:30 +0000 (02:51 +0000)]
- beginnings of a wingling
SVN-Revision: 1321
Matthias Braun [Tue, 25 May 2004 00:28:24 +0000 (00:28 +0000)]
implemented autoscrolling and proper camera parsing in levelfiles
SVN-Revision: 1320
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
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
Matthias Braun [Mon, 24 May 2004 23:02:34 +0000 (23:02 +0000)]
added some comments to scrolling code
SVN-Revision: 1317
Matthias Braun [Mon, 24 May 2004 22:53:39 +0000 (22:53 +0000)]
increase offscreen distance
SVN-Revision: 1316
Matthias Braun [Mon, 24 May 2004 22:36:56 +0000 (22:36 +0000)]
make badguys reappear when scrolling back
SVN-Revision: 1315
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
Ryan Flegel [Mon, 24 May 2004 21:29:11 +0000 (21:29 +0000)]
- missing include
SVN-Revision: 1313
Matthias Braun [Mon, 24 May 2004 21:28:44 +0000 (21:28 +0000)]
try to make the scrolling a bit smoother
SVN-Revision: 1312
Matthias Braun [Mon, 24 May 2004 21:18:56 +0000 (21:18 +0000)]
fixed bug I just introduced
SVN-Revision: 1311
Ricardo Cruz [Mon, 24 May 2004 21:05:58 +0000 (21:05 +0000)]
Forest background made by Benjamin!
SVN-Revision: 1310
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
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
Matthias Braun [Mon, 24 May 2004 16:14:42 +0000 (16:14 +0000)]
add -Werror flag to debug mode
SVN-Revision: 1307
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
Ricardo Cruz [Mon, 24 May 2004 12:01:35 +0000 (12:01 +0000)]
Added entry for flying platform.
SVN-Revision: 1305