48 Commits

Author SHA1 Message Date
0e6e96b309 Replace JPG library usage with SDL2_image functions and completely remove the library 2023-11-01 14:12:59 +00:00
2fe7d53d69 build: meson: linux: Initial support
(cherry picked from commit 5a9e78a3be)

Note: Support for building on windows or mac was (probably) broken while cherry-picking

Signed-off-by: Thibault Lemaire <thibault.lemaire@protonmail.com>
2023-10-07 18:24:50 +02:00
f8de1b65e9 feat: build: Add sanitizers option 2023-09-22 17:07:37 +02:00
4a6d65cdec ARM64 fixes 2023-09-04 00:49:45 +02:00
ebc25c2a09 nix: parallel build
1m53s on an AMD FX(tm)-6300 Six-Core Processor (x3.25)
2023-06-09 18:52:32 +02:00
cce4f04f15 Match build version with release version
Finally I've found where it is.
2019-08-27 23:05:25 +02:00
17006db420 Revert "Reverse --disable-linuxfixme"
This reverts commit f551351c12.
2019-03-17 00:45:41 +01:00
25455aa007 Fix WARNING: unrecognized options: --disable-generic-etg 2019-03-16 10:40:07 +01:00
7fd18b8310 Fix typo in generic etg config option 2019-03-15 16:34:55 +01:00
c99125f9e4 Use explicit yes/no options in configure.ac 2019-03-15 16:07:12 +01:00
f551351c12 Reverse --disable-linuxfixme
making linuxfixme disabled by default. On x86_64 the game is more
unstable with those workarounds than without. Although I acknowledge
the fact that the code marked 'fixme' needs attention, and that's why
I'm not removing the #if's altogether.
2019-03-15 14:40:09 +01:00
0f26a882b6 Reverse --enable-generic-etg flag
The generic code is the only way to have a working game on x86_64.
I believe it to be more maintainable anyway, so I don't see why this
would be an option.
2019-03-15 12:14:06 +01:00
1046805352 Reverse --enable-x86_64 flag
Nowadays most machines are 64b, so it makes more sense for it to be
enabled by default
2019-03-15 12:03:25 +01:00
93f8651735 migration to the SDL2 API 2017-12-30 17:42:33 -05:00
6611e69276 compile mingw-win32 2015-01-15 00:42:38 +03:00
b77c590f75 fix gcc key compile '-lm' 2015-01-08 00:16:26 +03:00
96907efb42 Explicitly link to libm when compiling network code
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@910 026c9d8a-83c9-0310-a9c7-971d0a006279
2012-07-14 16:40:39 +00:00
5f472889bb Remove deprecated avcodec_init()
Replace deprecated av_open_input_file with avformat_open_input


git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@909 026c9d8a-83c9-0310-a9c7-971d0a006279
2012-07-14 16:37:01 +00:00
a342639d4d Drop SDL_gles and use EGL directly
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@900 026c9d8a-83c9-0310-a9c7-971d0a006279
2011-04-10 16:37:58 +00:00
32060f765f Initial OpenGL ES support
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@895 026c9d8a-83c9-0310-a9c7-971d0a006279
2011-04-03 05:31:10 +00:00
905b0bcc62 Fix for new jpeg Libs for Linux.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@740 026c9d8a-83c9-0310-a9c7-971d0a006279
2010-09-13 11:31:10 +00:00
d7bd823254 Changes to use the latest ffmpeg for movie playback.
Code still nasty but seems to work. Please let me know if it works or if it fails at the usual place.

I'll update when I have time.



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@693 026c9d8a-83c9-0310-a9c7-971d0a006279
2009-12-26 21:14:12 +00:00
8419e7c95c Add ARM support to Homeworld
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@682 026c9d8a-83c9-0310-a9c7-971d0a006279
2009-04-26 20:52:42 +00:00
cc28fbfde1 Implement CPU agnostic etgFunctionCall
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@680 026c9d8a-83c9-0310-a9c7-971d0a006279
2009-04-25 14:22:40 +00:00
51efeec561 * Makefile changes to pass "make distcheck"
* N.B. : make distcheck allow us to create source packages, this could make binary releases easier to do



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@673 026c9d8a-83c9-0310-a9c7-971d0a006279
2008-09-26 10:10:11 +00:00
d736bf56bc Changes to configure and Makefile templates.
Tested for x86 and seems okay. will test for x86_64
after commit.

Next commit will be the start of the .c files but there
is a non-trivial ammount of changes to include.......

Probably be about 2 days for the next commit.
Please test and let me know what/if anything seems broken.

