supertux.git
9 years agoPossible fix for coverity #29375
Tobias Markus [Sat, 28 Feb 2015 11:33:44 +0000 (12:33 +0100)]
Possible fix for coverity #29375

9 years agoReplace sq_newslot with sq_createslot where appropriate (shorter and does the same...
Tobias Markus [Sat, 28 Feb 2015 09:50:53 +0000 (10:50 +0100)]
Replace sq_newslot with sq_createslot where appropriate (shorter and does the same thing)
[ci skip]

9 years agoFix coverity #29604
Tobias Markus [Fri, 27 Feb 2015 22:31:58 +0000 (23:31 +0100)]
Fix coverity #29604

9 years agoFix coverity #29357
Tobias Markus [Fri, 27 Feb 2015 16:30:56 +0000 (17:30 +0100)]
Fix coverity #29357

9 years agoFix all #29358 issues
Tobias Markus [Fri, 27 Feb 2015 16:24:48 +0000 (17:24 +0100)]
Fix all #29358 issues

9 years agoFew level polish
Benjamin Leduc [Wed, 25 Feb 2015 23:51:44 +0000 (23:51 +0000)]
Few level polish

9 years agoAdd current level to another debug message
Tobias Markus [Tue, 24 Feb 2015 18:26:28 +0000 (19:26 +0100)]
Add current level to another debug message

9 years agoFix coverity #29352
Tobias Markus [Mon, 23 Feb 2015 21:16:22 +0000 (22:16 +0100)]
Fix coverity #29352

9 years agoFix for coverity #29360
Tobias Markus [Mon, 23 Feb 2015 20:24:52 +0000 (21:24 +0100)]
Fix for coverity #29360

9 years agoFix for coverity #29369 (another further down)
Tobias Markus [Mon, 23 Feb 2015 18:08:32 +0000 (19:08 +0100)]
Fix for coverity #29369 (another further down)

9 years agoFix for coverity #29345
Tobias Markus [Mon, 23 Feb 2015 16:19:45 +0000 (17:19 +0100)]
Fix for coverity #29345

9 years agoFix for coverity #29369
Tobias Markus [Mon, 23 Feb 2015 00:19:54 +0000 (01:19 +0100)]
Fix for coverity #29369

9 years agoHopefully fix coverity issues
Tobias Markus [Mon, 23 Feb 2015 00:02:08 +0000 (01:02 +0100)]
Hopefully fix coverity issues

9 years agoFix compiler errors
Tobias Markus [Sun, 22 Feb 2015 17:21:50 +0000 (18:21 +0100)]
Fix compiler errors

9 years agoFix for coverity #29401
Tobias Markus [Sun, 22 Feb 2015 15:26:46 +0000 (16:26 +0100)]
Fix for coverity #29401

9 years agoFix for coverity #29402
Tobias Markus [Sun, 22 Feb 2015 15:19:09 +0000 (16:19 +0100)]
Fix for coverity #29402

9 years agoFix for coverity #29409 - Use char 0 instead of NULL
Tobias Markus [Sun, 22 Feb 2015 15:15:05 +0000 (16:15 +0100)]
Fix for coverity #29409 - Use char 0 instead of NULL

9 years agoadd of arabic font
Benjamin Leduc [Sat, 21 Feb 2015 01:53:02 +0000 (01:53 +0000)]
add of arabic font

9 years agotranslation update
Benjamin Leduc [Sat, 21 Feb 2015 00:44:57 +0000 (00:44 +0000)]
translation update

9 years agoAdd 165your4 to supertux credits
Tobias Markus [Fri, 20 Feb 2015 23:56:34 +0000 (00:56 +0100)]
Add 165your4 to supertux credits

9 years agoslight tile upgrade to match existing tiles
Sydney Dykstra [Wed, 18 Feb 2015 01:12:11 +0000 (20:12 -0500)]
slight tile upgrade to match existing tiles

9 years agoKorean font update
Benjamin Leduc [Tue, 17 Feb 2015 21:07:02 +0000 (21:07 +0000)]
Korean font update

9 years agoRevert "Use result of nproc instead of entering a definite number"
Tobias Markus [Tue, 17 Feb 2015 20:20:30 +0000 (21:20 +0100)]
Revert "Use result of nproc instead of entering a definite number"
This fixes build timeouts on Travis
This reverts commit cbcf9cb495916b3f190408dda3c52f02756cce7c.

9 years agoMerge branch 'master' of https://code.google.com/p/supertux
Tobias Markus [Tue, 17 Feb 2015 16:16:20 +0000 (17:16 +0100)]
Merge branch 'master' of https://code.google.com/p/supertux

9 years agoCredit addition: Sydney
Tobias Markus [Tue, 17 Feb 2015 01:14:55 +0000 (02:14 +0100)]
Credit addition: Sydney

9 years agoCorrect font size for Serbian localizer, changed credits entry for myself from 'Contr...
Tobias Markus [Mon, 16 Feb 2015 23:22:28 +0000 (00:22 +0100)]
Correct font size for Serbian localizer, changed credits entry for myself from 'Contrib Programming' to 'Programming' and move myself upwards

9 years agoAdd a new wall tile to tiles.strf
Tobias Markus [Tue, 17 Feb 2015 16:13:37 +0000 (17:13 +0100)]
Add a new wall tile to tiles.strf

9 years agoCredit addition: Sydney
Tobias Markus [Tue, 17 Feb 2015 01:14:55 +0000 (02:14 +0100)]
Credit addition: Sydney

9 years agoCorrect font size for Serbian localizer, changed credits entry for myself from 'Contr...
Tobias Markus [Mon, 16 Feb 2015 23:22:28 +0000 (00:22 +0100)]
Correct font size for Serbian localizer, changed credits entry for myself from 'Contrib Programming' to 'Programming' and move myself upwards

9 years agoFix for coverity #29394
Tobias Markus [Sun, 15 Feb 2015 20:32:55 +0000 (21:32 +0100)]
Fix for coverity #29394

9 years agoFix for coverity #29386
Tobias Markus [Sun, 15 Feb 2015 18:16:10 +0000 (19:16 +0100)]
Fix for coverity #29386

9 years agoWreorder fix
Tobias Markus [Sat, 14 Feb 2015 18:24:18 +0000 (19:24 +0100)]
Wreorder fix

9 years agoUse result of nproc instead of entering a definite number
Tobias Markus [Sat, 14 Feb 2015 17:11:44 +0000 (18:11 +0100)]
Use result of nproc instead of entering a definite number

9 years agoFix for coverity #29370
Tobias Markus [Sat, 14 Feb 2015 16:47:40 +0000 (17:47 +0100)]
Fix for coverity #29370

9 years agoFix for coverity #29377: Properly free memory of 's'
Tobias Markus [Sat, 14 Feb 2015 16:41:05 +0000 (17:41 +0100)]
Fix for coverity #29377: Properly free memory of 's'

9 years agoRemove bogus asserts, fixes Coverity #29378 and #29408
Tobias Markus [Sat, 14 Feb 2015 16:22:18 +0000 (17:22 +0100)]
Remove bogus asserts, fixes Coverity #29378 and #29408

9 years agoFix coverity #29405: Unchecked dynamic_cast
Tobias Markus [Sat, 14 Feb 2015 16:07:49 +0000 (17:07 +0100)]
Fix coverity #29405: Unchecked dynamic_cast

9 years agoClean from previous travis build before starting new one
Tobias Markus [Sat, 14 Feb 2015 15:26:32 +0000 (16:26 +0100)]
Clean from previous travis build before starting new one

9 years agoCalculate foremost layer correctly (previous implementation didn't work at all)
Tobias Markus [Sat, 14 Feb 2015 14:03:52 +0000 (15:03 +0100)]
Calculate foremost layer correctly (previous implementation didn't work at all)

9 years ago[travis] Hopefully fix build
Tobias Markus [Sat, 14 Feb 2015 13:17:30 +0000 (14:17 +0100)]
[travis] Hopefully fix build

9 years agoAdd missing 'global' identifier to .travis.yml
Tobias Markus [Sat, 14 Feb 2015 11:19:29 +0000 (12:19 +0100)]
Add missing 'global' identifier to .travis.yml

9 years agoAdd coverity build status to Readme.md
Tobias Markus [Fri, 13 Feb 2015 16:42:17 +0000 (17:42 +0100)]
Add coverity build status to Readme.md

9 years agoUpdate CMake to 3.1.3
Tobias Markus [Fri, 13 Feb 2015 16:09:35 +0000 (17:09 +0100)]
Update CMake to 3.1.3

9 years agoFirst try at auto-submitting Travis builds to Coverity
Tobias Markus [Fri, 13 Feb 2015 16:02:46 +0000 (17:02 +0100)]
First try at auto-submitting Travis builds to Coverity

9 years agoFix for uninitialized members
Tobias Markus [Fri, 13 Feb 2015 15:46:47 +0000 (16:46 +0100)]
Fix for uninitialized members

9 years agoAdd optional lpSecurityAttributes parameter to CreateDirectory call to make compilati...
Tobias Markus [Wed, 11 Feb 2015 15:13:14 +0000 (16:13 +0100)]
Add optional lpSecurityAttributes parameter to CreateDirectory call to make compilation on MSYS2 possible

9 years agocyrilic font improve #
Benjamin Leduc [Tue, 10 Feb 2015 23:00:51 +0000 (23:00 +0000)]
cyrilic font improve #

9 years agoadd Korean Font
Benjamin Leduc [Tue, 10 Feb 2015 09:34:49 +0000 (09:34 +0000)]
add Korean Font

9 years agoAdding snowmerge tiles, fixes #1058
Tobias Markus [Mon, 9 Feb 2015 19:25:06 +0000 (20:25 +0100)]
Adding snowmerge tiles, fixes #1058

9 years agoAdding industrial tiles, thanks Sydney!
Tobias Markus [Mon, 9 Feb 2015 19:03:38 +0000 (20:03 +0100)]
Adding industrial tiles, thanks Sydney!
Fixes bug #1071

9 years agoUpdate CMake to 3.1.2 in .travis.yml
Tobias Markus [Fri, 6 Feb 2015 14:17:35 +0000 (15:17 +0100)]
Update CMake to 3.1.2 in .travis.yml

9 years agoAdding gettext calls to 2 strings in addon manager
Tobias Markus [Thu, 5 Feb 2015 17:33:21 +0000 (18:33 +0100)]
Adding gettext calls to 2 strings in addon manager

9 years agoPause music when pressing ESC during a level and resume it when exiting the pause...
Tobias Markus [Sun, 1 Feb 2015 18:53:59 +0000 (19:53 +0100)]
Pause music when pressing ESC during a level and resume it when exiting the pause menu

9 years agoAdding sign that shows Tux holding an ice block
Tobias Markus [Sun, 1 Feb 2015 15:35:09 +0000 (16:35 +0100)]
Adding sign that shows Tux holding an ice block

9 years agoUpdate CMake to 3.1.1 in .travis.yml
Tobias Markus [Sun, 25 Jan 2015 23:16:00 +0000 (00:16 +0100)]
Update CMake to 3.1.1 in .travis.yml

9 years agoUse field width of 9 on sscanf (fixes cppcheck portability issues)
Tobias Markus [Thu, 22 Jan 2015 16:05:03 +0000 (17:05 +0100)]
Use field width of 9 on sscanf (fixes cppcheck portability issues)

9 years agoUpdate to Squirrel 3.0.7 stable
Tobias Markus [Wed, 21 Jan 2015 18:07:46 +0000 (19:07 +0100)]
Update to Squirrel 3.0.7 stable

9 years agoCopyright update to 2015
Tobias Markus [Tue, 13 Jan 2015 14:26:15 +0000 (15:26 +0100)]
Copyright update to 2015

9 years agoUse CMake 3.1 for Travis
Tobias Markus [Mon, 29 Dec 2014 19:27:52 +0000 (20:27 +0100)]
Use CMake 3.1 for Travis

9 years agoextra symbol in cyrilic for Serbian
Benjamin Leduc [Mon, 29 Dec 2014 00:52:20 +0000 (00:52 +0000)]
extra symbol in cyrilic for Serbian

9 years agotranslation update
Benjamin Leduc [Sun, 28 Dec 2014 16:23:22 +0000 (16:23 +0000)]
translation update

9 years agoReverted a couple of graphics back to a RGB color space from grayscale color space...
LMH [Wed, 24 Dec 2014 22:28:04 +0000 (12:28 -1000)]
Reverted a couple of graphics back to a RGB color space from grayscale color space, for some reason the grayscale images are not always being drawn.

9 years agoFixed a Segmentation Fault when mr_iceblock was kicked into a brick containing coins...
LMH [Wed, 24 Dec 2014 22:18:11 +0000 (12:18 -1000)]
Fixed a Segmentation Fault when mr_iceblock was kicked into a brick containing coins due to earthflower related changes

9 years agoUgly air hat graphics for skid, duck, and worldmap
LMH [Sun, 21 Dec 2014 09:12:35 +0000 (23:12 -1000)]
Ugly air hat graphics for skid, duck, and worldmap

9 years agoWoldmap images for earthtux
LMH [Thu, 18 Dec 2014 18:45:14 +0000 (08:45 -1000)]
Woldmap images for earthtux

9 years agoFinish out stone form with some quick-and-dirty graphics
LMH [Wed, 17 Dec 2014 01:11:04 +0000 (15:11 -1000)]
Finish out stone form with some quick-and-dirty graphics

9 years agoFinished skid and duck actions for hardhat.
LMH [Wed, 17 Dec 2014 00:21:10 +0000 (14:21 -1000)]
Finished skid and duck actions for hardhat.
Also completed all light for hardhat.

9 years agoDon't exit when no .git directory is present
Tobias Markus [Tue, 16 Dec 2014 01:42:02 +0000 (02:42 +0100)]
Don't exit when no .git directory is present

9 years agoAdding my name to credits file
Tobias Markus [Tue, 16 Dec 2014 00:35:51 +0000 (01:35 +0100)]
Adding my name to credits file

9 years agoSilence compiler warning
Tobias Markus [Tue, 16 Dec 2014 00:31:40 +0000 (01:31 +0100)]
Silence compiler warning

9 years agoSprite action work for powerup hats: climbing, backflip.
LMH [Sun, 14 Dec 2014 14:57:18 +0000 (04:57 -1000)]
Sprite action work for powerup hats: climbing, backflip.

Still need to finish sprite actions for duck and skid.  Note that climbing action for Tux really needs some work in general.

9 years agoImproved graphics for hardhat light
LMH [Sun, 14 Dec 2014 13:29:22 +0000 (03:29 -1000)]
Improved graphics for hardhat light

9 years agoReduced number of needed powerup hat images
LMH [Sun, 14 Dec 2014 12:40:28 +0000 (02:40 -1000)]
Reduced number of needed powerup hat images

9 years agoMiner's hardhat shakes with stone Tux during second prior to end of stone form
LMH [Thu, 4 Dec 2014 06:11:04 +0000 (20:11 -1000)]
Miner's hardhat shakes with stone Tux during second prior to end of stone form

9 years agoDo not draw powerup hat if there is no action defined
LMH [Thu, 4 Dec 2014 06:10:15 +0000 (20:10 -1000)]
Do not draw powerup hat if there is no action defined

9 years agoCredit update
Benjamin Leduc [Sun, 14 Dec 2014 01:13:49 +0000 (01:13 +0000)]
Credit update

9 years agotranslation update
Benjamin Leduc [Sat, 13 Dec 2014 23:48:32 +0000 (23:48 +0000)]
translation update

9 years agoAdded missing graphic for airflower
LMH [Sun, 30 Nov 2014 18:08:01 +0000 (08:08 -1000)]
Added missing graphic for airflower

9 years agoCrude attempt at a hat for airflower.
LMH [Sun, 30 Nov 2014 01:07:32 +0000 (15:07 -1000)]
Crude attempt at a hat for airflower.
At least it gets the idea across.

9 years agoIcecrusher crushes bricks.
LMH [Sat, 29 Nov 2014 22:58:22 +0000 (12:58 -1000)]
Icecrusher crushes bricks.

9 years agoGenerated particles need not have any randomness in either angle or velocity.
LMH [Sat, 29 Nov 2014 22:41:37 +0000 (12:41 -1000)]
Generated particles need not have any randomness in either angle or velocity.

9 years agoExplicitly defined the angle used by Particles, used new definition for particles...
LMH [Sat, 29 Nov 2014 22:31:48 +0000 (12:31 -1000)]
Explicitly defined the angle used by Particles, used new definition for particles generated by skid and buttjump.

9 years agoStone form is heavy enough to break through bricks
LMH [Sat, 29 Nov 2014 21:52:35 +0000 (11:52 -1000)]
Stone form is heavy enough to break through bricks

9 years agoAdded some vertical motion to the hard hat for when walking.
LMH [Sat, 29 Nov 2014 21:23:53 +0000 (11:23 -1000)]
Added some vertical motion to the hard hat for when walking.

9 years agoAdded missing graphic for earthflower
LMH [Sat, 29 Nov 2014 18:21:49 +0000 (08:21 -1000)]
Added missing graphic for earthflower

9 years agoFinished up code for basic functionality of earthflower powerup.
LMH [Sat, 29 Nov 2014 02:27:44 +0000 (16:27 -1000)]
Finished up code for basic functionality of earthflower powerup.

9 years agoBrought back particles for bomb explosions
LMH [Fri, 28 Nov 2014 20:47:55 +0000 (10:47 -1000)]
Brought back particles for bomb explosions

9 years agoCreated a new definition for Particles.
LMH [Fri, 28 Nov 2014 20:19:49 +0000 (10:19 -1000)]
Created a new definition for Particles.

Previously, the parameters used to define particles were not very intuitive. Specifically, the angles and initial velocity were very muddled. It appeared that the angle parameters were being used to randomize both angle and velocity, but in some bizarre manner.  The new definition allows the bounds for both the actual angle of trajectory and magnitude of the initial velocity to be defined, and a random value between those bounds is what is used for each particle.

In a nutshell: the new definition uses trigonometry in a physically correct and intuitive manner.

Since the old definition is called in a manner that makes particles which look good, it has not yet been replaced. However, these calls should probably be reworked under the new definition to produce the same behavior before removing the old definition.

9 years agoChanged egg shadow draw layer so it will no longer appear in front of bonusblocks...
LMH [Fri, 28 Nov 2014 18:50:50 +0000 (08:50 -1000)]
Changed egg shadow draw layer so it will no longer appear in front of bonusblocks before the egg is out.

9 years agoMinimal code for earthflower active ability.
LMH [Thu, 27 Nov 2014 03:18:20 +0000 (17:18 -1000)]
Minimal code for earthflower active ability.
To activate stone form, press DOWN while holding the ACTION key.  Player does not take damage while in stone form, and ability can be use offensively to crush enemies- including those that cannot be squished.
Still needs timers set up to limit the ability, and a ton of sprite work.

9 years agoRemoved 'add_bullet' from Sector, moved bullet checks into Player
LMH [Thu, 27 Nov 2014 02:02:11 +0000 (16:02 -1000)]
Removed 'add_bullet' from Sector, moved bullet checks into Player

9 years agoRemoving unused var 'slotfile'
Tobias Markus [Sun, 23 Nov 2014 21:25:31 +0000 (22:25 +0100)]
Removing unused var 'slotfile'

9 years ago[cppcheck] Part 3: More perf fixes that were missed during non-verbose run for whatev...
Tobias Markus [Sun, 23 Nov 2014 20:53:20 +0000 (21:53 +0100)]
[cppcheck] Part 3: More perf fixes that were missed during non-verbose run for whatever reason

9 years ago[cppcheck] Part 2: Some further style fixes etc.
Tobias Markus [Sun, 23 Nov 2014 20:44:52 +0000 (21:44 +0100)]
[cppcheck] Part 2: Some further style fixes etc.

9 years agoSmall style fix
Tobias Markus [Fri, 21 Nov 2014 00:46:01 +0000 (01:46 +0100)]
Small style fix

9 years ago[cppcheck] Part 1: Performance
Tobias Markus [Fri, 21 Nov 2014 00:22:54 +0000 (01:22 +0100)]
[cppcheck] Part 1: Performance

9 years agoTweak icecrusher draw layers to avoid objects (such as coins) from appearing inside...
LMH [Sat, 15 Nov 2014 23:45:46 +0000 (13:45 -1000)]
Tweak icecrusher draw layers to avoid objects (such as coins) from appearing inside the eyes.
Also removed excess debug line.

9 years agoRemoved some holes from standing Tux graphics
LMH [Sat, 15 Nov 2014 23:33:00 +0000 (13:33 -1000)]
Removed some holes from standing Tux graphics

9 years agoButt-jump stops gliding
LMH [Sat, 15 Nov 2014 23:17:02 +0000 (13:17 -1000)]
Butt-jump stops gliding

9 years agoBouncing on enemies and trampolines also gets a hight bonus from airflower
LMH [Sat, 15 Nov 2014 23:10:37 +0000 (13:10 -1000)]
Bouncing on enemies and trampolines also gets a hight bonus from airflower