]>
git.jsancho.org Git - lugaru.git/log
Côme BERNIGAUD [Sat, 13 Jul 2013 20:14:36 +0000 (22:14 +0200)]
player replaced by Person::players which is a vector of shared_ptr.
victim being a shared_ptr might be a memory leak, we should consider using weak_ptr for victim.
Having players being pointers will allow polymorphism so we can have a Rabbit and a Wolf class.
sf17k [Tue, 16 Apr 2013 00:43:25 +0000 (20:43 -0400)]
fix a crash
sf17k [Mon, 15 Apr 2013 23:17:57 +0000 (19:17 -0400)]
made convenience functions inlineable to avoid performance hit
sf17k [Mon, 15 Apr 2013 02:28:24 +0000 (22:28 -0400)]
CLEANED UP WHITESPACE
and removed some useless comments
sf17k [Mon, 15 Apr 2013 02:00:24 +0000 (22:00 -0400)]
FORMATTED IF STATEMENTS
sf17k [Mon, 15 Apr 2013 00:29:22 +0000 (20:29 -0400)]
BEAUTIFIED ALL SOURCE CODE
AStyle.exe --style=kr --pad-header --pad-oper *.c *.cpp *.h
sf17k [Fri, 12 Apr 2013 01:59:03 +0000 (21:59 -0400)]
comments and cleanup
sf17k [Sun, 7 Apr 2013 08:51:52 +0000 (04:51 -0400)]
beautified code
sf17k [Sun, 7 Apr 2013 03:20:23 +0000 (23:20 -0400)]
convenience functions
sf17k [Sun, 7 Apr 2013 02:57:40 +0000 (22:57 -0400)]
remove repetitive code
sf17k [Fri, 5 Apr 2013 23:49:50 +0000 (19:49 -0400)]
comments and simplification
sf17k [Fri, 5 Apr 2013 22:56:22 +0000 (18:56 -0400)]
employ convenience functions
sf17k [Fri, 5 Apr 2013 19:52:30 +0000 (15:52 -0400)]
added some comments
sf17k [Thu, 4 Apr 2013 22:09:36 +0000 (18:09 -0400)]
formatted if statements (Person.cpp)
sf17k [Thu, 4 Apr 2013 21:08:47 +0000 (17:08 -0400)]
beautified Person.cpp with AStyle
astyle --style=kr --pad-header --pad-oper Person.cpp
sf17k [Thu, 4 Apr 2013 20:20:51 +0000 (16:20 -0400)]
oops should've used tabs in Person.h
sf17k [Mon, 30 Jul 2012 05:46:44 +0000 (01:46 -0400)]
renames for readability
currentanimation -> animCurrent
targetanimation -> animTarget
currentframe -> frameCurrent
targetframe -> frameTarget
sf17k [Mon, 30 Jul 2012 04:35:39 +0000 (00:35 -0400)]
rename for readability
findDistancefast -> distsq
findDistancefastflat -> distsqflat
sf17k [Mon, 30 Jul 2012 04:15:14 +0000 (00:15 -0400)]
clean up formatting in Person.h
sf17k [Mon, 30 Jul 2012 01:25:06 +0000 (21:25 -0400)]
some findClosest* refactoring
sf17k [Sat, 12 May 2012 05:38:33 +0000 (01:38 -0400)]
get it to compile on my mingw setup
gcc's float.h is missing _fpclass(). mingw's float.h should work but for some reason it wasn't being used. using math.h fixes the problem.
the linker was being passed .def files, so I removed those.
Côme BERNIGAUD [Fri, 19 Aug 2011 20:55:00 +0000 (22:55 +0200)]
Some debug about textures.
blackfur.png file from empire campaign is malformed, made me think there was a bug in png loading.
sf17k [Wed, 8 Jun 2011 13:42:13 +0000 (09:42 -0400)]
added alt+enter fullscreen toggle
sf17k [Wed, 8 Jun 2011 12:51:45 +0000 (08:51 -0400)]
major refactor of texture system
sf17k [Sat, 4 Jun 2011 04:53:14 +0000 (00:53 -0400)]
don't use gluBuild2DMipmaps
sf17k [Fri, 3 Jun 2011 22:44:35 +0000 (18:44 -0400)]
oops, last commit fixed the wrong thing
sf17k [Fri, 3 Jun 2011 22:14:37 +0000 (18:14 -0400)]
fix one-pixel offset introduced in menu cleanup
sf17k [Fri, 3 Jun 2011 19:57:10 +0000 (15:57 -0400)]
glDeleteTextures safely ignores zeroes
sf17k [Mon, 30 May 2011 17:00:30 +0000 (13:00 -0400)]
fixed bad resolution being saved to config on first run
sf17k [Sun, 29 May 2011 19:26:28 +0000 (15:26 -0400)]
cleanup, renamed rotations to yaw/pitch
sf17k [Sun, 29 May 2011 16:30:19 +0000 (12:30 -0400)]
add include guard to Texture.h
sf17k [Sun, 29 May 2011 16:27:39 +0000 (12:27 -0400)]
major refactor of menu system, part 2
sf17k [Sun, 29 May 2011 06:55:36 +0000 (02:55 -0400)]
convert Game class to namespace
sf17k [Sun, 29 May 2011 03:29:52 +0000 (23:29 -0400)]
minor changes in menu system
sf17k [Thu, 26 May 2011 20:20:17 +0000 (16:20 -0400)]
major refactor of menu system, part 1
Côme BERNIGAUD [Fri, 20 May 2011 08:07:56 +0000 (10:07 +0200)]
merge
Côme BERNIGAUD [Fri, 20 May 2011 08:01:11 +0000 (10:01 +0200)]
supressed a done TODO
Alexander Monakov [Thu, 19 May 2011 07:32:38 +0000 (11:32 +0400)]
Fixup shipped config
sf17k [Thu, 19 May 2011 07:30:04 +0000 (11:30 +0400)]
fixed menu clicks carrying over
Alexander Monakov [Thu, 19 May 2011 07:11:43 +0000 (11:11 +0400)]
Merge with p/lugaru
Côme BERNIGAUD [Wed, 18 May 2011 20:56:21 +0000 (22:56 +0200)]
Some refactor about Person class.
Côme BERNIGAUD [Wed, 18 May 2011 20:55:29 +0000 (22:55 +0200)]
Added tag stableRC1 for changeset
c3d5e4ac8224
Côme BERNIGAUD [Wed, 18 May 2011 20:08:49 +0000 (22:08 +0200)]
bugfix about the console
Côme BERNIGAUD [Wed, 18 May 2011 18:30:03 +0000 (20:30 +0200)]
fixed some unwanted debug output
Côme BERNIGAUD [Wed, 18 May 2011 17:44:33 +0000 (19:44 +0200)]
console commands works again.
Côme BERNIGAUD [Wed, 18 May 2011 15:20:42 +0000 (17:20 +0200)]
The console key is now easy to configure. (the option will only be shown in debug mode)
Côme BERNIGAUD [Wed, 18 May 2011 13:44:44 +0000 (15:44 +0200)]
adding missing source files
Côme BERNIGAUD [Wed, 18 May 2011 13:43:58 +0000 (15:43 +0200)]
added a missing texture (the world image for temple campaign)
Côme BERNIGAUD [Tue, 17 May 2011 08:58:51 +0000 (10:58 +0200)]
Refactor of the texture system
Côme BERNIGAUD [Mon, 16 May 2011 15:42:40 +0000 (17:42 +0200)]
renaming some maps to be coherent.
Côme BERNIGAUD [Mon, 16 May 2011 01:49:03 +0000 (03:49 +0200)]
bugfix about weapons
Côme BERNIGAUD [Sun, 15 May 2011 17:03:08 +0000 (19:03 +0200)]
bug fix about pause menu
Côme BERNIGAUD [Sun, 15 May 2011 11:43:59 +0000 (13:43 +0200)]
Added a instruction file for compilation.
Côme BERNIGAUD [Sat, 14 May 2011 23:43:54 +0000 (01:43 +0200)]
A lot of clean up in MenuDraw.
Côme BERNIGAUD [Sat, 14 May 2011 14:01:18 +0000 (16:01 +0200)]
cleanup of campaign levels handling.
Côme BERNIGAUD [Sat, 14 May 2011 04:08:23 +0000 (06:08 +0200)]
little cleanup about campaign level handling
Côme BERNIGAUD [Fri, 13 May 2011 16:58:19 +0000 (18:58 +0200)]
bugfix (world texture was messed when fullscreen/windowed switch) and cleanups
Côme BERNIGAUD [Fri, 13 May 2011 16:33:39 +0000 (18:33 +0200)]
Some cleans, fullscreen is back if "--windowed" isn't passed as option.
Côme BERNIGAUD [Fri, 13 May 2011 15:47:18 +0000 (17:47 +0200)]
some small cleanups
Côme BERNIGAUD [Fri, 13 May 2011 15:32:19 +0000 (17:32 +0200)]
bug fix from weapon clean up
Côme BERNIGAUD [Fri, 13 May 2011 15:00:35 +0000 (17:00 +0200)]
Weapon clean up.
Côme BERNIGAUD [Fri, 13 May 2011 10:55:26 +0000 (12:55 +0200)]
bug fix in the campaign screen (lines on the map were not correctly shown)
Côme BERNIGAUD [Thu, 12 May 2011 17:44:21 +0000 (19:44 +0200)]
merge
Côme BERNIGAUD [Thu, 12 May 2011 17:43:57 +0000 (19:43 +0200)]
removing a debug cout
Côme BERNIGAUD [Thu, 12 May 2011 16:22:06 +0000 (18:22 +0200)]
Some bug fixes. Now the game remember which campaign you were playing last time.
sf17k [Thu, 12 May 2011 09:46:55 +0000 (05:46 -0400)]
updated xcode project
Côme BERNIGAUD [Thu, 12 May 2011 07:35:57 +0000 (09:35 +0200)]
I had added the wrong maps, not it works better
Côme BERNIGAUD [Wed, 11 May 2011 23:33:44 +0000 (01:33 +0200)]
Adding the temple campaign so we can test multiple campaigns features.
Côme BERNIGAUD [Wed, 11 May 2011 19:25:08 +0000 (21:25 +0200)]
The game now supports multiple campaigns!
Côme BERNIGAUD [Wed, 11 May 2011 17:21:56 +0000 (19:21 +0200)]
No more black background for the map, some little cleanup
Côme BERNIGAUD [Wed, 11 May 2011 16:49:18 +0000 (18:49 +0200)]
Problem fixed (LoadCampaign added when going back to campaign menu)
Côme BERNIGAUD [Wed, 11 May 2011 16:25:47 +0000 (18:25 +0200)]
almost nothing
Côme BERNIGAUD [Wed, 11 May 2011 11:55:41 +0000 (13:55 +0200)]
clean ups, and now campaignProgess is well initialized in accounts
sf17k [Wed, 11 May 2011 08:05:00 +0000 (04:05 -0400)]
campaign bug fixes
Côme BERNIGAUD [Tue, 10 May 2011 22:31:04 +0000 (00:31 +0200)]
first modifications in order to support multiple campaign.
Côme BERNIGAUD [Tue, 10 May 2011 21:27:04 +0000 (23:27 +0200)]
some more unused variables cleanup
sf17k [Tue, 10 May 2011 20:19:25 +0000 (16:19 -0400)]
merge
sf17k [Tue, 10 May 2011 20:18:27 +0000 (16:18 -0400)]
removed unused menu animation code
Côme BERNIGAUD [Tue, 10 May 2011 20:08:00 +0000 (22:08 +0200)]
no more 5000 int array, a nice vector instead.
Côme BERNIGAUD [Tue, 10 May 2011 19:41:02 +0000 (21:41 +0200)]
some more cleans thanks to cppcheck
Côme BERNIGAUD [Tue, 10 May 2011 18:51:07 +0000 (20:51 +0200)]
Some cleans, some duplicated code corrected.
Côme BERNIGAUD [Tue, 10 May 2011 17:37:16 +0000 (19:37 +0200)]
some cleanup
Côme BERNIGAUD [Tue, 10 May 2011 16:08:24 +0000 (18:08 +0200)]
Some reorganization of MenuTick.
Côme BERNIGAUD [Tue, 10 May 2011 15:19:53 +0000 (17:19 +0200)]
Some clean up in the menu system and the drawing menu function.
sf17k [Tue, 10 May 2011 05:07:38 +0000 (01:07 -0400)]
rename music1, music2, music3
sf17k [Tue, 10 May 2011 04:43:35 +0000 (00:43 -0400)]
menu cleanup
Alexander Monakov [Thu, 5 May 2011 04:03:41 +0000 (08:03 +0400)]
Obtain float max value from std::numeric_limits
Alexander Monakov [Thu, 5 May 2011 03:59:27 +0000 (07:59 +0400)]
Do not define INLINE in custom config for libjpeg
Alexander Monakov [Wed, 4 May 2011 19:30:55 +0000 (23:30 +0400)]
Guard SDL_GL_SWAP_CONTROL by version check
Alexander Monakov [Mon, 2 May 2011 15:40:52 +0000 (19:40 +0400)]
Set swap interval via SDL, enable by default
Alexander Monakov [Mon, 2 May 2011 08:31:29 +0000 (12:31 +0400)]
Do not link against OpenGL library
Alexander Monakov [Mon, 2 May 2011 08:26:20 +0000 (12:26 +0400)]
Add missing prototypes
Côme BERNIGAUD [Tue, 22 Feb 2011 15:40:10 +0000 (16:40 +0100)]
Bug fixed (we couldn't access to account menu)
Côme BERNIGAUD [Mon, 14 Feb 2011 14:40:20 +0000 (15:40 +0100)]
noaccount crash corrected
Côme BERNIGAUD [Mon, 14 Feb 2011 14:38:33 +0000 (15:38 +0100)]
Little fix in Account.cpp
Côme BERNIGAUD [Mon, 14 Feb 2011 14:37:43 +0000 (15:37 +0100)]
Jeff & David of Wolfire agreed to relicense portions of the game assets under CC-BY-SA 3.0
Côme BERNIGAUD [Mon, 14 Feb 2011 14:36:00 +0000 (15:36 +0100)]
optimizing LoadLevel(int which)
sf17k [Mon, 9 May 2011 07:44:27 +0000 (03:44 -0400)]
merge
sf17k [Sat, 7 May 2011 06:28:27 +0000 (02:28 -0400)]
fixed menu clicks carrying over
sf17k [Sat, 7 May 2011 05:35:31 +0000 (01:35 -0400)]
improved text input handling