Aunxx.




git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@660 026c9d8a-83c9-0310-a9c7-971d0a006279
2008-09-22 14:39:46 +00:00
92d602813c new sound code
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@655 026c9d8a-83c9-0310-a9c7-971d0a006279
2008-07-22 08:07:28 +00:00
ccf7d34a7a Cleanup of last Makefile.am
Configure now aborts if yacc, lex or gcc is not present



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@618 026c9d8a-83c9-0310-a9c7-971d0a006279
2007-07-11 20:07:53 +00:00
d1561351bb Network Stack now manage TCP clients that disconnect
Rework of configure process :
- configure.in moved to configure.ac
- cleaning of configure.ac options
- testing of the avcodec, avformat and SDL_net libraries and headers
- cleaning of src/Makefile.am and tools/kas2c/Makefile.am
- new bootstrap script which only need configure.ac and automates configuration using "autoreconf -i" command

Cleaning of others Makefile.am on his way



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@616 026c9d8a-83c9-0310-a9c7-971d0a006279
2007-07-08 17:34:22 +00:00
2c4bb7efb2 remembered Linux/stuff/configure.in... after the fact...
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@605 026c9d8a-83c9-0310-a9c7-971d0a006279
2007-05-04 04:29:13 +00:00
9034db1a05 Add of a first Network Stack
In Lan Game people can :
- See each other in the hall
- Create a game which will be seen by people present in the hall

The core of the Network Interface is developped in NetworkInterface.h/.c
and is used by the game trough the calls defined in TitanInterfaceC.c/.h

I have also corrected some changes that aunxx had made in the HWEnqueue
and HWDequeue functions to make same gcc4 compliant

Various minimal change have been made in MultiplayerLANGame.c and TitanNet.c
to enable the network



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@557 026c9d8a-83c9-0310-a9c7-971d0a006279
2007-03-22 17:32:42 +00:00
7aae3963d4 Removed +=, which is not part of Bourne shell syntax.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@489 026c9d8a-83c9-0310-a9c7-971d0a006279
2007-02-04 14:43:47 +00:00
e078769311 Commit of the changes to the code to allow playing of the movies.
This needs enabling to be active as it is still under development. see:
http://homesource.nekomimicon.net/sourceforum/viewtopic.php?t=161




git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@437 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-21 09:26:06 +00:00
987db4556e enables win32fixme when on win32
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@436 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-20 20:54:07 +00:00
3820366a81 Little correction to make comments correspond to --disable-linuxfixme option in configure.in
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@416 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-12 22:49:47 +00:00
f0619f90e0 Changes so the configure script now correctly configures
all three builds, game, raiders and demo.
Configure defualt config option to build a linuxfixme
build with a disable-linuxfixme option to switch it off.




git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@405 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-11 09:50:55 +00:00
e30348e16a Added option to define either Raiders or release game
Arrgh! electric is about to go offfff......



git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@386 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-09 11:59:32 +00:00
8ee2d54849 HW_Debug -> HW_BUILD_FOR_DEBUGGING
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@384 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-09 00:18:32 +00:00
4ca88fc6c5 HW_Release -> HW_BUILD_FOR_DISTRIBUTION
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@383 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-08 23:48:16 +00:00
6048080919 AS_HELP_STRING([--enable-linuxfixme],
if major buggy (on linux) code exists, enable for a temporary workaround

git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@373 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-12-06 06:11:23 +00:00
9ee3226475 Bits and pieces missed from r320 due to commit from /src, not /.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@329 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-26 13:12:43 +00:00
6667469274 Moving src/Game/CRC32.* to src/ThirdParty/CRC
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@317 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-25 12:08:21 +00:00
0952256925 Moving the LZSS and associated BitIO code to src/ThirdParty.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@315 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-25 01:11:59 +00:00
a13129c468 Cleaning up some missed references to the unused HW_Interim build type.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@310 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-24 22:34:26 +00:00
4dcd16f854 Removing references to unused HW_Interim build mode.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@305 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-23 23:00:28 +00:00
724b553b6b Changes configure.in to know about the new location of the JPG code.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@297 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-22 22:52:42 +00:00
1009d9f276 Moved /config to /Linux.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@288 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-11-20 00:37:57 +00:00
3e41f00073 Linux setup files moved to Linux directory. INSTALL document updated.
git-svn-id: svn://www.homeworldsdl.org:3692/homeworldsdl/homeworld/trunk@192 026c9d8a-83c9-0310-a9c7-971d0a006279
2006-10-11 22:13:31 +00:00