supertux.git
18 years agoload default.nut for all scripts, have own roottable for console and load console...
Matthias Braun [Thu, 13 Apr 2006 19:41:00 +0000 (19:41 +0000)]
load default.nut for all scripts, have own roottable for console and load console.nut into it

SVN-Revision: 3330

18 years ago* "Outsourced" cheats from GameSession to scripting system.
Ondřej Hošek [Thu, 13 Apr 2006 18:30:55 +0000 (18:30 +0000)]
* "Outsourced" cheats from GameSession to scripting system.
* Implemented a new cheat (draw_solids_only(bool)) which deactivates drawing of non-solid layers (useful for debugging AND for cheating).

SVN-Revision: 3329

18 years agobe compatible with opengl 1.1 headers (stupid MS win...)
Matthias Braun [Thu, 13 Apr 2006 15:31:33 +0000 (15:31 +0000)]
be compatible with opengl 1.1 headers (stupid MS win...)

SVN-Revision: 3328

18 years agoMassive copyright update. I'm sorry if I'm crediting Matze for something he didn...
Ondřej Hošek [Thu, 13 Apr 2006 15:02:40 +0000 (15:02 +0000)]
Massive copyright update. I'm sorry if I'm crediting Matze for something he didn't write, but people should really consult AUTHORS, credits.txt or the SVN log to see who worked on the project.

SVN-Revision: 3327

18 years agoadd code to debug collision rectangles
Matthias Braun [Thu, 13 Apr 2006 15:00:11 +0000 (15:00 +0000)]
add code to debug collision rectangles

SVN-Revision: 3326

18 years agofix menu width, didn't committ the tileset fix, miscelaneous small fixes
Matthias Braun [Thu, 13 Apr 2006 14:06:22 +0000 (14:06 +0000)]
fix menu width, didn't committ the tileset fix, miscelaneous small fixes

SVN-Revision: 3325

18 years ago* Tux now stops at crossroads on worldmaps
Ondřej Hošek [Thu, 13 Apr 2006 11:53:31 +0000 (11:53 +0000)]
* Tux now stops at crossroads on worldmaps
* Fixed crasher when exiting from level opened via commandline
* Fixed an error in one of the Cobble test levels

SVN-Revision: 3324

18 years agocleaning up unused images, removed voicemail graphic
Stephen Groundwater [Thu, 13 Apr 2006 11:24:52 +0000 (11:24 +0000)]
cleaning up unused images, removed voicemail graphic

SVN-Revision: 3323

18 years agoupdated -nogl patch to match changes in trunk
Christoph Sommer [Thu, 13 Apr 2006 10:29:10 +0000 (10:29 +0000)]
updated -nogl patch to match changes in trunk

SVN-Revision: 3322

18 years agoAdded Danish translation from Anders
Ryan Flegel [Wed, 12 Apr 2006 20:35:52 +0000 (20:35 +0000)]
Added Danish translation from Anders

SVN-Revision: 3321

18 years agoHacked together a "coin losing" effect when Tux is killed.
Ondřej Hošek [Wed, 12 Apr 2006 18:59:59 +0000 (18:59 +0000)]
Hacked together a "coin losing" effect when Tux is killed.

SVN-Revision: 3320

18 years agofade out console
Matthias Braun [Wed, 12 Apr 2006 13:24:01 +0000 (13:24 +0000)]
fade out console

SVN-Revision: 3315

18 years ago- remove pointless leveltime from world1 levels
Matthias Braun [Wed, 12 Apr 2006 12:36:29 +0000 (12:36 +0000)]
- remove pointless leveltime from world1 levels
- rework console to not have static functions everywhere
- fix a few crashs/assertions
- minor fixes I forgot...

SVN-Revision: 3314

18 years agoWhen invincibility time's running out, the invinc. music fades out.
Ondřej Hošek [Wed, 12 Apr 2006 11:45:16 +0000 (11:45 +0000)]
When invincibility time's running out, the invinc. music fades out.

SVN-Revision: 3313

18 years agoforgot a file
Matthias Braun [Wed, 12 Apr 2006 01:24:32 +0000 (01:24 +0000)]
forgot a file

SVN-Revision: 3312

