| 1 |
Future |
| 2 |
====== |
| 3 |
|
| 4 |
mode is not initialized in dinkvar.h. |
| 5 |
It is, I think, first initialized in dink.cpp in doInit(). |
| 6 |
process_line() from dinkvar.h also set its value. |
| 7 |
|
| 8 |
|
| 9 |
At a point, mode needs to be properly initialized somewhere, to avoid |
| 10 |
"duplicating" the variable in each object file that uses it. |
| 11 |
|
| 12 |
|
| 13 |
When sprites are disabled for N minutes with editor_type(), the 'N |
| 14 |
minutes' are computed with the value SDL_GetTicks() the last time you |
| 15 |
entered the screen. This can be a problem: |
| 16 |
|
| 17 |
- Generally: the last_time per-screen value is reset each time the |
| 18 |
screen is loaded. This means that if you enter a screen once every 5 |
| 19 |
minutes, the counter will always be reset, and you'll never see |
| 20 |
enemies reappearing. This is more complex to fix, as it probably |
| 21 |
requires altering the savegame format. |
| 22 |
|
| 23 |
- SDL-specific: if you quit and restart the game, then SDL_GetTicks is |
| 24 |
reset. In the woe version, you needed to reboot the computer (not |
| 25 |
the game) to get the same effect. So maybe we can check if N minutes |
| 26 |
passed using a timestamp instead. |
| 27 |
|
| 28 |
|
| 29 |
Warn if a savegame appears to be v1.08 while running in v1.07 mode. |
| 30 |
|
| 31 |
|
| 32 |
Also check existing_bugs.txt. |
| 33 |
|
| 34 |
|
| 35 |
i18n |
| 36 |
==== |
| 37 |
|
| 38 |
[ ] Use a relocatable LOCALEDIR |
| 39 |
|
| 40 |
[ ] Fall back to main Dink .mo if no translations are found |
| 41 |
|
| 42 |
[ ] Try to open files from l10n/LOCALE/ in case the translation is |
| 43 |
providing a graphic or script replacement |
| 44 |
|
| 45 |
[ ] Have DFArc look at l10n/LOCALE/dmod.diz if available |
| 46 |
=> No, rather add dmod.diz to the .pot file, so translators have |
| 47 |
as much text as possible in their .po file. |
| 48 |
|
| 49 |
[ ] Unbreakable spaces are displayed with a square. This breaks the |
| 50 |
use of unbreakable spaces in front of punctuation in translations |
| 51 |
(e.g. for French '!'). This is a problem in either Liberation-Sans |
| 52 |
or SDL_ttf. OOo can display correct unbreakable spaces with |
| 53 |
Liberation-Sans though. |
| 54 |
|
| 55 |
|
| 56 |
SDL 2.0 |
| 57 |
======= |
| 58 |
|
| 59 |
As of 2014-06, what was done - and hence what needs testing ;) |
| 60 |
|
| 61 |
- New SDL2 dependencies |
| 62 |
|
| 63 |
- Graphics processing currently entirely moved to software. This |
| 64 |
doesn't change much from before, since hardware surfaces aren't well |
| 65 |
supported these days. Performances are worse than with SDL1 still, |
| 66 |
due to emphasizing targetting a 3D card, but let's first find a |
| 67 |
platform where that's a problem. |
| 68 |
|
| 69 |
We need palette support on the final display to support dynamic |
| 70 |
palette change in "Lyna's Story" (semi-complete palette inversion) |
| 71 |
and "Cycles of Evil" (change of colours to match seasons, seems |
| 72 |
manual and more complex to reproduce than a simple color |
| 73 |
modulation). |
| 74 |
|
| 75 |
We also need palette processing (dithering/conversion, which I |
| 76 |
updated for SDL2) for color correctness in non-truecolor mode - but |
| 77 |
that can be done at graphics loading time, before a hardware upload. |
| 78 |
That could be necessary to get the same white pixels during |
| 79 |
fade_down() (which targets #FFFFFF precisely). |
| 80 |
|
| 81 |
Last fill_screen() relies on propoer palette loading with |
| 82 |
reproduction of DX bugs. |
| 83 |
|
| 84 |
Just recap'ing doc/palettes.txt... |
| 85 |
|
| 86 |
- Replaced custom relative mouse motion handling with SDL's |
| 87 |
|
| 88 |
- Replaced 'failsafe' SDL window with SDL_ShowSimpleMessageBox() |
| 89 |
|
| 90 |
- Text input (DinkC Console and FreeDinkEdit) now uses SDL_TextInput |
| 91 |
events |
| 92 |
|
| 93 |
- Updated full-screen toggling (FreeDink and FreeDinkedit) |
| 94 |
|
| 95 |
- Updated joystick |
| 96 |
|
| 97 |
- CD-ROM disabled |
| 98 |
|
| 99 |
- Cleaned-up some 'abort_this_flip' due to not having |
| 100 |
SDL_SetPalette(PHYS) triggering a flip anymore (since we had to |
| 101 |
reimplement it..) |
| 102 |
|
| 103 |
|
| 104 |
Bug reports |
| 105 |
================== |
| 106 |
|
| 107 |
- http://www.dinknetwork.com/forum.cgi?MID=189539#189539 |
| 108 |
|
| 109 |
Seems related to keycodes |
| 110 |
|
| 111 |
- http://www.dinknetwork.com/forum.cgi?MID=189334#189334 |
| 112 |
http://www.dinknetwork.com/forum.cgi?MID=189024#189182 |
| 113 |
|
| 114 |
GOKUSSJ6 reports 64-bit-specific incompatibility with MIDI |
| 115 |
soundfonts, but yeoldetoast seems to disagree. |
| 116 |
|
| 117 |
- http://www.dinknetwork.com/forum.cgi?MID=191266#191266 |
| 118 |
http://www.dinknetwork.com/forum.cgi?MID=189801#189801 |
| 119 |
|
| 120 |
Reports of font aspect/load issues. |
| 121 |
|
| 122 |
- The screen fade is too fast when compared to dink108.exe |
| 123 |
(tested with Wine) |