Commit Graph

1690 Commits

Author SHA1 Message Date
Steve 118b99ccf6 Format with clang. 2022-07-31 10:43:20 +01:00
Steve 5e82c957cd Moved #includes, #defines, enums into c files, from h files. 2022-07-30 16:10:02 +01:00
Steve fc09a7d598 Set trophyId array size to MAX_NAME_LENGTH * 2. 2021-12-06 21:44:12 +00:00
Stephen J Sweeney 7023a48723
Merge pull request #55 from oglinuk/develop-trophyId-fix
`tophyId` fix
2021-12-06 21:41:23 +00:00
oglinuk 793b1b95a8 `trophyId` fix
When compiling, it would throw `src/game/trophies.c:455:32: error: ‘%s’
directive writing up to 31 bytes into a region of size 23`. Fixed by
adding 9 to `MAX_NAME_LENGTH` to account for "CAMPAIGN_".
2021-12-06 12:25:54 -08:00
Stephen J Sweeney 40cb97049c
Merge pull request #54 from smcameron/develop
Prevent readFile from returning uninitialized pointer on fopen() failure.
2021-10-01 07:36:26 +01:00
Stephen M. Cameron 2d3856d3ad Prevent readFile from returning uninitialized pointer on fopen() failure.
Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
2021-10-01 02:24:07 -04:00
Steve ef46a97a67 Minor text rendering code tweaks. 2021-05-01 16:00:35 +01:00
Steve 786df47e09 Misc. tidying. 2021-05-01 13:35:52 +01:00
Steve 732a86aefd Use indexed array for text glyphs, instead of hashmap. 2021-05-01 13:35:33 +01:00
Steve 69c2fdf680 Source tidying. 2021-05-01 13:32:57 +01:00
Steve b145541ed4 Only use mags against Pandoran tugs. 2021-03-06 07:59:57 +00:00
Steve 6b89d7e8e7 Tidy #defines 2020-03-28 13:56:49 +00:00
Steve 7e14550cc1 Revert to while loop for nextCharacter() 2020-03-28 13:52:17 +00:00
Steve f3bb77ca81 Use Arial as default font. 2020-03-28 13:51:53 +00:00
Steve 10eca1eb60 Releases are now stable. 2020-01-22 07:27:46 +00:00
Steve a7a3cdb567 Small unicode optimization. 2020-01-22 07:27:35 +00:00
Steve 82af33d075 Windows make file update. 2019-11-22 07:30:03 +00:00
Steve 3329d1375a Trim all whitespace. 2019-11-07 08:13:57 +00:00
Steve 98274ffa34 Slightly modified UTF-8 handling. Based on http://man7.org/linux/man-pages/man7/utf-8.7.html. 2019-11-06 19:18:03 +00:00
Steve cbd7425a31 Stale bot config. 2019-10-23 18:43:30 +01:00
Steve ca36f8163b Typo fix. 2019-10-23 18:43:19 +01:00
Steve f7d1d3dadb Compile fixes. 2019-10-22 18:48:11 +01:00
Steve 85507506f9 Updated credits. 2019-10-22 18:47:55 +01:00
Steve 0e1b412bd4 README update. 2019-10-22 18:47:08 +01:00
Stephen J Sweeney 19ab4c72be
Merge pull request #51 from oriolhub/patch-1
Update ca.po
2019-10-22 17:55:47 +01:00
oriolhub 6ec06b3c5e
Update ca.po 2019-10-22 13:02:23 +02:00
Stephen J Sweeney 89190cde92
Update README.md 2019-08-17 17:27:44 +01:00
Steve 6430217bcb Decreased file size of atlas image. 2019-04-08 11:37:22 +01:00
Steve 5f6c872075 Bit of tidying. 2019-04-08 11:35:44 +01:00
Steve eb5fbb8824 Use all available threads to compile. 2019-04-08 11:34:06 +01:00
Steve 02bea0492a Only award Revenge trophy if epic battle. 2019-04-08 11:33:52 +01:00
Steve c453074778 Slightly increase remainder resolution. 2019-04-08 11:33:38 +01:00
Steve 43b9e9ff32 Readme format update. 2019-01-16 08:30:16 +00:00
Steve 44c7f6c372 New close button. 2019-01-16 08:30:08 +00:00
Steve 4887fd2a6c Don't retain highlighted widget. 2019-01-16 08:30:01 +00:00
Steve d8aa7f70f2 Updated copyright. 2019-01-01 16:14:11 +00:00
Steve db10231eeb Fixed credits memory leak. 2019-01-01 16:10:28 +00:00
Steve d4f4fdb0c8 Darken screen correctly on challenge home. 2018-12-31 16:46:44 +00:00
Steve 5f15797043 Move planet slightly faster than background. 2018-12-31 16:46:13 +00:00
Steve 8dfaefd992 Removed redundant color parameters. 2018-12-23 15:52:38 +00:00
Steve 38ca6c24fe Use pre-calculated UI offset values. 2018-12-22 15:07:55 +00:00
Steve cc4829a3a6 Draw dark overlay on main screen. 2018-12-21 07:27:47 +00:00
Steve 0ef2cda22e v1.5.1 2018-12-21 07:27:28 +00:00
Steve 7528ec9fac Added note about -size argument. 2018-12-18 07:33:15 +00:00
Steve e968d24d7e Merge branch 'develop' into resolution 2018-12-17 18:04:39 +00:00
Steve 2981fde2ec Apply resolution and fullscreen changes immediately. 2018-12-17 18:04:23 +00:00
Steve 9b049e2828 Grammar fixes. 2018-12-17 08:31:27 +00:00
Steve 975ece4796 Also render UI at chosen resolution. 2018-12-17 08:30:47 +00:00
Steve 3739ef4a42 Merge branch 'develop' into resolution 2018-12-17 07:28:13 +00:00