mercenary-reloaded.git
6 years agoFix interpolation of objects
Andreas Eversberg [Sat, 14 Apr 2018 06:36:35 +0000 (08:36 +0200)]
Fix interpolation of objects

6 years agoCross compile with MinGW-W64
Andreas Eversberg [Sat, 7 Apr 2018 11:32:23 +0000 (13:32 +0200)]
Cross compile with MinGW-W64

6 years agoDefault: OpenGL rendering and fast game speed
Andreas Eversberg [Sat, 14 Apr 2018 04:51:45 +0000 (06:51 +0200)]
Default: OpenGL rendering and fast game speed

6 years agoMake coordinates of planets and comet's tail interpolate between captures
Andreas Eversberg [Tue, 10 Apr 2018 18:29:23 +0000 (20:29 +0200)]
Make coordinates of planets and comet's tail interpolate between captures

6 years agoKeep sync between landing sequence time and Benson text while landing
Andreas Eversberg [Fri, 6 Apr 2018 14:21:53 +0000 (16:21 +0200)]
Keep sync between landing sequence time and Benson text while landing

6 years agoFix game save directory warning on win32
Andreas Eversberg [Fri, 6 Apr 2018 13:44:27 +0000 (15:44 +0200)]
Fix game save directory warning on win32

6 years agoMake non-SDL code indipendent from SDL, fix keyboard issues
Andreas Eversberg [Fri, 6 Apr 2018 13:42:05 +0000 (15:42 +0200)]
Make non-SDL code indipendent from SDL, fix keyboard issues

6 years agoFix rendering buffer handling
Andreas Eversberg [Thu, 5 Apr 2018 16:58:44 +0000 (18:58 +0200)]
Fix rendering buffer handling

- clear_screen clears the entire screen now, since obsolete back-buffer-copy
  has been removed.
- If no OpenGL rendering is available (yet), fallback to legacy image.
  This avoids flicker when switching to OpenGL rendering.

6 years agoIgnore OpenGL VBLANK setting, if fail
Andreas Eversberg [Thu, 5 Apr 2018 15:58:22 +0000 (17:58 +0200)]
Ignore OpenGL VBLANK setting, if fail

6 years agoFixing audio interrupt handling (unknown if it works)
Andreas Eversberg [Wed, 4 Apr 2018 16:52:42 +0000 (18:52 +0200)]
Fixing audio interrupt handling (unknown if it works)

6 years agoAdd MessageBox error output on Windows
Andreas Eversberg [Tue, 3 Apr 2018 15:57:05 +0000 (17:57 +0200)]
Add MessageBox error output on Windows

6 years agoAdd function to skip intro during emulation or at startup
Andreas Eversberg [Mon, 2 Apr 2018 17:29:00 +0000 (19:29 +0200)]
Add function to skip intro during emulation or at startup

6 years agoAdd On screen display and help screen
Andreas Eversberg [Sun, 1 Apr 2018 12:12:04 +0000 (14:12 +0200)]
Add On screen display and help screen

6 years agoMotion interpolation
Andreas Eversberg [Sat, 31 Mar 2018 10:35:53 +0000 (12:35 +0200)]
Motion interpolation

6 years agoCapture visual info into a structure before rendering
Andreas Eversberg [Fri, 30 Mar 2018 10:04:40 +0000 (12:04 +0200)]
Capture visual info into a structure before rendering

This is required to interpolate between two frames of the game, later...

6 years agoAdd code to measure frame rate; required when we want to interpolate motion
Andreas Eversberg [Tue, 27 Mar 2018 15:45:56 +0000 (17:45 +0200)]
Add code to measure frame rate; required when we want to interpolate motion

6 years agoMinor fix in control key handling
Andreas Eversberg [Sun, 25 Mar 2018 12:42:01 +0000 (14:42 +0200)]
Minor fix in control key handling

6 years agoRender game graphics using OpenGL
Andreas Eversberg [Sat, 17 Mar 2018 18:41:15 +0000 (19:41 +0100)]
Render game graphics using OpenGL

6 years agoSkip intro on Damocles
Andreas Eversberg [Sat, 24 Mar 2018 15:21:39 +0000 (16:21 +0100)]
Skip intro on Damocles

