Commit Graph

257 Commits

Author SHA1 Message Date
Allanis
cc1d09c4b5 [Fix] Small issue with spritesheets that don't have sx == sy 2013-02-26 23:44:54 +00:00
Allanis
f603df48cc [Change] Define special effects per outfit. 2013-02-26 23:43:07 +00:00
Allanis
80d78756ad [Add] Primitive special effect system with explosions!! 2013-02-26 23:18:40 +00:00
Allanis
21deb8709d [Change] Optimized getSpriteFromDir somewhat. 2013-02-26 18:47:14 +00:00
Allanis
ffd806bea6 [Change] Spoke too soon. Star deformation length is now defined. 2013-02-26 18:27:06 +00:00
Allanis
45d75779dd [Add] Perfected hyperspace visuals. ^.^ 2013-02-26 18:21:51 +00:00
Allanis
409dbff310 [Change] Improved hyperspace transition. 2013-02-26 17:54:51 +00:00
Allanis
a10931b7b6 [Fix] Clearing out some warning that I allowed to slip in. 2013-02-26 17:48:47 +00:00
Allanis
4db96b636a [Add] Just a bit more sanity checking for music. 2013-02-26 16:54:25 +00:00
Allanis
804a6d73a0 [Add] seek/tell functions to packfile. Still using "streaming mode" though as it works better with vorbis. 2013-02-26 16:24:29 +00:00
Allanis
301ea07a69 [Change] ai/toolkit compilable under C99. I'll get to the rest of it at some point. 2013-02-26 16:10:35 +00:00
Allanis
d2e952fb88 [Change] Just some C correctiveness. 2013-02-26 15:47:56 +00:00
Allanis
f9c778358c [Fix] Allow for gameplay even if sound isn't working. 2013-02-26 13:54:41 +00:00
Allanis
6a02e903a5 [Add] More complete error checking for audio framework [sound]. 2013-02-24 19:00:15 +00:00
Allanis
439fce48c8 [Add] Combat rating based on mass of pilots killed. -- [Add] Player name. 2013-02-24 18:18:52 +00:00
Allanis
84558ae2c9 [Fix] Small correction in a memset from packfile 2013-02-24 18:01:15 +00:00
Allanis
5c02e0ecfd [Fix] You didn't know it. But you could target while on the pilot information menu. Not now.. 2013-02-24 18:00:11 +00:00
Allanis
ff217f68d6 [Fix] Ensure the game will pause when opening the pilot information window. 2013-02-24 17:58:48 +00:00
Allanis
efe9970854 [Add] Information and ship spec widows with keybins 'i'
[Change] Cleaned up some MELEMENT sanity checks.
2013-02-24 17:55:59 +00:00
Allanis
7d04d86146 [Change] Target hostile no longet picks up disabled ships when targetting nearest hostile. 2013-02-24 16:09:06 +00:00
Allanis
b55259321e [Add] Pushback effect for weapons. 2013-02-24 16:06:19 +00:00
Allanis
34a6be43df [Add] Merchant vessels are now able to go to hyperspace.
[Change] Overpowered merchant ship a little for testing purposes.
2013-02-24 15:40:34 +00:00
Allanis
14735a362d [Fix] Hm. Fixing locally the testing on a remote server means push and pull spam. :) 2013-02-23 21:43:26 +00:00
Allanis
c5c0f16915 [Fix] Another one. Sorry. 2013-02-23 21:41:51 +00:00
Allanis
54758a5de9 [Fix] Typo in non POSIX build of packfile. 2013-02-23 21:40:38 +00:00
Tamir Atias
166dcc95f7 [Change] Renamed main.* to lephisto.*. 2013-02-23 22:38:03 +02:00
Allanis
82ed9ac551 [Change] Just some cosmetic changes, and removed of bzero and strdup. 2013-02-23 20:30:49 +00:00
Allanis
13228c39d8 [Fix?] Eh, some more error checking to prevent seg faults. 2013-02-23 20:14:58 +00:00
Allanis
15599909a0 [Fix] Flakyness removed. :D 2013-02-23 20:12:06 +00:00
Allanis
b165e7b263 [Add] Set volume with command line, volume is a little flaky at the min. :s. 2013-02-23 19:55:30 +00:00
Allanis
a296bd7aa0 [Add] Support for non POSIX systems with open/read/write in packfile system 2013-02-23 19:21:13 +00:00
Allanis
5841d23f54 [Change] Sanitized lua ai api a little. 2013-02-23 17:53:31 +00:00
Allanis
565ebcc20c [Fix] Revisited the libvorbis fix. We wish to return 0 on close. 2013-02-23 00:53:40 +00:00
Allanis
351ff76858 [Fix] Potential bug with a libvorbis segfault. 2013-02-23 00:43:32 +00:00
Allanis
fca4c4e33f [Change] Removed some debugging I didn't mean to commit in. 2013-02-23 00:22:07 +00:00
Allanis
04014d4e9a [Fix] Woops. .wav sounds not loading into memory propperly. 2013-02-23 00:19:51 +00:00
Allanis
999bdc7c8a [Change] Just some small tweaks to sound. I am hunting a bug... 2013-02-22 23:22:59 +00:00
Allanis
fccd9dcc22 [Fix] Mkay. Sound seems to be working without any problems now. 2013-02-22 22:07:42 +00:00
Tamir Atias
b074bce927 Merge branch 'master' of https://github.com/Allanis/Lephisto 2013-03-04 21:19:51 +02:00
Tamir Atias
95421ee5de [Add] Initial mingw support for Windows. 2013-03-04 19:16:29 +00:00
Allanis
dcc0fc247b [Add] Sound base support. 2013-02-22 05:34:24 +00:00
Allanis
529ca21644 [Add] Audio engine is now working, it It's fully tuned enough yet however.
[Change] Refactored ship.c to comply with xml.* standards.
2013-02-22 04:06:47 +00:00
Allanis
afd612ef17 [Add] Basic audio framework and some sounds. Give me another 30 mins and it will work. :) 2013-02-22 01:59:19 +00:00
Allanis
ab4d06a707 [Add] OpenAL to makefile. Preparing for Audio enginey thing. 2013-02-21 23:42:47 +00:00
Allanis
b4565b9063 [Fix] Radar zoom in/out has been bugged for some time. No-one noticed apart from Laci, so I decided to give it a fix. 2013-02-20 21:43:15 +00:00
Allanis
9ad2837a39 [Fix] Screenshots will allow up to 128 shots now without overwriting. These will go to a nice screenshots directory for you. 2013-02-20 21:37:02 +00:00
Allanis
a0f90f9877 [Add] Just playing around, as I can't be bothered to do anything big. 2013-02-20 21:26:17 +00:00
Allanis
943886f53e [Change] Brightened up the green a little for the GUI console fonts 2013-02-20 21:19:14 +00:00
Allanis
376a3af395 [Add] Fade to white when hyperspacing. Might want to add sound to that later. 2013-02-20 21:10:39 +00:00
Allanis
c5fa395f17 [Fix] Few warnings from conf file and VERSION not loading into packed data file. 2013-02-20 20:59:35 +00:00
Allanis
5381ceed02 [Add] Restore health/armour when taking off from a planet. 2013-02-20 20:37:42 +00:00
Allanis
7e3bca1e51 [Change] Remove hard forcing of player speed and instead use incremental slowdown.
[Fix] Pause would give instant travel. Not now!!
2013-02-20 20:20:48 +00:00
Allanis
b2a887ba45 [Change] Improved transition into hyperspace a little. 2013-02-20 20:10:36 +00:00
Allanis
44c6ea6ed6 [Add] Rudementory Hyperspace travel. Still a work in progress. ;) 2013-02-20 19:34:30 +00:00
Allanis
19570b0f6a [Fix] Pause is handled on opening a window, but for safety it is best to handle pause on menu open.
-- Forgot the menu files too..
2013-02-19 23:25:15 +00:00
Allanis
100c605d6b [Add] Preleminary pause menu. 2013-02-19 23:23:15 +00:00
Allanis
1ecf7c1e54 [Fix] Primary weapons where borked on checking for ammunition. 2013-02-19 23:02:42 +00:00
Allanis
a99544804e [Add] Small boarding menu, along with a function to get windows based on name rather than id. 2013-02-19 22:58:10 +00:00
Allanis
7889035b29 [Add] Taking off after landing on a planet now has a direct affect on the system. 2013-02-19 22:22:48 +00:00
Allanis
bfc3582d1e [Change] pilot and star stack won't lower memory allocation now. 2013-02-19 22:17:31 +00:00
Allanis
f5834d33f9 [Add] Commodity exchange. The market is closed the minute. :P 2013-02-19 21:46:11 +00:00
Allanis
8f7df9fc2f [Add] Embed name on window creation rather than having the overhead of writing and positioning a block of text. 2013-02-19 21:38:57 +00:00
Allanis
4384adec98 [Add] Spaceport bar. (no missions or hirelings or alchol available yet). 2013-02-19 20:04:04 +00:00
Allanis
2c388ea1b0 [Add] News window and the concept of fuel. 2013-02-19 19:13:24 +00:00
Allanis
1307661363 [Add] We now have some unimplmented planet services. 2013-02-19 18:50:17 +00:00
Allanis
7b72a35b9e [Fix] Why are we reversing while we are already stopped dead? 2013-02-19 18:11:43 +00:00
Allanis
69476744b8 [Change] Forgot to remove debug statement. 2013-02-19 17:50:51 +00:00
Allanis
474d1df755 [Add] A reverse command for @KonoM as he does not know how physics works. 2013-02-19 17:44:20 +00:00
Allanis
59fc153454 [Change] Pulled default colours out of player.* and throw them in their rightful unit. 2013-02-19 15:43:34 +00:00
Allanis
9a9ace4a42 [Add] Text word wrapping/block text. Allowing for lovely descriptons of planets. 2013-02-19 14:18:55 +00:00
Allanis
d66e1a52f9 [Change] Font work was becoming a little too large to sit in opengl specific code. Moved to font.* 2013-02-19 12:24:55 +00:00
Allanis
74211a0825 [Add] Pause game when window is not focused. Introduced a small 10ms delay when paused to lower CPU usage. 2013-02-19 11:37:38 +00:00
Tamir Atias
f66f644411 Merge branch 'master' of https://github.com/Allanis/Lephisto 2013-02-19 02:43:02 +02:00
Tamir Atias
7034b2369c [Fix] Screenshots were saved as RGBA. Bad idea. 2013-02-19 02:42:37 +02:00
Allanis
13473611ae [Add] Actual landing image. 2013-02-19 00:41:47 +00:00
Allanis
9773d9b19a [Change] Planet target is rendered behind ships and weapons. 2013-02-19 00:15:32 +00:00
Allanis
bf9d422150 [Add] Support for images of planets within toolkit.
[Change] blit functions use doubles instead of vectors.
[Change] Took some time out to clean up space.c bringing it up to xml.h standards.
2013-02-19 00:10:57 +00:00
Allanis
d19f8c4ae8 [Add] More sane toolkit API. -- Improved landing graphics.
[Change] Moved colours out of opengl specific stuff.
2013-02-18 18:37:19 +00:00
Allanis
074e60afa5 [Add] Finished the basic toolkit by rounding off corners, adding gl_printMax and gl_printMid.
[Add] Use flag system with gl_screen.
  -- Optional AA for primitives.