18 years agomore work on worlds
Matthias Braun [Wed, 12 Apr 2006 01:07:25 +0000 (01:07 +0000)]
more work on worlds

SVN-Revision: 3311

18 years agoseveral bugfixes to squirrel serialisation code, serializer/load worldmap state from...
Matthias Braun [Tue, 11 Apr 2006 23:32:55 +0000 (23:32 +0000)]
several bugfixes to squirrel serialisation code, serializer/load worldmap state from squirrel table now, world1.nut does something usefull now

SVN-Revision: 3310

18 years agomore missing asserts
Matthias Braun [Tue, 11 Apr 2006 21:24:41 +0000 (21:24 +0000)]
more missing asserts

SVN-Revision: 3309

18 years agouse GL.h
Matthias Braun [Tue, 11 Apr 2006 21:22:02 +0000 (21:22 +0000)]
use GL.h

SVN-Revision: 3308

18 years agoglu.h is not needed
Matthias Braun [Tue, 11 Apr 2006 21:14:59 +0000 (21:14 +0000)]
glu.h is not needed

SVN-Revision: 3307

18 years agomissing include
Matthias Braun [Tue, 11 Apr 2006 21:06:11 +0000 (21:06 +0000)]
missing include

SVN-Revision: 3306

18 years agoMac OS X Jam configuration should now work on newer systems too.
Ondřej Hošek [Tue, 11 Apr 2006 20:21:51 +0000 (20:21 +0000)]
Mac OS X Jam configuration should now work on newer systems too.

SVN-Revision: 3305

18 years agoUse Mac's libtool instead of ar to enable Universal Binary development
Ondřej Hošek [Tue, 11 Apr 2006 20:00:43 +0000 (20:00 +0000)]
Use Mac's libtool instead of ar to enable Universal Binary development

SVN-Revision: 3304

18 years agoByteswapping code for sound engine on big-endian systems
Ondřej Hošek [Tue, 11 Apr 2006 19:11:51 +0000 (19:11 +0000)]
Byteswapping code for sound engine on big-endian systems

SVN-Revision: 3303

18 years agoforgot some files
Matthias Braun [Tue, 11 Apr 2006 18:56:37 +0000 (18:56 +0000)]
forgot some files

SVN-Revision: 3302

18 years agomade typedefs public
Christoph Sommer [Tue, 11 Apr 2006 18:39:58 +0000 (18:39 +0000)]
made typedefs public

SVN-Revision: 3301

18 years agohopefully fixed the crash on exit, keep sectors script bundled in the sector and...
Matthias Braun [Tue, 11 Apr 2006 17:48:50 +0000 (17:48 +0000)]
hopefully fixed the crash on exit, keep sectors script bundled in the sector and destroy them when the sector gets destroyed

SVN-Revision: 3300

18 years agoadd some comments
Matthias Braun [Tue, 11 Apr 2006 16:00:21 +0000 (16:00 +0000)]
add some comments

SVN-Revision: 3298

18 years agofix CFLAGS problems
Matthias Braun [Tue, 11 Apr 2006 15:59:01 +0000 (15:59 +0000)]
fix CFLAGS problems

SVN-Revision: 3297

18 years agocheck endianess
Matthias Braun [Tue, 11 Apr 2006 14:04:30 +0000 (14:04 +0000)]
check endianess

SVN-Revision: 3296

18 years agoUpdated -nogl patch to reflect video subsys changes
Christoph Sommer [Tue, 11 Apr 2006 12:15:07 +0000 (12:15 +0000)]
Updated -nogl patch to reflect video subsys changes

SVN-Revision: 3295

18 years agofix gettext warnings
Matthias Braun [Tue, 11 Apr 2006 10:01:18 +0000 (10:01 +0000)]
fix gettext warnings

SVN-Revision: 3294

18 years agosimply change the type to GLint instead of casting around
Matthias Braun [Tue, 11 Apr 2006 09:59:15 +0000 (09:59 +0000)]
simply change the type to GLint instead of casting around

SVN-Revision: 3293

