Steve
|
57d8c867e1
|
v0.6. Start of i18n.
|
2016-02-27 12:14:05 +00:00 |
Steve
|
d79325a0b3
|
Only select one mission.
|
2016-02-27 08:08:32 +00:00 |
Steve
|
1f5af02441
|
Fixed for point effects not showing.
|
2016-02-25 16:43:26 +00:00 |
Steve
|
6b25cc3c8b
|
Clip camera using star systems.
|
2016-02-25 16:00:42 +00:00 |
Steve
|
b5bafa1b1e
|
Windows save path bug fix.
|
2016-02-25 12:27:08 +00:00 |
Steve
|
3f100a0848
|
Init effects on title screen, to prevent crash.
|
2016-02-25 12:26:54 +00:00 |
Steve
|
84889d8391
|
Windows build fixes.
|
2016-02-25 11:46:39 +00:00 |
Steve
|
19630696c5
|
Prevented AI craft for jittering when close to leader.
|
2016-02-25 10:55:15 +00:00 |
Steve
|
e79d331599
|
Added ALL_OBJECTIVES_COMPLETE script command.
|
2016-02-25 10:52:01 +00:00 |
Steve
|
239845a279
|
Array resize bug fixes.
|
2016-02-24 23:12:13 +00:00 |
Sweeney
|
56540a56ac
|
Start of bullet, debris, and effect performance updates. Dynamic array sizing.
|
2016-02-24 15:02:51 +00:00 |
Steve
|
ae3b5c4c1a
|
Create tbfss save folder in Windows with current username.
|
2016-02-24 07:17:53 +00:00 |
Steve
|
913184d877
|
Removed INF. They don't exist after 2616.
|
2016-02-24 07:16:23 +00:00 |
Steve
|
e4b2bba230
|
Leader following tweaks: will now face and move in the general direction of leader once in range.
|
2016-02-24 07:13:48 +00:00 |
Steve
|
a2a1ec0613
|
Modal message box updates.
|
2016-02-23 22:20:07 +00:00 |
Steve
|
368e9dc592
|
Start of modal dialog display.
|
2016-02-23 07:19:31 +00:00 |
Steve
|
8afc9a757b
|
Updated avoidance.
|
2016-02-22 21:46:46 +00:00 |
Steve
|
bde4dd84f5
|
Removed redundant calls.
|
2016-02-22 21:45:02 +00:00 |
Steve
|
66fa5ede35
|
Display loading progress for initial load.
|
2016-02-22 17:28:23 +00:00 |
Steve
|
a7f9585a9a
|
Moved prepareScene / presentScene into main loop.
|
2016-02-22 17:27:36 +00:00 |
Steve
|
66874a1720
|
Adjusted brake amount of missiles, to prevent them circling opponents.
|
2016-02-22 16:32:38 +00:00 |
Steve
|
d529a83bfa
|
Set window title with full game name.
|
2016-02-22 12:47:41 +00:00 |
Steve
|
0c88500690
|
Start of avoidance code for capital ships.
|
2016-02-22 12:47:30 +00:00 |
Steve
|
4128868692
|
Dynamically allocate number of files in list.
|
2016-02-21 17:24:21 +00:00 |
Steve
|
fd56b75a6a
|
Press 6 to complete mission in debug mode.
|
2016-02-21 16:55:29 +00:00 |
Steve
|
03712285c4
|
Campaign flow bug fixes.
|
2016-02-21 16:55:11 +00:00 |
Steve
|
cedbed4dc8
|
Updated copyright dates.
|
2016-02-21 15:50:27 +00:00 |
Steve
|
dcef433d4d
|
Randomly scale planet.
|
2016-02-21 13:47:10 +00:00 |
Steve
|
862d73dbc2
|
Quadrant fix.
|
2016-02-21 13:46:58 +00:00 |
Steve
|
9ced1e75c8
|
Removed unneeded addCandidate function.
|
2016-02-21 09:41:32 +00:00 |
Steve
|
4d3b2f10a1
|
Remove entities from quadtree at start of loop.
|
2016-02-21 09:41:00 +00:00 |
Steve
|
a554c0ef00
|
Tidied headers.
|
2016-02-21 08:54:23 +00:00 |
Steve
|
f402c8e7b9
|
Updated battle area restrictions, to fit quadtree changes.
|
2016-02-21 08:54:14 +00:00 |
Steve
|
1e24844d9b
|
Resize fetch list dynamically.
|
2016-02-21 08:28:22 +00:00 |
Steve
|
b004dd95ab
|
Resize quadtree entity capacity as needed.
|
2016-02-21 08:13:17 +00:00 |
Steve
|
6b1e62dd38
|
Start of replacing grid with quadtree.
|
2016-02-21 07:48:22 +00:00 |
Steve
|
7337460853
|
Text render bug fix.
|
2016-02-20 15:04:26 +00:00 |
Steve
|
5bf486ede6
|
Display all available weapons on HUD.
|
2016-02-20 15:04:15 +00:00 |
Steve
|
da71c1d647
|
Added ECM, mag bolt hit, and power down sounds.
|
2016-02-20 14:19:59 +00:00 |
Steve
|
757b942174
|
Added hud icons for armour, shield, ecm, and boost.
|
2016-02-15 16:59:47 +00:00 |
Steve
|
db8678d64b
|
Don't use key repeat.
|
2016-02-15 15:24:27 +00:00 |
Steve
|
26aa3b3bb1
|
Play denied sound when attempting to boost / use ecm when depleted.
|
2016-02-15 15:24:19 +00:00 |
Steve
|
7656957dd6
|
Fixed ECM halo effect.
|
2016-02-15 15:23:51 +00:00 |
Steve
|
de3dde7211
|
Allow widgets to be selected by pressing Return, as well as Space.
|
2016-02-15 14:08:13 +00:00 |
Steve
|
b99dd3a4e4
|
Added jump effects (sound and graphics).
|
2016-02-14 18:13:15 +00:00 |
Steve
|
b5fc0aacbd
|
Added disabled pulse effect to entities.
|
2016-02-14 16:34:11 +00:00 |
Steve
|
54b92ad137
|
Added message for when a star system falls to the Pandorans (campaign-related, unavoidable).
|
2016-02-14 11:53:03 +00:00 |
Steve
|
909cdd76f3
|
Now drawing stars after planet. Increased size of brightest stars by one pixel.
|
2016-02-14 11:08:03 +00:00 |
Steve
|
17c55ec080
|
Now scrolling the galactic map by clicking and dragging.
|
2016-02-14 11:07:15 +00:00 |
Steve
|
855abe77cb
|
Prevent replaying of previously complete campaign missions.
|
2016-02-13 16:59:18 +00:00 |
Steve
|
60a398408a
|
Updated random planet placement.
|
2016-02-13 16:59:00 +00:00 |
Steve
|
b6e128231d
|
Scroll planet in background more slowly.
|
2016-02-13 16:53:56 +00:00 |
Steve
|
a5f73cc3fc
|
Renamed "textureName" to simply "texture".
|
2016-02-13 14:31:45 +00:00 |
Steve
|
8cd74e999d
|
Increase filename length of music.
|
2016-01-28 17:03:23 +00:00 |
Steve
|
58e91e83c0
|
Don't instantly kill the player during an epic mission.
|
2016-01-28 17:03:13 +00:00 |
Steve
|
e31f39d3a9
|
Replaced "Dummy" missions with manual complete flag.
|
2016-01-25 15:09:14 +00:00 |
Steve
|
a251459413
|
Added "unwinnable" mission flag, to automatically continue the game when the player is defeated.
|
2016-01-25 14:58:07 +00:00 |
Steve
|
672fd01282
|
Eliminate all tweaks.
|
2016-01-24 09:50:31 +00:00 |
Steve
|
a73a44fd55
|
Notify captial ships, etc. when new opponents arrive, to allow them to respond faster.
|
2016-01-24 09:49:50 +00:00 |
Steve
|
501ef1aff7
|
Draw cap guns after components.
|
2016-01-21 17:08:56 +00:00 |
Steve
|
cc4ac782a9
|
Allow selected widget to be activated by pressing space.
|
2016-01-03 13:53:41 +00:00 |
Steve
|
1115309331
|
Attempt to complete eliminate all objective immediately, if no enemies are remaining.
|
2015-12-31 11:31:36 +00:00 |
Steve
|
fb8063b581
|
Get initial enemy count at start of mission.
|
2015-12-31 11:25:19 +00:00 |
Steve
|
05db32f04a
|
Bug fix for wandering ships.
|
2015-12-30 18:44:48 +00:00 |
Steve
|
f9ee8017df
|
Logging.
|
2015-12-30 18:44:00 +00:00 |
Steve
|
b095705dd0
|
When activating a captial ship, also activate its components.
|
2015-12-30 18:43:47 +00:00 |
Steve
|
4652787b65
|
Shorten time between message box displays.
|
2015-12-30 18:43:20 +00:00 |
Steve
|
277092cdbc
|
Using arrow to indicate more weapons available on HUD.
|
2015-12-28 13:44:57 +00:00 |
Steve
|
38e4564aae
|
Display total available guns on HUD.
|
2015-12-27 21:16:57 +00:00 |
Steve
|
568abb25f4
|
lookForLeader() added to main doAI function.
|
2015-12-27 18:18:50 +00:00 |
Steve
|
7f055102bf
|
Split space craft into separate lists.
|
2015-12-26 21:08:53 +00:00 |
Steve
|
e2b7576f89
|
Allow AI to wander.
|
2015-12-24 21:42:26 +00:00 |
Steve
|
e2ffe9ba84
|
Added ability to specify death type of fighters (e.g. supply ships shouldn't spin).
|
2015-12-24 12:12:23 +00:00 |
Steve
|
5075adc0b4
|
Bug fix for engine position.
|
2015-12-24 11:54:01 +00:00 |
Steve
|
01ec3ceb7b
|
Stats bug fixes.
|
2015-12-23 19:22:31 +00:00 |
Steve
|
c3785bcfce
|
Allow the player to select and fire rockets, when using a bomber.
|
2015-12-23 16:25:25 +00:00 |
Steve
|
1f03b81cca
|
Misc. updates.
|
2015-12-22 17:58:53 +00:00 |
Steve
|
edc6127109
|
Fix for AI attacking secondary targets.
|
2015-12-22 17:58:37 +00:00 |
Steve
|
48f08a3fb0
|
Allowed locations to be activated by scripts. Added eliminate all objective type.
|
2015-12-22 17:58:18 +00:00 |
Steve
|
1884c8371e
|
Added Locations for use with mission scripting.
|
2015-12-22 12:42:04 +00:00 |
Steve
|
15d7faf386
|
Bug fix for escaping entities.
|
2015-12-21 16:03:30 +00:00 |
Steve
|
3dbd8e72f7
|
Missions now unlock depending on number of other missions completed (and previous mission, where applicable).
|
2015-12-21 14:19:21 +00:00 |
Steve
|
e83e078873
|
Bug fix for epic battle spawning.
|
2015-12-20 16:41:46 +00:00 |
Steve
|
a50e1685a3
|
Allow epic battle player select by mouse.
|
2015-12-20 16:41:29 +00:00 |
Steve
|
05b42f21ce
|
AI evasion updates.
|
2015-12-20 16:13:49 +00:00 |
Steve
|
9be0cdab6c
|
Expire texts, based on age in cache.
|
2015-12-20 16:13:35 +00:00 |
Steve
|
1849a20831
|
AI fighers will now attempt to avoid combat if they take too much damage in a short space of time.
|
2015-12-20 15:13:41 +00:00 |
Steve
|
817c5c22ee
|
Decreased warning range for battle area bounds.
|
2015-12-20 14:32:21 +00:00 |
Steve
|
d8eb896456
|
Enable debug mode by passing -debug.
|
2015-12-20 12:25:20 +00:00 |
Steve
|
bc8ef3b0bc
|
Memory leak fix.
|
2015-12-20 11:58:35 +00:00 |
Steve
|
af04c5a7ef
|
Automatically load missions from star system misson dir (data/mission/xxx)
|
2015-12-20 11:58:21 +00:00 |
Steve
|
1c81be3168
|
Stats for capital ships.
|
2015-12-19 16:15:57 +00:00 |
Steve
|
164b35a8c0
|
AI should only move to leader on same side.
|
2015-12-19 12:30:17 +00:00 |
Steve
|
bd5f1c3b49
|
Don't execute scripts or message boxes if the player is dead.
|
2015-12-19 08:56:52 +00:00 |
Steve
|
01286b042b
|
Limit text cache size.
|
2015-12-18 17:09:23 +00:00 |
Steve
|
01894d5150
|
Activate objectives by name, not number.
|
2015-12-18 14:28:44 +00:00 |
Steve
|
2d37460944
|
Generate cap ship component names from parent name.
|
2015-12-18 12:02:45 +00:00 |
Steve
|
cfc0ed7cc8
|
AI can now follow leaders.
|
2015-12-18 12:02:01 +00:00 |
Steve
|
b5dfab1bd5
|
Added debug keys.
|
2015-12-18 10:12:37 +00:00 |
Steve
|
7325bbe506
|
INF Corvette updates.
|
2015-12-18 08:26:21 +00:00 |
Steve
|
48d54af42e
|
Use float for draw angle, instead of int.
|
2015-12-17 23:14:25 +00:00 |
Steve
|
2e2bd9d882
|
Debris updates.
|
2015-12-16 22:40:26 +00:00 |
Steve
|
33373457b2
|
Error when no capital ship found.
|
2015-12-16 22:40:14 +00:00 |
Steve
|
7701fc0336
|
Combined guns bug fix.
|
2015-12-14 14:05:02 +00:00 |
Steve
|
691068a634
|
Shield smash bug fix.
|
2015-12-14 14:04:48 +00:00 |
Steve
|
310637b4eb
|
Merged from v0.41.
|
2015-12-14 11:41:43 +00:00 |
Steve
|
c4dfb823ef
|
Code clean up.
|
2015-12-14 08:15:41 +00:00 |
Steve
|
2012f87b39
|
Randomize debris for fighters. Added Rebel AI thresholds.
|
2015-12-13 17:56:16 +00:00 |
Steve
|
8e1fdf559a
|
Scatter debris more quickly.
|
2015-12-13 17:55:10 +00:00 |
Steve
|
260ada68c8
|
Capital ships: scatter debris when components destroyed. Run scripts upon certain events.
|
2015-12-13 17:54:57 +00:00 |
Steve
|
743786efb8
|
Added debris.
|
2015-12-13 14:50:54 +00:00 |
Steve
|
99eb742d34
|
HUD distance calculation bug fix.
|
2015-12-12 18:24:41 +00:00 |
Steve
|
4fbdcd0af6
|
Allow flags in missions to be added to existing entity flags, or replace them completely.
|
2015-12-12 18:24:23 +00:00 |
Steve
|
6b06b2a431
|
Increased corvette engine health. Allowed guns to fire missiles. Cap ships will also hunt down AI targets.
|
2015-12-12 17:12:25 +00:00 |
Steve
|
247c9f79e3
|
Created capital ship engine effect.
|
2015-12-12 15:11:40 +00:00 |
Steve
|
fb524386fa
|
drawBullets() bug fix.
|
2015-12-11 19:06:16 +00:00 |
Steve
|
3ab78a070a
|
Updated HUD distance display.
|
2015-12-10 14:25:22 +00:00 |
Steve
|
05f58e0971
|
Added SECONDARY_TARGET flag.
|
2015-12-10 12:40:23 +00:00 |
Steve
|
51452925f9
|
Death of guns does not affect cap ship health.
|
2015-12-10 11:47:18 +00:00 |
Steve
|
a5f8be0586
|
EF_STATIC now means entity will never move (not even rotate).
|
2015-12-10 11:46:57 +00:00 |
Steve
|
da692862b9
|
Include cap ships in force counts.
|
2015-12-10 11:11:32 +00:00 |
Steve
|
09d93f9163
|
Treat capital ship engines differently from components. Will cause vessel to stop moving when they are all destroyed. Don't contribute to ship health.
|
2015-12-10 11:11:04 +00:00 |
Steve
|
4358d5b698
|
Misc. fixes.
|
2015-12-10 10:16:44 +00:00 |
Steve
|
deafab786e
|
Separate gun AI.
|
2015-12-10 10:16:27 +00:00 |
Steve
|
833043ba7d
|
Bullets don't hit their own entity groups (mainly for capital ships).
|
2015-12-10 10:16:16 +00:00 |
Steve
|
1b1a4ca792
|
Shift dead entities out of main list instead of freeing, to counter dangling pointers.
|
2015-12-10 10:15:27 +00:00 |
Steve
|
a541cf1976
|
Allow mod to handle floats.
|
2015-12-10 10:05:00 +00:00 |
Steve
|
54ebea7c43
|
Further capital ship tweaks.
|
2015-12-10 10:04:22 +00:00 |
Steve
|
c8eecdd316
|
Further capital ship tweaks.
|
2015-12-09 07:25:24 +00:00 |
Steve
|
91822f1ca3
|
Further capital ship code updates. Added long range fire flag for cannons.
|
2015-12-08 22:42:31 +00:00 |
Steve
|
767920478c
|
Clear entire grid at start of frame (removing individuals is buggy right now).
|
2015-12-08 06:44:53 +00:00 |
Steve
|
22afef45c7
|
Reduce cap ship health when component is destroyed.
|
2015-12-08 06:43:03 +00:00 |
Steve
|
6441f926e2
|
Various tweaks and refactoring to accomodate capital ships.
|
2015-12-07 19:19:41 +00:00 |
Steve
|
6084251e9f
|
Start of capital ships.
|
2015-12-07 19:19:14 +00:00 |
Steve
|
7c99ccc845
|
Prevent buffer overflow when reading script.
|
2015-12-06 15:03:59 +00:00 |
Steve
|
28a4cda6fd
|
Set size of message box, based on amount of text.
|
2015-12-06 15:03:44 +00:00 |
Steve
|
d6982e80ca
|
Created common.h to aid with cross compiling.
|
2015-12-05 08:15:58 +00:00 |
Steve
|
b3628c17b5
|
Decrease scroll zone.
|
2015-12-03 22:50:53 +00:00 |
Steve
|
2bca049973
|
Misc. clean up.
|
2015-12-03 16:53:29 +00:00 |
Steve
|
9825e39f4f
|
Install path bug fixes.
|
2015-12-03 08:43:26 +00:00 |
Steve
|
65b62091d1
|
Allow for file location to be determined automatically.
|
2015-12-02 23:20:19 +00:00 |
Steve
|
a15efc4ea9
|
Enable running of scripts when enemies are killed.
|
2015-12-02 07:24:26 +00:00 |
Steve
|
26c4bd4aea
|
Allow AI Flags to be set in mission data.
|
2015-12-02 07:24:12 +00:00 |
Steve
|
b3c2313235
|
Target range fix.
|
2015-12-02 07:23:56 +00:00 |
Steve
|
28b830a197
|
Invoke script when objective is complete.
|
2015-11-30 12:41:27 +00:00 |
Steve
|
999c0eedb3
|
Add MOVE_TO_PLAYER flag if fighter is an ally not hasn't got FOLLOWS flag set.
|
2015-11-30 12:41:11 +00:00 |
Steve
|
79608069af
|
Missile boats will fire a little more often.
|
2015-11-30 11:30:11 +00:00 |
Steve
|
e5906d5f5f
|
Added new AI flags.
|
2015-11-30 11:29:56 +00:00 |
Steve
|
9c532352f5
|
Allow for star systems to fall to Pandorans, once story missions are complete.
|
2015-11-30 09:33:43 +00:00 |
Steve
|
f1f962aeae
|
Complete conditions when CompleteMission() is called.
|
2015-11-29 16:50:06 +00:00 |
Steve
|
d3b0755f8b
|
Scatter bug fix for entities.
|
2015-11-29 16:30:59 +00:00 |
Steve
|
eb894f9703
|
Bug fix for activateEntities. Implemented EF_STATIC.
|
2015-11-29 13:23:27 +00:00 |
Steve
|
026e1991e5
|
Added EF_STATIC, to prevent entities from moving.
|
2015-11-29 13:23:01 +00:00 |
Steve
|
ff8bf560e0
|
Also use GroupName as objective trigger.
|
2015-11-29 12:57:27 +00:00 |
Steve
|
2e5207f9c3
|
Ignore disabled fighters when looking for a target.
|
2015-11-29 12:56:38 +00:00 |
Steve
|
146bd1ef45
|
Made name option for fighters.
|
2015-11-29 12:56:15 +00:00 |
Steve
|
a4dc4f3e05
|
Display rebels as red on radar.
|
2015-11-29 12:56:00 +00:00 |
Steve
|
76eb50d92c
|
Added radio sound.
|
2015-11-29 12:55:36 +00:00 |
Steve
|
eeaccec327
|
Update script function calls.
|
2015-11-29 12:55:15 +00:00 |
Steve
|
46337a1f16
|
Removed challenges from main campaign.
|
2015-11-29 08:44:34 +00:00 |
Steve
|
542209c24c
|
Added ECM effect.
|
2015-11-29 08:34:25 +00:00 |
Steve
|
008e2aac8c
|
Set message box time automatically. Added WAIT_MSG_BOX command.
|
2015-11-28 17:00:54 +00:00 |
Steve
|
d231be1bd2
|
Bug fix for ECM usage.
|
2015-11-28 15:30:41 +00:00 |
Steve
|
886084f60f
|
Don't let AI fire missiles at point-blank range.
|
2015-11-28 15:30:07 +00:00 |
Steve
|
403684b0dd
|
Don't allow waypoints to be triggers if there are outstanding objectives.
|
2015-11-28 15:07:12 +00:00 |
Steve
|
e13243d926
|
NULL pointer check on scripts.
|
2015-11-28 15:04:11 +00:00 |
Steve
|
4b537a3bee
|
Allow entites to be create in deactivated state.
|
2015-11-28 14:34:38 +00:00 |
Steve
|
31eee4a86f
|
NULL pointer fix.
|
2015-11-28 14:34:19 +00:00 |
Steve
|
1816bf406c
|
Allow activation of entity groups.
|
2015-11-28 14:33:58 +00:00 |
Steve
|
633f6d646e
|
Set tow rope attach distance to same as separation distance. Fire script when attached.
|
2015-11-28 14:33:40 +00:00 |
Steve
|
dec3538956
|
Added AIF_MOVES_TO_PLAYER flag.
|
2015-11-28 14:33:05 +00:00 |
Steve
|
9de6d6c737
|
Removed triggers, and replaced with script system. Added message box.
|
2015-11-28 10:11:20 +00:00 |
Steve
|
8b669448e8
|
Only show target escaped target for targets that aren't disabled.
|
2015-11-27 06:37:08 +00:00 |
Steve
|
ae17d9b422
|
Longer action timeout when towing to extraction point.
|
2015-11-27 06:36:48 +00:00 |
Steve
|
3ef305686f
|
Allow AI controlled tug to collect disabled fighters, and take them to the extraction point.
|
2015-11-26 22:48:22 +00:00 |
Steve
|
d8783cc557
|
When avoiding enemies, ignore disabled ones.
|
2015-11-26 21:53:54 +00:00 |
Steve
|
bd1f5f2bfc
|
Increased size of star system collision zone.
|
2015-11-26 17:41:58 +00:00 |
Steve
|
a278f3554b
|
Only play GUI sound when mouse hovers over a button.
|
2015-11-26 17:41:43 +00:00 |
Steve
|
b63e2d66fe
|
Swapped radar / weapon select buttons.
|
2015-11-26 17:41:25 +00:00 |
Steve
|
d444b0ab68
|
Simplified mission loading (merged fighterGroup in to fighters, etc.)
|
2015-11-26 17:41:05 +00:00 |
Steve
|
5c20693933
|
Allow for radar range to be cycled.
|
2015-11-26 10:54:40 +00:00 |
Steve
|
10b85b9fd5
|
Updated keyboard controls.
|
2015-11-26 09:53:49 +00:00 |
Steve
|
416b50d7eb
|
Added setMouse function.
|
2015-11-26 08:17:16 +00:00 |
Steve
|
2bbe6a1e97
|
Warp mouse to center of screen, to prevent scrolling after dismissing dialog.
|
2015-11-26 08:16:54 +00:00 |
Steve
|
cd0463c92f
|
Updates to widget-mouse interactions.
|
2015-11-26 08:16:29 +00:00 |
Steve
|
5aa3daf342
|
Moved platform specific code to src/plat
|
2015-11-24 22:46:52 +00:00 |
Steve
|
e76cbaedda
|
Stats control update.
|
2015-11-24 22:33:25 +00:00 |
Niels Nesse
|
d4b1cda08d
|
Build system improvements for windows
- Add EXE extension correctly
- Detect windows with _WIN32 macro and retire UNIX macro
|
2015-11-24 01:12:23 -08:00 |
Steve
|
d62d8e74ba
|
Further code changes for mouse support.
|
2015-11-24 07:16:48 +00:00 |
Steve
|
374ca825ce
|
Code clean up.
|
2015-11-24 07:16:12 +00:00 |
Steve
|
95e26f3e7b
|
Start of mouse control integration.
|
2015-11-23 14:52:11 +00:00 |
Steve
|
b8409765d3
|
Debug statement fix.
|
2015-11-23 10:14:42 +00:00 |
Steve
|
666a88e669
|
Allow cycling of targets.
|
2015-11-23 10:14:28 +00:00 |
Niels Nesse
|
b98c2e6b49
|
Adding win32 makefile
|
2015-11-23 00:46:50 -08:00 |
Steve
|
6f52dc9783
|
Further tweaks to target outline.
|
2015-11-22 17:49:38 +00:00 |
Steve
|
444ffaeffa
|
Double health / shield values of all craft.
|
2015-11-22 16:57:53 +00:00 |
Steve
|
84e0b88d00
|
Texture cache fix.
|
2015-11-22 16:52:27 +00:00 |
Steve
|
b6616c23de
|
Expand size of mission target square.
|
2015-11-22 16:52:11 +00:00 |
Steve
|
048d3b17e0
|
Shield hit effect optimisation.
|
2015-11-22 16:51:11 +00:00 |
Steve
|
587ea29abb
|
Determine logic rate from FPS, not the other way around..!
|
2015-11-22 13:19:35 +00:00 |
Steve
|
223231fb76
|
AI updates.
|
2015-11-22 13:06:19 +00:00 |
Steve
|
bb841db134
|
Bug fix for following dead player. Increase evasion radius.
|
2015-11-22 11:42:28 +00:00 |
Steve
|
de3cd3bb5a
|
Mission target bug fix.
|
2015-11-22 11:42:04 +00:00 |
Steve
|
ccaf3d08fc
|
Increased separation distance, to eliminate bunching.
|
2015-11-22 11:41:47 +00:00 |
Steve
|
3b7d8ff940
|
Allow player start position to be set.
|
2015-11-22 11:41:28 +00:00 |
Steve
|
f304e8ca5b
|
Allow AI to fire rockets.
|
2015-11-22 08:17:29 +00:00 |
Steve
|
bbd61bf8ba
|
Play missile hit sound effect.
|
2015-11-22 08:17:16 +00:00 |
Steve
|
597f6f5cb7
|
Removed missiles types. Now only homing missiles, and rockets for bombers.
|
2015-11-21 23:45:22 +00:00 |
Steve
|
94e0259953
|
Added defensive AI flags - only attack sometimes.
|
2015-11-21 23:27:43 +00:00 |
Steve
|
f273862c19
|
Prevent player from firing when mission is complete / failed.
|
2015-11-21 18:54:45 +00:00 |
Steve
|
669ce654f2
|
AI updates for retreating fighters.
|
2015-11-21 17:37:23 +00:00 |
Steve
|
5ffc0e4be4
|
Don't damage immortal fighters.
|
2015-11-21 17:36:55 +00:00 |
Steve
|
693d563f27
|
Make player immortal upon mission completion / failure.
|
2015-11-21 17:36:42 +00:00 |
Steve
|
a82f8b6f2c
|
Renamed FLEE flags to RETREAT.
|
2015-11-21 17:32:39 +00:00 |
Steve
|
0b9a6f8b1f
|
Misc. bug fixes.
|
2015-11-20 22:52:48 +00:00 |
Steve
|
b44f208f6c
|
Complete mission if player escapes.
|
2015-11-20 22:52:35 +00:00 |
Steve
|
197a9fc799
|
Allow entities to be created inactive.
|
2015-11-20 22:52:17 +00:00 |
Steve
|
4db432f845
|
Allow player to retreat from missions.
|
2015-11-20 22:51:44 +00:00 |
Steve
|
25ab01bc0d
|
Typo fix.
|
2015-11-20 22:47:08 +00:00 |
Steve
|
c61b591f75
|
Epic battle bug fixes.
|
2015-11-19 12:44:56 +00:00 |
Steve
|
32885b2111
|
Tweaked AI, to help balance Epic battles.
|
2015-11-19 08:30:45 +00:00 |
Steve
|
5fda0b1ad8
|
Further AI tweaks. Allowed AI to select laser cannons.
|
2015-11-18 18:38:29 +00:00 |
Steve
|
881464282d
|
Allowed Darts to randomly possess lasers.
|
2015-11-18 18:38:00 +00:00 |
Steve
|
a43a6b1706
|
Reduced sound distance.
|
2015-11-18 18:37:37 +00:00 |
Steve
|
ede89eefd1
|
Shield damage effect updates. Laser will cause shield to disable for 10 seconds.
|
2015-11-18 16:04:12 +00:00 |
Steve
|
044aedeb58
|
Don't blink low shield bar - confusing when recharging.
|
2015-11-18 16:02:35 +00:00 |
Steve
|
0bd067e552
|
Added laser.
|
2015-11-18 16:02:10 +00:00 |
Steve
|
4c4d8e9a77
|
Use DYING and DEAD for ALIVE state, to prevent killing things too early (i.e - item pickups).
|
2015-11-18 11:28:19 +00:00 |
Steve
|
c5c98e9317
|
Set item health to 0 when picked up, action to NULL.
|
2015-11-18 11:27:46 +00:00 |
Steve
|
a776005a65
|
Reworked AI system, to make it more generic and flexible.
|
2015-11-18 11:27:05 +00:00 |
Steve
|
a9dc374d40
|
Added new stats.
|
2015-11-17 07:23:50 +00:00 |
Steve
|
5964162971
|
New item collect sound effect.
|
2015-11-16 22:47:15 +00:00 |
Steve
|
6fa47cac99
|
Flash health and shield bars when under 25%.
|
2015-11-16 18:45:40 +00:00 |
Steve
|
c224aff926
|
Show warning message and play sound when a missile is launched, targetting the player.
|
2015-11-16 18:39:49 +00:00 |
Steve
|
3bf5a0f057
|
Simplified missile hunt logic.
|
2015-11-16 17:31:49 +00:00 |
Steve
|
87445c41ae
|
Merged fighterDefs.c in to fighters.c.
|
2015-11-16 17:23:56 +00:00 |
Steve
|
04d196af7f
|
Player target select will never choose disabled targets.
|
2015-11-16 16:25:28 +00:00 |
Steve
|
91a2cda540
|
ECM fix.
|
2015-11-16 16:25:08 +00:00 |
Steve
|
5aa8e0280e
|
Added EF_MUST_DISABLE, to replace EF_DISABLE.
|
2015-11-16 16:24:57 +00:00 |
Steve
|
68e700473b
|
Based target / mission rectangles on entity size.
|
2015-11-16 14:39:20 +00:00 |
Steve
|
07d93b700f
|
Always set fighter entity type.
|
2015-11-16 12:32:03 +00:00 |
Steve
|
8c0b7fdb2f
|
Further item code updates: allow items to be created and collected.
|
2015-11-16 12:31:50 +00:00 |
Steve
|
a040a8de98
|
Start of items.
|
2015-11-16 11:27:03 +00:00 |
Steve
|
6bdee92b35
|
Fixed HUD bug when using shuttle.
|
2015-11-16 11:26:34 +00:00 |
Steve
|
627b18d0b7
|
Added shuttle.
|
2015-11-16 11:26:23 +00:00 |
Steve
|
cca3dedf7a
|
Boost and speed limit tweaks.
|
2015-11-15 23:23:03 +00:00 |
Steve
|
6dfe2b7f22
|
Various boost tweaks.
|
2015-11-15 17:12:04 +00:00 |
Steve
|
f62861cfba
|
AI tweaks. ECM means AI can now fire missiles freely at player.
|
2015-11-15 17:11:11 +00:00 |
Steve
|
f0d3b1f167
|
Added new missile launch sound. Added boost sound.
|
2015-11-15 17:10:47 +00:00 |
Steve
|
43ac7ab92c
|
Reset ECM and Boost when selecting a new fighter.
|
2015-11-15 16:19:21 +00:00 |
Steve
|
d8ef183b5e
|
Added ECM and boost abilities to player.
|
2015-11-15 16:18:17 +00:00 |
Steve
|
0b459a9927
|
Force enemies to flee when the mission is complete.
|
2015-11-15 13:26:46 +00:00 |
Steve
|
095e8b65a4
|
AI updates - allow enemies to flee.
|
2015-11-15 13:26:34 +00:00 |
Steve
|
484afee9ef
|
Consider centering when gathering entities.
|
2015-11-15 12:28:12 +00:00 |
Steve
|
3d90352fbc
|
Misc. code tweaks.
|
2015-11-15 11:32:00 +00:00 |
Steve
|
af85d1ca5e
|
Allowed fighter groups to have flags.
|
2015-11-15 11:31:43 +00:00 |
Steve
|
9ce6624fc0
|
Moved all rope handling code to rope.c.
|
2015-11-15 11:31:30 +00:00 |
Steve
|
56c43aad3c
|
Added ability to attach tow rope to disabled craft.
|
2015-11-14 23:19:17 +00:00 |
Steve
|
235d471a3b
|
Added Tug.
|
2015-11-14 23:18:09 +00:00 |
Steve
|
c9632613ce
|
Updated EF_DISABLE to EF_DISABLED. Fixed objective logic for disabled craft (fire only once).
|
2015-11-14 16:14:48 +00:00 |
Steve
|
2ad6579a35
|
Added revision number to build.
|
2015-11-14 14:45:19 +00:00 |
Steve
|
3c9977939d
|
Further AI tweaks.
|
2015-11-14 13:03:57 +00:00 |
Steve
|
3ef591a7d7
|
Bug fix for DEBUG on mission select.
|
2015-11-14 13:03:40 +00:00 |
Steve
|
4e4040fc17
|
Missiles will no longer select a new target if their original is destroyed.
|
2015-11-14 11:43:06 +00:00 |
Steve
|
f4402bfb72
|
AI tweaks - make the game less frantic, and AI less likely to fire missiles at player.
|
2015-11-14 11:32:37 +00:00 |
Steve
|
1760c9e3b3
|
Centralized mission failure logic.
|
2015-11-14 08:41:31 +00:00 |
Steve
|
1f62eb2564
|
Added entity groups, to help with triggers and events.
|
2015-11-14 08:41:07 +00:00 |
Steve
|
83407704c6
|
Code clean up.
|
2015-11-13 23:35:51 +00:00 |
Steve
|
7df9ad09e2
|
Only draw bullets on screen.
|
2015-11-13 22:51:22 +00:00 |
Steve
|
ec72a5dd40
|
Highlight all mission targets, not just the one the player is targetting.
|
2015-11-13 22:08:59 +00:00 |
Steve
|
b90ca0ea11
|
Fleeing fighters no longer count as flee when they go out of range of player.
|
2015-11-13 18:26:30 +00:00 |
Steve
|
345516814d
|
Make all missions available when compiled with DEBUG.
|
2015-11-13 18:25:35 +00:00 |
Steve
|
92ca28bf3c
|
Don't show current / target numbers for conditions.
|
2015-11-13 16:56:53 +00:00 |
Steve
|
ddf5a3106f
|
Always show target sphere.
|
2015-11-13 16:56:22 +00:00 |
Steve
|
f883423875
|
Added function to adjust target value of objectives (such as requiring fewer civs to rescue if some are killed).
|
2015-11-13 16:55:49 +00:00 |
Steve
|
09761ccd78
|
Civilians should re-evaluate their fleeing every 1/2 second, so as not to run in to enemies too easily.
|
2015-11-13 16:54:38 +00:00 |
Steve
|
2662076711
|
Enemies don't chase civilians forever. Civilians will run from enemies at a larger range.
|
2015-11-13 11:27:11 +00:00 |
Steve
|
ede04be003
|
Cleaned up header.
|
2015-11-13 08:46:45 +00:00 |
Steve
|
52969b4a04
|
Random civilian ship texture.
|
2015-11-13 08:46:06 +00:00 |
Steve
|
5fc2bed650
|
Civilians attempt to evade / runaway from enemies.
|
2015-11-13 08:45:50 +00:00 |
Steve
|
7264880b9b
|
Added targetLocation, to assist with civilian evasions.
|
2015-11-13 08:45:24 +00:00 |
Steve
|
d58170883d
|
Removed enemy shield and armour display. Added target name and distance to Extraction Point.
|
2015-11-12 07:00:53 +00:00 |
Steve
|
93979c396f
|
ALIVE_ESCAPED entities invoke triggers, objective, and condition updates.
|
2015-11-11 22:34:48 +00:00 |
Steve
|
7a23a9b6b3
|
Remove ALIVE_ESCAPED entities.
|
2015-11-11 22:34:00 +00:00 |
Steve
|
dc2f2c4635
|
Added ALIVE_ESCAPED and TT_ESCAPED.
|
2015-11-11 22:33:33 +00:00 |
Steve
|
8831853321
|
Mark escaped entities as ALIVE_ESCAPED.
|
2015-11-11 22:32:00 +00:00 |
Steve
|
0522e53d90
|
Added extraction point entity ref to Battle.
|
2015-11-11 21:56:31 +00:00 |
Steve
|
0cc3ad0078
|
Show direction of extraction point.
|
2015-11-11 21:55:57 +00:00 |
Steve
|
ec6e57194e
|
Extraction point is registered with battle.
|
2015-11-11 21:55:04 +00:00 |
Steve
|
70d47a796b
|
NULL terminate candidate array.
|
2015-11-11 19:16:24 +00:00 |
Steve
|
4daeee51e0
|
Reduced maximum grid candidates to 256
|
2015-11-11 19:16:04 +00:00 |
Steve
|
4da58014d5
|
Rewrote entity candidate for loops.
|
2015-11-11 19:15:41 +00:00 |
Steve
|
ad405c57ae
|
Start of civilian ships: will follow player when close and flee in to extraction points.
|
2015-11-11 06:46:58 +00:00 |
Steve
|
9de4bf6255
|
Sort entities before drawing, using their type number as the order.
|
2015-11-09 22:48:59 +00:00 |
Steve
|
3b149be7b9
|
Don't box mission targets flagged with EF_NO_MT_BOX.
|
2015-11-09 22:47:28 +00:00 |
Steve
|
faf6c9890c
|
Start of extraction points.
|
2015-11-09 22:46:57 +00:00 |
Steve
|
3c43c15253
|
Don't add dead entities to grid system.
|
2015-11-09 17:55:56 +00:00 |
Steve
|
1cd8b42664
|
Centralize completeMission and failMission logic.
|
2015-11-02 19:18:26 +00:00 |
Steve
|
3ad64a1d1d
|
Fixed pulse logic.
|
2015-11-02 19:10:07 +00:00 |
Steve
|
bef2511ac4
|
Save a valid config at first start..!
|
2015-11-02 19:07:38 +00:00 |
Steve
|
32eda1ae31
|
Restrict entities to bounds of grid (push back).
|
2015-11-02 18:07:26 +00:00 |
Steve
|
d0f19cc322
|
Only display area warning if player is headnig towards it.
|
2015-11-02 18:07:02 +00:00 |
Steve
|
ef1d0b4f4a
|
Ensure width and height of entities is set.
|
2015-11-02 13:34:59 +00:00 |
Steve
|
61068f04f4
|
Entities must be added to grid based on their centre.
|
2015-11-02 13:19:54 +00:00 |
Steve
|
950cffcb4f
|
Use grid to determine drawn entities.
|
2015-11-02 13:19:31 +00:00 |
Steve
|
e620ceccad
|
Use entities from grid for separation.
|
2015-11-02 12:14:29 +00:00 |
Steve
|
f10ec392ef
|
Bullets get collision candidates from grid.
|
2015-11-02 12:04:11 +00:00 |
Steve
|
62a445ac61
|
Various bug fixes for grid system.
|
2015-11-02 12:03:47 +00:00 |
Steve
|
64a461e29c
|
(removed debug text)
|
2015-11-02 10:50:07 +00:00 |
Steve
|
452a4bf36c
|
Fix for mission target directional arrow not showing.
|
2015-11-02 10:49:55 +00:00 |
Steve
|
b748d23267
|
Use grid cell coords for placing entities.
|
2015-11-02 10:49:10 +00:00 |
Steve
|
a7c1906950
|
Replaced radar drawCircle call with graphic. Added radar range warning.
|
2015-11-02 10:11:47 +00:00 |
Steve
|
f585a30f3f
|
Add and remove entities from grid.
|
2015-11-02 07:57:56 +00:00 |
Steve
|
e368b9eee2
|
Increased grid size to 50.
|
2015-11-02 07:57:45 +00:00 |
Steve
|
f667137521
|
Added w and h variables for to entity and bullet, for use with grid and colliison detection.
|
2015-11-02 07:57:33 +00:00 |
Steve
|
7a6a6b26c0
|
Start of Grid.
|
2015-11-01 22:19:39 +00:00 |
Steve
|
ee05399652
|
NULL check against player, when getting camera position.
|
2015-11-01 16:11:56 +00:00 |
Steve
|
9debf3be56
|
Set camera to 0,0 on title, to ensure effects appear in the correct places.
|
2015-11-01 16:11:38 +00:00 |
Steve
|
9632d549a6
|
Save screenshots to /tmp.
|
2015-11-01 13:35:51 +00:00 |
Steve
|
2ed49023fd
|
Active unit count as health > 0.
|
2015-11-01 13:35:35 +00:00 |
Steve
|
4d745dc74e
|
Add Epic Mission text to galactic map.
|
2015-11-01 13:35:04 +00:00 |
Steve
|
bedf2fe74d
|
Get camera coords before drawing, to prevent jerky player.
|
2015-11-01 13:34:20 +00:00 |
Steve
|
b2c6708ef4
|
Prevent player from pressing return to change to a dead fighter (i.e. - the current one).
|
2015-11-01 12:31:26 +00:00 |
Steve
|
a42a87efa5
|
Show def name of fighter, and display left and right arrows when selecting a new fighter.
|
2015-11-01 12:30:16 +00:00 |
Steve
|
018d30132e
|
Added defName to entity, to allow printing of definition name of the entity.
|
2015-11-01 12:29:32 +00:00 |
Steve
|
2a38221bcf
|
Prevent fighters from magically coming back to life if their target is kill while they are also dying.
|
2015-11-01 11:37:12 +00:00 |
Steve
|
090eab162d
|
Don't chase your target forever - reevaluate if they go out of range.
|
2015-11-01 10:46:49 +00:00 |
Steve
|
0246600d9c
|
Define MAX_TARGET_RANGE.
|
2015-11-01 10:46:24 +00:00 |
Steve
|
3783a0833e
|
Limit number of fighters that can appear in battle at once, during an epic battle. Add remaining fighters as room on field becomes available.
|
2015-11-01 09:25:10 +00:00 |
Steve
|
443723f6b7
|
Implemented camera, to aid fighter switching. Added prompts for switching fighters, when current one is destroyed.
|
2015-10-31 23:09:43 +00:00 |
Steve
|
4f47cd0bc6
|
Allow player to switch fighters upon death, during an epic battle.
|
2015-10-31 10:00:46 +00:00 |
Steve
|
596069cebf
|
Player will always be on the side of the Allies.
|
2015-10-31 08:03:11 +00:00 |
Steve
|
c3d07ea5a2
|
Allow manual switching of targets (closest). Disallow firing of missiles if target is too far away.
|
2015-10-30 23:31:20 +00:00 |
Steve
|
85364c6f55
|
Available guns bug fix.
|
2015-10-30 22:38:01 +00:00 |
Steve
|
aaf58614f4
|
Allow enemies to fire missiles.
|
2015-10-30 21:55:01 +00:00 |
Steve
|
c506ad32cf
|
Make missiles more powerful. Save name of last mission star system.
|
2015-10-30 07:22:49 +00:00 |
Steve
|
5dc4042b55
|
Added lookups for DISABLED.
|
2015-10-29 16:46:08 +00:00 |
Steve
|
a87395cc23
|
Allow enemies to flee.
|
2015-10-29 16:18:41 +00:00 |
Steve
|
6409e4ec11
|
Always shift entities, even if inactive.
|
2015-10-29 11:35:59 +00:00 |
Steve
|
44818d295a
|
Integrated triggers.
|
2015-10-29 11:08:47 +00:00 |
Steve
|
f197d656c4
|
Added 'combined guns' to allow for weapons to be fired together.
|
2015-10-29 10:14:21 +00:00 |
Steve
|
483768fe79
|
Added Firefly, tweaked fighter speeds. Adjusted mission requirements.
|
2015-10-29 08:03:05 +00:00 |
Steve
|
5c7b2a24bf
|
Integrated waypoints into objective system.
|
2015-10-28 19:12:58 +00:00 |
Steve
|
49832b114b
|
Updates to Mission Target logic. Tidying up of entity.c
|
2015-10-27 07:24:17 +00:00 |
Steve
|
705a2cebe9
|
Removed Fighter struct and replaced with Entity.
|
2015-10-26 19:16:12 +00:00 |
Steve
|
73eb5517bf
|
Start of waypoints.
|
2015-10-26 17:27:43 +00:00 |
Steve
|
d0a3d0d6c5
|
Start of triggers.
|
2015-10-26 08:10:13 +00:00 |
Steve
|
37a0c77284
|
Updated game manual. Limited number of HUD messages. Tweaked fighters and missions.
|
2015-10-25 19:22:05 +00:00 |
Steve
|
b6da6c2ec5
|
Allow for mixed fighter groups, using 'types'
|
2015-10-25 12:56:24 +00:00 |
Steve
|
b790aa5c00
|
Add green pulses for systems where everything is complete, to better aid replayability.
|
2015-10-25 09:32:32 +00:00 |
Steve
|
b5154d3ab8
|
Added ability to set mission availability dependencies.
|
2015-10-25 09:29:41 +00:00 |
Steve
|
c322cced55
|
Improved stats processing. Added pages to stats screen.
|
2015-10-25 00:01:46 +01:00 |
Steve
|
5081b011cf
|
Allow disabled fighters to be destroyed. Added more challenges and stats.
|
2015-10-24 16:00:06 +01:00 |
Steve
|
a21153cb12
|
Further missile tweaks. Added launch sound effect.
|
2015-10-24 14:52:55 +01:00 |
Steve
|
05860ed8ca
|
Tweaks to missile behaviour, to increase accuracy.
|
2015-10-24 13:43:09 +01:00 |
Steve
|
5b7410dc1f
|
Added mission target flag, Pirate Uprising 03, and scatter radius for fighter groups, to prevent battles initially being too chaotic.
|
2015-10-24 08:51:43 +01:00 |
Steve
|
67d92cedb9
|
Added ability to flag fighters and prevent team mates from killing mission targets.
|
2015-10-23 22:44:39 +01:00 |
Steve
|
f206f2052b
|
Allow for switching of weapons. Show weapon info on hud.
|
2015-10-23 07:08:18 +01:00 |
Steve
|
204055ea72
|
Added objective target types, and conditional objectives.
|
2015-10-22 07:08:03 +01:00 |
Steve
|
a8a5d507fb
|
Added mag cannons and Ray.
|
2015-10-21 19:21:45 +01:00 |
Steve
|
10c72dc5fd
|
Updated version info.
|
2015-10-20 18:13:54 +01:00 |
Steve
|
daf69096b4
|
Show indicator arrow for star systems with available missions.
|
2015-10-20 17:20:55 +01:00 |
Steve
|
834e03c531
|
Continue is default widget on title if save file exists.
|
2015-10-20 13:45:28 +01:00 |
Steve
|
eaea32c934
|
Galactic map bug fixes.
|
2015-10-20 13:13:09 +01:00 |
Steve
|
24bf15ce09
|
Initial check in to GitHub.
|
2015-10-20 12:51:49 +01:00 |