6 years agoImproved "stop events" by using an event ID for every byte of memory.
Andreas Eversberg [Sat, 10 Mar 2018 21:16:16 +0000 (22:16 +0100)]
Improved "stop events" by using an event ID for every byte of memory.

Instead of hunting the list of all events for every CPU instruction,
we just check if the event ID of the current PC is set.

6 years agoPrepare renering for improving game with OpenGL
Andreas Eversberg [Thu, 8 Mar 2018 17:13:56 +0000 (18:13 +0100)]
Prepare renering for improving game with OpenGL

A switch (command line and keyboard) can be used to toggle rendering.
A special swith (-o) can be used to render both legacy and improved
view top/bottom. This way it is easier to debug the expected result.

6 years agoMake audio buffer stereo
Andreas Eversberg [Sun, 25 Mar 2018 12:15:08 +0000 (14:15 +0200)]
Make audio buffer stereo

6 years agoReplace printf/fprintf with own print_info() / print_error() using SDL_log
Andreas Eversberg [Thu, 22 Mar 2018 16:31:59 +0000 (17:31 +0100)]
Replace printf/fprintf with own print_info() / print_error() using SDL_log

6 years agoHandle problems with opening audio device
Andreas Eversberg [Sun, 18 Mar 2018 17:44:10 +0000 (18:44 +0100)]
Handle problems with opening audio device

6 years agoGame save names changed to x.m3save or x.m2save, where x is the save number
Andreas Eversberg [Sat, 17 Mar 2018 18:36:08 +0000 (19:36 +0100)]
Game save names changed to x.m3save or x.m2save, where x is the save number

6 years agoGame's save state is stored at current directory under windows
Andreas Eversberg [Thu, 8 Mar 2018 17:04:21 +0000 (18:04 +0100)]
Game's save state is stored at current directory under windows

6 years agoRemove circular dependencies between libs, use callback function pointers instead
Andreas Eversberg [Wed, 7 Mar 2018 17:55:57 +0000 (18:55 +0100)]
Remove circular dependencies between libs, use callback function pointers instead

6 years agoFixes in configure.ac
Andreas Eversberg [Wed, 7 Mar 2018 17:20:29 +0000 (18:20 +0100)]
Fixes in configure.ac

6 years agoCode does not depend on endian.h anymore (own implementation)
Andreas Eversberg [Wed, 7 Mar 2018 17:16:28 +0000 (18:16 +0100)]
Code does not depend on endian.h anymore (own implementation)

6 years agoUse double pixel size to render amiga video (2x2)
Andreas Eversberg [Tue, 6 Mar 2018 17:56:38 +0000 (18:56 +0100)]
Use double pixel size to render amiga video (2x2)

6 years agoTurn VBL break point list into a structure to make game stop at various events
Andreas Eversberg [Sun, 4 Mar 2018 17:23:03 +0000 (18:23 +0100)]
Turn VBL break point list into a structure to make game stop at various events

Not only make the CPU execution stop when the game needs to wait for VBL.
But also other events, used to improve the game, like replacing rendering
routines by OpenGL.

6 years agoM2: Removed obsolete function
Andreas Eversberg [Sun, 4 Mar 2018 16:58:21 +0000 (17:58 +0100)]
M2: Removed obsolete function

6 years agoAdd command line options
Andreas Eversberg [Sat, 3 Mar 2018 21:43:52 +0000 (22:43 +0100)]
Add command line options

6 years agoFix special CTRL hotkeys
Andreas Eversberg [Sat, 3 Mar 2018 19:56:04 +0000 (20:56 +0100)]
Fix special CTRL hotkeys

6 years agoGive warning at configure.ac, if SDL/GLEW is not available
Andreas Eversberg [Sat, 3 Mar 2018 19:55:31 +0000 (20:55 +0100)]
Give warning at configure.ac, if SDL/GLEW is not available

6 years agoAdd quick readme
Andreas Eversberg [Sat, 3 Mar 2018 15:16:17 +0000 (16:16 +0100)]
Add quick readme

6 years agoFirst beta version 1.0
Andreas Eversberg [Sat, 24 Feb 2018 13:44:53 +0000 (14:44 +0100)]
First beta version 1.0

Not everything was tested of course!

Mercenary 2: Also Eris has brown color, if viewed from the dark side.