18 years ago* Fixed crasher if world doesn't have a world.nut
Ondřej Hošek [Tue, 11 Apr 2006 08:25:08 +0000 (08:25 +0000)]
* Fixed crasher if world doesn't have a world.nut
* Bonus island worldmaps work again

SVN-Revision: 3292

18 years agoRestored B2L11, simultaneously changing bell to firefly.
Ondřej Hošek [Tue, 11 Apr 2006 08:10:45 +0000 (08:10 +0000)]
Restored B2L11, simultaneously changing bell to firefly.

SVN-Revision: 3291

18 years ago* Some Mac fixes that don't break Linux (inclusion of stddef.h for size_t, explicit...
Ondřej Hošek [Tue, 11 Apr 2006 07:34:01 +0000 (07:34 +0000)]
* Some Mac fixes that don't break Linux (inclusion of stddef.h for size_t, explicit conversion from int* to GLint*)
* Fixed crasher when player carries Mr Iceblock and jumps out of sector's bounds
* Fixed crasher when player hits Enter without supplying a command (or only one or more spaces) in the console
* Reflected changes in directory structure and file types in Jamfiles for 'jam install'

SVN-Revision: 3290

18 years agoadding rough draft boat for the worldmap, will be fixed up.
Stephen Groundwater [Mon, 10 Apr 2006 22:16:15 +0000 (22:16 +0000)]
adding rough draft boat for the worldmap, will be fixed up.

SVN-Revision: 3288

18 years agoMajor rewrite of scripting support:
Matthias Braun [Mon, 10 Apr 2006 22:08:23 +0000 (22:08 +0000)]
Major rewrite of scripting support:
  - Add squirrel support to console
  - Reused ScriptManager from windstille (with some modifications now)
  - Added some new scripting commands (display, load_worldmap, load_level,
      wait_for_screenswitch, maybe others which I forgot)
  - Improved miniswig generated wrapper functions to check arguments passed and
    to catch exceptions and transform them into squirrel exceptions
  - All scripts are run as cooperative threads now
  - Sectors have a custom squirrel table now that contains all their objects and
    which has the (real) roottable set as parent. Sectorscripts use this
    sectortable as roottable.

SVN-Revision: 3287

18 years agofix quoting
Matthias Braun [Mon, 10 Apr 2006 16:33:27 +0000 (16:33 +0000)]
fix quoting

SVN-Revision: 3284

18 years agoMoved some console commands' implementations nearer to target classes
Christoph Sommer [Mon, 10 Apr 2006 13:08:45 +0000 (13:08 +0000)]
Moved some console commands' implementations nearer to target classes

SVN-Revision: 3283

18 years agoLevel statistics panel shown during level's end sequence
Christoph Sommer [Sun, 9 Apr 2006 23:05:23 +0000 (23:05 +0000)]
Level statistics panel shown during level's end sequence

SVN-Revision: 3282

18 years agoFixed bug with console crashing on 0-length commands
Christoph Sommer [Sun, 9 Apr 2006 21:13:48 +0000 (21:13 +0000)]
Fixed bug with console crashing on 0-length commands

SVN-Revision: 3281

18 years agonew fortress music
Marek Moeckel [Sun, 9 Apr 2006 16:57:57 +0000 (16:57 +0000)]
new fortress music

SVN-Revision: 3280

18 years agomenu level secret
Marek Moeckel [Sun, 9 Apr 2006 14:37:14 +0000 (14:37 +0000)]
menu level secret

SVN-Revision: 3279

18 years agoConsole commands can pass arguments
Christoph Sommer [Sun, 9 Apr 2006 13:32:19 +0000 (13:32 +0000)]
Console commands can pass arguments

SVN-Revision: 3278

18 years agoSubtle animation of Console background /
Christoph Sommer [Sun, 9 Apr 2006 01:23:04 +0000 (01:23 +0000)]
Subtle animation of Console background /
Console wraps long lines /
Implemented "quit" command for GameSession

SVN-Revision: 3277

18 years agoMessaging system should now work
Christoph Sommer [Sun, 9 Apr 2006 00:49:36 +0000 (00:49 +0000)]
Messaging system should now work

SVN-Revision: 3276

18 years agoMessaging subsystem rewrite, step I
Christoph Sommer [Sun, 9 Apr 2006 00:32:34 +0000 (00:32 +0000)]
Messaging subsystem rewrite, step I