2013-02-18 17:12:35 +00:00
Allanis
268b5dcaa0 [Fix]? Attempted to fix seg fault on AI trying to switch to secondary weapons when there is none available. 2013-02-17 23:30:40 +00:00
Allanis
8eb62f218f [Fix] Woops. Maybe it was me.. 2013-02-17 22:47:40 +00:00
Allanis
ba4b7239d4 [Change] Some tweaks to GL rendering. - I should point out, It wasn't me whom broke the textures. :P 2013-02-17 22:45:19 +00:00
Allanis
811fc0b92a [Change] What in the world was I thinking with the gui crap?? Large refactoring.. 2013-02-17 21:56:57 +00:00
Allanis
2a713437a2 [Fix] Pause on landing on a planet. 2013-02-17 20:18:16 +00:00
Allanis
f941608fd8 [Fix] Oops. Landing was based upon velocity alone, instead of distance and velocity. 2013-02-17 19:53:06 +00:00
Allanis
14e525078e [Add] Basic toolkit for window/widget rendering etc.
[Add] Landing.
2013-02-17 19:51:31 +00:00
Allanis
9899458f91 [Change] moved FreeSans.ttf to font.ttf simply to make things more comfortable later. 2013-02-17 17:37:16 +00:00
Tamir Atias
326b475923 [Fix] Renamed time to gtime and made it global as it is used in pause.c 2013-02-17 02:52:52 +02:00
Tamir Atias
61f1069542 [Fix] time(NULL) segfaulting stuff. 2013-02-17 02:50:37 +02:00
Allanis
c0cc0a9346 [Add] Start of toolkit framework, we will manage windows etc here.
[Add] Pause/Resume
2013-02-16 20:01:00 +00:00
Allanis
67480a47e3 [Change] Finished cleaning input. Making way for toolkit. 2013-02-16 12:56:29 +00:00
Allanis
e6057d04af [Change] Still cleaning. Adding all the input crap to it's rightful place. 2013-02-16 12:09:21 +00:00
Allanis
95ac1a61d7 [Change] Still cleaning up the place.
-- Basically just moving things into conf.c to make things cleaner.
  -- Got to get the input out player.c That file is wayyyy too big.
2013-02-15 23:51:20 +00:00
Allanis
2d797b9d52 [Add] Split configuration processing into seperate files, namely conf.*
-- Managed to clean up main.c a little.
2013-02-15 22:43:49 +00:00
Allanis
d57bcd0484 [Fix] Slight change to pack file to append '\0' to string. 2013-02-15 20:48:55 +00:00
Allanis
7e013e5b91 [Add] AI Lua API calls for secondary weapons. 2013-02-15 20:26:41 +00:00
Allanis
a6c9a00cf5 [Add] Updated documentation crap.
[Fix] Warning on 64bit machines.
2013-02-15 19:08:38 +00:00
Allanis
e3c2ca72ac [Add] Planet targeting/landing framework.
[Change] Seperated update/render as it should be.
2013-02-15 18:15:06 +00:00
Allanis
ef108e9f2e [Change] Small change to secondary weapon display. 2013-02-15 09:24:53 +00:00
Allanis
36f1936667 [Add] Secondary weapons.
[Add] Preliminary seeker missile.
2013-02-15 07:31:59 +00:00