Commit Graph

255 Commits

Author SHA1 Message Date
Allanis
fc3276464a [Add] Targetting sounds implemented.
[Add] More doxygen.
2013-09-06 16:37:38 +01:00
Allanis
9178376c28 [Change] Split engine sounds and GUI sounds for player.
[Fix] Some issues in sound.c
[Add] More documentation.
2013-09-04 15:19:04 +01:00
Allanis
d3173f2949 [Add] player.c is now partially documented. 2013-09-02 17:08:51 +01:00
Allanis
9bb4b6e90e [Add] Primitive positional sound. 2013-08-23 20:45:49 +01:00
Allanis
5e1ac24f68 [Fix] Error when loading a player after another with sound. 2013-08-23 20:25:30 +01:00
Allanis
897bc36111 [Change] Re-wrote entire sound system with SDL_mixer. 2013-08-23 20:18:04 +01:00
Allanis
ce15505f7e [Change] Added punctuation to player_message()s 2013-08-17 15:37:05 +01:00
Allanis
79411d240e [Change] Unified colouring schemes. 2013-08-09 20:45:17 +01:00
Allanis
95d8eff1c5 [Add] Messages now fade away all sexy like. 2013-08-09 16:24:48 +01:00
Allanis
4d53076677 [Add] Uninhabited planets now show up as so on the radar. 2013-08-09 16:14:49 +01:00
Allanis
9d43435d4a [Change] Afterburn now breaks when you run out of energy. 2013-08-03 17:57:35 +01:00
Allanis
489b972879 [Change] Render player ontop of target graphics. 2013-08-03 14:28:08 +01:00
Allanis
a76a98de2a [Fix] Let's not segfault if outfit isn't found.. 2013-08-03 12:43:48 +01:00
Allanis
1c7bd75537 [Fix] Let's not segfault if a mission is not found in the stack when saving. :/ 2013-07-31 20:24:14 +01:00
Allanis
497081b3ed [Change] Split player rendering properly into GUI and player. 2013-07-22 17:21:28 +01:00
Allanis
abab808387 [Fix] Bug with changing hyperspace path after selecting a route. 2013-07-10 18:32:13 +01:00
Allanis
7a6f27da43 [Add] Warn the player when a missile is locked onto her. 2013-07-09 19:03:03 +01:00
Allanis
698b22a324 [Change] Player no longer "hardcoded" into pilot_stack[0]. 2013-07-06 17:28:26 +01:00
Allanis
7a66419f7c [Fix] Fuel loads properly now. 2013-07-06 14:46:06 +01:00
Allanis
19e3e818a4 [Change] Renamed pilots and mpilots to pilot_nstack and pilot_mstack. 2013-07-04 13:33:38 +01:00
Allanis
185039ae62 [Change] Cleaned up some variable/function names, also added -Wshadow CFLAG. 2013-06-28 16:08:56 +01:00
Allanis
14fed140c3 [Change] A little opengl code cleanup. 2013-06-28 13:05:32 +01:00
Allanis
692fb388df [Add] Missions can now mark systems. [Fix] Seg fault when switching pilots. 2013-06-26 00:28:16 +01:00
Allanis
73d8e18a2a [Add] Fuel is saved too now. 2013-06-25 22:34:15 +01:00
Allanis
700e47cd57 [Add] Use flags now for systems to allow missions to mark them. 2013-06-24 21:48:57 +01:00
Allanis
10a4791d81 [Add] Magor: You don't already know all the star system location. Go explore. 2013-06-23 19:22:07 +01:00
Steven Arnow
a2bb0df939 All C++-comments in src/ should now be C89 comments 2013-06-22 22:10:25 +02:00
Allanis
d8705a6f7a [Fix] New player cleanup stuff. 2013-06-22 20:43:57 +01:00
Allanis
dca1a33c36 [Fix] Problems with system with one unlandable planet. 2013-06-21 23:30:10 +01:00
Allanis
16baff189e [Change] Added a few nazi flags, and fixed code up a little. 2013-06-11 22:50:04 +01:00
Allanis
12eae87db9 [Add] Shoot me. But I have added alut as a dep. It loads sounds well. Engine sounds are now playing too. 2013-06-09 16:19:54 +01:00
Allanis
8d3d58ffb4 [Things] An assortment of fixes, also added afterburner sounds. 2013-06-06 21:44:57 +01:00
Allanis
493f67691e [Change] New philosophy. When you swap ships, your cargo should stay with you, will fix issues. Also, major outfit add/rm cleanup. 2013-06-03 22:22:50 +01:00
Allanis
00730b50a7 [Clean] gl_screen.[wh] = SCREEN_[WH] in most places. 2013-06-02 14:43:24 +01:00
Allanis
a6805df42d [Fix] Segfault when trying to land on a system with no planets. 2013-06-02 13:57:00 +01:00
Allanis
848a5e120d [Fix] Added PLAYER_CREATING flag to fix all creation/death issues propperly. 2013-06-01 18:39:37 +01:00
Allanis
3ff2885fd2 [Fix] Annoying ass bug with overwriting a pilot that is dead!! 2013-06-01 18:11:56 +01:00
Allanis
f91505b950 [Change] Some code cleanup and made map a little more sane when selecting paths. 2013-06-01 18:07:45 +01:00
Allanis
39871138e6 [Add] Conserve hyperspace path when taking off. 2013-06-01 17:39:20 +01:00
Allanis
a90f0d66c0 [Add] Missions are now loaded! Still need to load hooks for them to work. 2013-05-25 00:56:36 +01:00
Allanis
9eae9cf71c [Change] Rumble of the afterburners are now stored in outift.xml 2013-05-23 16:32:05 +01:00
Allanis
c7deebc62c [Add] Quick hack until active missions are saved. 2013-05-23 16:26:21 +01:00
Allanis
d6f266323f [Fix] Bug with no death window apearing after cinematic view. 2013-05-23 15:10:28 +01:00
Allanis
05ed57907f [Change] Seperated cinematics into spfx. 2013-05-23 15:06:25 +01:00
Allanis
f271a2cbb8 [Add] Let's get ready to RUUUMMMBLLLEEEEE!! 2013-05-18 15:40:18 +01:00
Allanis
75954df719 [Add] Now completed missions and mission variables are also loaded. 2013-05-17 02:02:56 +01:00
Allanis
d2da1f6df3 [Fix] Seg fault with map. 2013-05-16 21:31:39 +01:00
Allanis
960017f2f9 [Add] Fuel is now used ingame. 2013-05-16 19:25:56 +01:00
Allanis
856ea04d8d [Add] Prompt before overwriting pilot's save. 2013-05-16 15:18:12 +01:00
Allanis
3e51896bc1 [Fix] Screenshots save in home directory now as apposed to project directory. 2013-05-14 22:37:30 +01:00
Allanis
b791a6e7dc [Add] Filesystem abstraction and path based stuff. 2013-05-14 22:16:10 +01:00
Allanis
c51612d764 [Add] Linux specific stuff for saving. 2013-05-14 21:39:00 +01:00
Allanis
a741250073 [Add] You can kinda load games, still need to fix some issues. 2013-05-11 20:59:12 +01:00
Allanis
32adddc8d0 [Add] Save the completed missions. 2013-05-11 16:27:35 +01:00
Allanis
95ee7852de [Change] Cosmetic GUI fixes. 2013-05-08 22:08:24 +01:00
Allanis
18b57ff29b [Fix] <blushes> Bugz. 2013-05-08 20:25:22 +01:00
Allanis
fa7138f907 [Fix] Couple bugs with saving. 2013-05-08 20:11:38 +01:00
Allanis
e5620f86eb [Add] First commit of Lephisto save stuff. 2013-05-08 19:12:01 +01:00
Allanis
c609780acc [Add] Improved xml #define magic stuff. 2013-05-08 18:49:24 +01:00
Allanis
1bec93918e [Add] Few additions to lua mission wrappers ready for a new type of mission. 2013-05-06 23:18:36 +01:00
Allanis
b1ce5c83c6 [Add] You can now visually see the A* system paths now in map. 2013-04-24 18:42:02 +01:00
Allanis
7c1816aa2b [Add] Time in the form of Galactic Date. 2013-04-22 14:02:15 +01:00
Allanis
209e75bda1 [Fix] Mission var stuff. 2013-04-20 14:58:14 +01:00
Allanis
1b3d884f7e [Add] Unique missions are now actually.. Unique. 2013-04-09 01:14:16 +01:00
Allanis
3df258229c [Fix] guiy fix, no longet see the 0 in weightless cargo. 2013-04-08 23:43:42 +01:00
Allanis
e152d40fb2 [Add] Track cargo missions so they get cleaned on abort. 2013-04-08 23:29:44 +01:00
Allanis
07883a8a3b [Add] Gave mission cargo special marker in gui. 2013-04-06 14:10:53 +01:00
Allanis
8172d0f21f [Add] Introduced concept of mission cargo being un-tradable. 2013-04-05 20:19:27 +01:00
Allanis
6f7f889160 [Change] Improved shipyard ui. 2013-04-03 20:36:11 +01:00
Allanis
80ad3081f0 [Fix] Fixed up all the bugs for missions, they are now working. 2013-04-03 20:06:51 +01:00
Allanis
4f93fba024 [Add] Finally, fixed two horrible ugly ass bugs. 2013-04-03 19:08:42 +01:00
Allanis
a66a9ea264 [Change] Use ids for factions instead of pointers. 2013-03-31 16:12:33 +01:00
Allanis
f63605d605 [Change] Some cleanup with loading. 2013-03-26 17:04:42 +00:00
Allanis
4904fd5d24 [Add] Dialogue input. 2013-03-23 20:23:15 +00:00
Allanis
685c960281 [Change] Use player->credits as apposed to player_credits 2013-03-23 01:30:27 +00:00
Allanis
99857ba716 [Add] Can now change ships once purchased more, and also have them transported to another planet. 2013-03-22 23:28:16 +00:00
Allanis
269de8dcfe [Add] player_getLoc and don't allow player to repeat ship names. 2013-03-22 21:04:25 +00:00
Allanis
8da2cb1299 [Add] You can specify default fptr for windows now. 2013-03-22 20:31:42 +00:00
Allanis
8a1e7133c6 [Add] player_ships and player_getShip to manipulate player ships. 2013-03-22 20:17:16 +00:00
Allanis
127e76c542 [Fix] minor mem leak. 2013-03-22 18:35:11 +00:00
Allanis
697876409e [Add] Save purchased ships in a stack. Just need to be able to change them. 2013-03-22 13:26:11 +00:00
Allanis
2b8d4ecd82 [Add] Feel free to name your ship!! 2013-03-22 01:47:57 +00:00
Allanis
7ea7bf46a7 [Add] Add player name on new game. Some hacks, but it works. So ship it. 2013-03-22 00:23:14 +00:00
Allanis
053aab14c9 [Add] Input boxes in toolkit. Need to hack fonts up before it works. 2013-03-21 23:51:58 +00:00
Allanis
eff5850957 [Change] Land message. 2013-03-21 23:07:32 +00:00
Allanis
32462e21d4 [Fix] Stop pilot turning/accelerating when dying. 2013-03-21 21:35:53 +00:00
Allanis
6a7c051851 [Fix] Moving from tab to space messed all the indents up. I thing that got them all now. 2013-03-21 19:34:35 +00:00
Allanis
4ea444b9ae [Change] All tabs back to spaces. 2013-03-21 00:27:05 +00:00
Allanis
b286205f56 [Change] Land's auto target only targets landable planets. 'p' still cycles targets. 2013-03-20 23:42:46 +00:00
Allanis
bce1019847 [Fix] Seg fault on quit before entering game. 2013-03-20 23:35:34 +00:00
Allanis
74b7a22b6e [Fix] Font width issues.. 2013-03-20 23:17:40 +00:00
Allanis
d649330e5b [Change] Extended amount of time cinamatic cam is shown. 2013-03-20 20:26:29 +00:00
Allanis
ccffdae9fd [Add] Player death with short cinematic. 2013-03-20 20:23:39 +00:00
Allanis
dfd60775e2 [Change] Accuracy value for laser improved as everyone hated it. 2013-03-20 00:27:42 +00:00
Allanis
0d6ac1e5b1 [Add] Afterburners are in! After buying the outfit, double tap 'w'. 2013-03-19 22:34:20 +00:00
Allanis
b66c6f7ecf [Add] Attempted to get modifications actually working. Everything is
brokened. Don't even attempt to play..
2013-03-17 19:28:45 +00:00
Allanis
36812733fd [Change] Sanitized message order. 2013-03-17 14:37:25 +00:00
Allanis
ca84fe6a3a [Add] Buy/Sell commodities. They are all the same price at the minute. 2013-03-17 13:40:52 +00:00
Allanis
91e68ee828 [Add] Buy/Sell cargo. 2013-03-17 01:01:47 +00:00
Allanis
d9c8dbc449 [Add] 'face' will face targetted planet if no pilot target is selected. 2013-03-16 23:02:30 +00:00