SVN-Revision: 3275

18 years agoadded commands: "restart" to restart current level, and a placeholder for "quit"
Marek Moeckel [Sat, 8 Apr 2006 23:53:28 +0000 (23:53 +0000)]
added commands: "restart" to restart current level, and a placeholder for "quit"

SVN-Revision: 3274

18 years agotranslucent console
Marek Moeckel [Sat, 8 Apr 2006 23:25:55 +0000 (23:25 +0000)]
translucent console

SVN-Revision: 3273

18 years agoYet another Console commit /
Christoph Sommer [Sat, 8 Apr 2006 22:52:30 +0000 (22:52 +0000)]
Yet another Console commit /
Console toggle key is now read from config (control "console"). Hint: key 94 is the caret character /
Console now accepts multiple ConsoleCommandListeners per command. Will only call the most recently registered one /
Autocomplete only completes unambiguous commands /
"End" key scrolls to backbuffer end

SVN-Revision: 3272

18 years agoConsole toggle now scancode 49
Christoph Sommer [Sat, 8 Apr 2006 15:30:24 +0000 (15:30 +0000)]
Console toggle now scancode 49

SVN-Revision: 3271

18 years agoConsole toggle now on caret key / Started work on Backspace, Autocomplete, Scroll...
Christoph Sommer [Sat, 8 Apr 2006 14:54:19 +0000 (14:54 +0000)]
Console toggle now on caret key / Started work on Backspace, Autocomplete, Scroll features

SVN-Revision: 3270

18 years agoadjusted the scroll up/down arrows, attempting to make look cleaner
Stephen Groundwater [Sat, 8 Apr 2006 02:57:50 +0000 (02:57 +0000)]
adjusted the scroll up/down arrows, attempting to make look cleaner

SVN-Revision: 3268

18 years agostopped work on supertux-nogl
Christoph Sommer [Sat, 8 Apr 2006 00:38:08 +0000 (00:38 +0000)]
stopped work on supertux-nogl

SVN-Revision: 3267

18 years agoMoving contrib media files to trunk/media (part 2/2)
Ryan Flegel [Fri, 7 Apr 2006 17:53:37 +0000 (17:53 +0000)]
Moving contrib media files to trunk/media (part 2/2)

SVN-Revision: 3266

18 years agosimplified worldmap a bit
Matthias Braun [Fri, 7 Apr 2006 14:15:43 +0000 (14:15 +0000)]
simplified worldmap a bit

SVN-Revision: 3264

18 years agomore smaller fixes
Matthias Braun [Fri, 7 Apr 2006 14:12:29 +0000 (14:12 +0000)]
more smaller fixes

SVN-Revision: 3263

18 years agorefactored some supertux mainloops
Matthias Braun [Fri, 7 Apr 2006 13:37:56 +0000 (13:37 +0000)]
refactored some supertux mainloops

SVN-Revision: 3262

18 years agoreverted worldmap ice bridge graphic one version
Stephen Groundwater [Fri, 7 Apr 2006 12:04:52 +0000 (12:04 +0000)]
reverted worldmap ice bridge graphic one version

SVN-Revision: 3261

18 years agoMinor changes
Christoph Sommer [Fri, 7 Apr 2006 11:58:54 +0000 (11:58 +0000)]
Minor changes

SVN-Revision: 3260

18 years agoRestored old growup code
Christoph Sommer [Fri, 7 Apr 2006 11:51:14 +0000 (11:51 +0000)]
Restored old growup code

SVN-Revision: 3259

18 years agoConsole hides immediately / Cleaned up controller hook
Christoph Sommer [Fri, 7 Apr 2006 11:38:12 +0000 (11:38 +0000)]
Console hides immediately / Cleaned up controller hook

SVN-Revision: 3258

18 years agoForgot a file
Christoph Sommer [Fri, 7 Apr 2006 11:37:26 +0000 (11:37 +0000)]
Forgot a file

SVN-Revision: 3257

18 years agoNo lives, no gameover, no worries
Christoph Sommer [Fri, 7 Apr 2006 11:35:50 +0000 (11:35 +0000)]
No lives, no gameover, no worries

SVN-Revision: 3256

18 years agoadded console commands: "cheats", "cmdlist", "numberofthebeast"
Marek Moeckel [Fri, 7 Apr 2006 10:57:10 +0000 (10:57 +0000)]
added console commands: "cheats", "cmdlist", "numberofthebeast"

SVN-Revision: 3255

18 years agoadding a light background box for the score screen
Stephen Groundwater [Thu, 6 Apr 2006 22:52:22 +0000 (22:52 +0000)]
adding a light background box for the score screen

SVN-Revision: 3254

18 years agoTypo fix
Ryan Flegel [Thu, 6 Apr 2006 20:22:47 +0000 (20:22 +0000)]
Typo fix

SVN-Revision: 3253

18 years agoCheating handled by Console
Christoph Sommer [Thu, 6 Apr 2006 15:04:03 +0000 (15:04 +0000)]
Cheating handled by Console

SVN-Revision: 3252

18 years agoConsole can be toggled with Tab key / Receives chars while open
Christoph Sommer [Thu, 6 Apr 2006 14:06:48 +0000 (14:06 +0000)]
Console can be toggled with Tab key / Receives chars while open

SVN-Revision: 3251

18 years agomore work on yeti run-jump graphics
Stephen Groundwater [Thu, 6 Apr 2006 12:14:23 +0000 (12:14 +0000)]
more work on yeti run-jump graphics

SVN-Revision: 3250

18 years agofinished replacing bells with fireflies in the bonus levels
Stephen Groundwater [Thu, 6 Apr 2006 11:58:49 +0000 (11:58 +0000)]
finished replacing bells with fireflies in the bonus levels

SVN-Revision: 3249

18 years agoSimple Console
Christoph Sommer [Thu, 6 Apr 2006 01:46:31 +0000 (01:46 +0000)]
Simple Console

SVN-Revision: 3248

18 years agoIncreased height of levels to 19 tiles
Christoph Sommer [Tue, 4 Apr 2006 20:48:00 +0000 (20:48 +0000)]
Increased height of levels to 19 tiles

SVN-Revision: 3247

18 years agoIncreased level height to 19 tiles
Christoph Sommer [Tue, 4 Apr 2006 19:01:51 +0000 (19:01 +0000)]
Increased level height to 19 tiles

SVN-Revision: 3246

18 years agomissing assert
Matthias Braun [Tue, 4 Apr 2006 17:37:33 +0000 (17:37 +0000)]
missing assert

SVN-Revision: 3245

18 years agoreplaced bells with fireflies in bonus1 levels
Stephen Groundwater [Tue, 4 Apr 2006 14:29:37 +0000 (14:29 +0000)]
replaced bells with fireflies in bonus1 levels

SVN-Revision: 3243

18 years agoreplaces bell with firefly, renaming the level reset points
Stephen Groundwater [Tue, 4 Apr 2006 12:12:16 +0000 (12:12 +0000)]
replaces bell with firefly, renaming the level reset points

SVN-Revision: 3242

18 years agofix OpenAl deleting buffers before stop()
Matthias Braun [Tue, 4 Apr 2006 00:10:53 +0000 (00:10 +0000)]
fix OpenAl deleting buffers before stop()

SVN-Revision: 3240

18 years agoAnother level to have fun in
Christoph Sommer [Mon, 3 Apr 2006 23:11:45 +0000 (23:11 +0000)]
Another level to have fun in

SVN-Revision: 3236

18 years agobossattack source file, changed bells to fireflies in some levels
Marek Moeckel [Mon, 3 Apr 2006 21:06:18 +0000 (21:06 +0000)]
bossattack source file, changed bells to fireflies in some levels

SVN-Revision: 3234

18 years agoworld maps again
Marek Moeckel [Mon, 3 Apr 2006 13:36:05 +0000 (13:36 +0000)]
world maps again

SVN-Revision: 3225

18 years agomore worldmap work
Marek Moeckel [Mon, 3 Apr 2006 13:15:17 +0000 (13:15 +0000)]
more worldmap work

SVN-Revision: 3222

18 years agofix bonus1 worldmap
Matthias Braun [Mon, 3 Apr 2006 12:21:20 +0000 (12:21 +0000)]
fix bonus1 worldmap

SVN-Revision: 3215

18 years agofix build rule to handle files with spaces
Matthias Braun [Mon, 3 Apr 2006 11:51:42 +0000 (11:51 +0000)]
fix build rule to handle files with spaces

SVN-Revision: 3214

18 years agostopped infoblocks from ringing, since they're not telephones anymore - code is only...
Marek Moeckel [Mon, 3 Apr 2006 10:50:27 +0000 (10:50 +0000)]
stopped infoblocks from ringing, since they're not telephones anymore - code is only commented out so we can easily bring back the phones if we want to

SVN-Revision: 3212

18 years agorenamed world1 levels so they include the level's title
Marek Moeckel [Mon, 3 Apr 2006 10:40:55 +0000 (10:40 +0000)]
renamed world1 levels so they include the level's title

SVN-Revision: 3211

18 years agoadded small yeti to worldmap
Stephen Groundwater [Mon, 3 Apr 2006 01:34:00 +0000 (01:34 +0000)]
added small yeti to worldmap

SVN-Revision: 3210

18 years agoWorldmap teleporter is now animated / All Worldmap special tiles can be arbitrary...
Christoph Sommer [Sun, 2 Apr 2006 22:19:22 +0000 (22:19 +0000)]
Worldmap teleporter is now animated / All Worldmap special tiles can be arbitrary sprites

SVN-Revision: 3209

18 years agoadding teleporter dot animation
Stephen Groundwater [Sun, 2 Apr 2006 22:00:31 +0000 (22:00 +0000)]
adding teleporter dot animation

SVN-Revision: 3208

18 years agoTux can no longer stop on arbitrary positions / Can hold directional buttons pressed...
Christoph Sommer [Sun, 2 Apr 2006 21:50:31 +0000 (21:50 +0000)]
Tux can no longer stop on arbitrary positions / Can hold directional buttons pressed down / Split mutant if-block from hell into smaller functions

SVN-Revision: 3207

18 years agoadded firefly images
Stephen Groundwater [Sun, 2 Apr 2006 20:24:30 +0000 (20:24 +0000)]
added firefly images

SVN-Revision: 3204

18 years agoadded missing firefly.sprite, added more icebridge level tiles
Stephen Groundwater [Sun, 2 Apr 2006 20:09:55 +0000 (20:09 +0000)]
added missing firefly.sprite, added more icebridge level tiles

SVN-Revision: 3203

18 years agoreplaced bell object with firefly, renamed all hooks back to bell. Changed phone...
Stephen Groundwater [Sun, 2 Apr 2006 17:45:28 +0000 (17:45 +0000)]
replaced bell object with firefly, renamed all hooks back to bell. Changed phone info block to display '?' graphic.

SVN-Revision: 3199

18 years agocleanup of slight mismatch areas on the icebridge tiles
Stephen Groundwater [Sun, 2 Apr 2006 15:54:22 +0000 (15:54 +0000)]
cleanup of slight mismatch areas on the icebridge tiles

SVN-Revision: 3194

18 years agofix for editor
Matthias Braun [Sun, 2 Apr 2006 15:29:59 +0000 (15:29 +0000)]
fix for editor

SVN-Revision: 3193

18 years agochange worldmap format to be the same as levels (basically)
Matthias Braun [Sun, 2 Apr 2006 15:19:43 +0000 (15:19 +0000)]
change worldmap format to be the same as levels (basically)

SVN-Revision: 3190

18 years agotrying out some new yeti graphics
Stephen Groundwater [Sun, 2 Apr 2006 14:16:36 +0000 (14:16 +0000)]
trying out some new yeti graphics

SVN-Revision: 3187

18 years agofixed teleporter
Marek Moeckel [Sun, 2 Apr 2006 11:17:20 +0000 (11:17 +0000)]
fixed teleporter

SVN-Revision: 3186

18 years agoadded a placeholder for a new secret area
Marek Moeckel [Sun, 2 Apr 2006 10:55:28 +0000 (10:55 +0000)]
added a placeholder for a new secret area

SVN-Revision: 3185